Supply chain contracts

jetherton
Mega Contributor

SN version: Utah. 

I'm reporting on Supply chain contracts,  I need to know what date a contract went from Draft to Active.  Start and End don't work because a contract may have started retroactively before it was actually created and approved.  I've tried approver and task updates dates. that's not right either.  State field is only one entry,  no date associated when building report.  Suggestions?

 

1 REPLY 1

Jan Spurlin
ServiceNow Employee
ServiceNow Employee

I think you need to be using metric definitions to track this.  Check out the module Metrics > Definitions.

Here is one that I think would be similar to what you want

JanSpurlin_0-1716209842365.png

 

This is from Product Docs

  • Field value duration: This type of metric measures the duration of time from when the value of the specified field is set until it is changed. A Field value duration metric can optionally specify a script. The script can either return a duration value or set the answer variable to false to stop processing the metric. For example, the baseline incident metrics stop calculating duration when the Active field of an incident is set to false. The script can also carry out any other action such as closing the duration of other metrics defined on the same record. For more information, see Sample field value duration script.

Check out this article and the link to the field value duration script

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/use/reporting/task/crea...