Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add Pending Vendor State to RQST workflow; add measurement of time for this state

Sounderrajan K
Tera Contributor

 

Scenario: In enhancement req table when state is changed from pending vendor to WIP(or other state), we need to update the total pending vendor time field with duration between pending vendor & WIP 

 

Here I have created duration type field which will store total pending vendor time.

To achieve this I am taking difference between current date time and pending vendor start time(custom field),then the difference need to be updated as duration in pending vendor total duration type field. How can we achieve it in BR script.

0 REPLIES 0