- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2026 06:50 AM
Need to determine a method to add a measurement of time all SCTASKs and enhancement request that starts and ends when State is set to Pending Vendor, then moved out of Pending Vendor state.
We may need to add a hidden SLA to measure this, or determine another way.
Is there any best practices to implement this functionality?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2026 07:34 AM
you can use Metrics to capture the time spent in "Pending Vendor" state
you can refer to many OOTB metrics
OR
Another way is to use SLA
Table - sc_task
Start Condition: State [IS] Pending Vendor
Stop Condition: State [IS NOT ONE OF] Pending Vendor
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2026 07:09 AM
The only option here is to use an SLA. Create the SLA on the vendor-specific state, consider the conditions carefully, and then use it for evaluation. There’s no other way to achieve this.
Alternatively, you could create metrics, but with metrics you would need to add logic to filter records based on state transitions.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2026 07:40 AM
For metrics:
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2026 11:34 PM
I hope the metric-driven solution works for you. If you have any doubts, you can watch my video to get it done.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2026 02:55 AM
Hi Atul,
Thanks for the information. I would like to use SLA to calculate the total duration of pending vendor time.So I have created new field in catalog task table called "Pending vendor time"(duration type field) and I would like to map the value of business elapsed time(duration type field) from task sla with Pending vendor time in catalog task using flow designer.However, its not updating the value.Could anyone kindly help me with this?
Regards,
Sounder Rajan K

