How can i restrict Change task closure until the change request state is set to scheduled?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 08:51 PM
Hi Experts,
I have to restrict change task closure if the change state until it reached to schedule.
Could you please help me with the above requirement.
Regards,
Sofiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 10:09 PM
Hello @Sofiya Perumal, you can write a BR against table: 'change_task' to achieve the same. In the When to Run section, ensure it runs on Closed and Cancelled (you can change accordingly) state; in the advanced you can write a script to do the job, something like below (please verify the Scheduled state corresponding number, I believe its -2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 10:13 PM
Hi @Sofiya Perumal ,
Configure BR on change task table like below. I have tested it, working fine.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------