- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 12:47 PM
Hello,
So I have created a field on our main table with type - Reference that is referencing the metric instance table. I am then creating a script to calculate the duration of the sys_created_on date that is being retrieved from the metric_instance table and then calculating the duration in days. The script below does everything except recognizing the sys_id dynamically so that it is prefilling the days_pending field on my table. Can someone take a look and let me know what I need to change to dynamically have it recognize the sys_id please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:25 PM
Never mind, I figured it out without using the metric_instance id, below is my final code that I ended up using:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:25 PM
Never mind, I figured it out without using the metric_instance id, below is my final code that I ended up using: