How to calculate old data values in a newly created metric definition.

Vibhuti Rajput
Tera Contributor

Hi All,

I have created a new metric for table change request -> field value duration -> on field state.

The metric instances are getting created correctly from the time the metric definition was created .

But our instance has changes being created from last 6 months .

How can i get their state duration so that i can report the duration correctly .

Any idea ? maybe by some background script or schedule job ?

what script to use?

1 ACCEPTED SOLUTION

Boyan1
Kilo Sage

Hello,

I have done similar tasks and I have generated the metric instances retroactively, based on the data available in sys_audit table using a script job.

 

Let me know I shall provide you a sample script.

Best regards,

Boyan

View solution in original post

5 REPLIES 5

Merzot
Tera Guru

Hi Vibhuti Rajput,

 

Did the script work for you? What did you end up using? Can you please give us an update on this.

 

Thanks,


Merzot