
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 08:26 AM
Hi All,
The requirement is, When I am going to Close or Cancel the Change request and if change task(s) are open then close/cancel them as well.
But the important is, Change workflow should do not impact.
I have created After BR on Update. Please refer below script and validate it.
Specially the line related to workflow (gr.setWorkflow(false);). Will it stop to trigger Change workflow ?
Script:
BR:
Regards,
VIrendra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 08:48 AM
setWorkflow(false) will stop triggering any BR or workflow paused at that stage on the record
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 08:42 AM
Hi @Virendra K
Not sure what is your business use case about no impact in change workflow? You can close/cancel the change task via wf and once you close/cancel change the change cycle will be completed.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 08:48 AM
setWorkflow(false) will stop triggering any BR or workflow paused at that stage on the record
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader