Need a script to update the closed field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 09:47 AM
Hi All,
Need a script to updated all the incident closed field with below criteria
Need to calculate the Resolved time and updated the Closed after 7 days and state is cancelled

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 10:01 AM
Hi there,
Can you explain your criteria a bit in more detail? For example calculate resolved time? What is there to calculate in your opinion, its just data/time stamp from when it was resolved. Update the cloned after 7 days, but its cancelled so the auto close after 7 days is a mismatch here?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field