- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2022 05:40 AM
Hi,
I have a requirement. Kindly help.
Cancelling a change requires users to have all tasks closed before the change can cancel. This creates a ton of extra work on the requestor to track these down manually and have other users close them. Add a condition to the cancel button that will cancel all tasks, in addition to approvals and the change itself. Cancel change button should cancel everything.
Regards
Suman P.
Solved! Go to Solution.
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2022 05:50 AM
Hello,
Just check if cancelling workflow will do all the things ?
var w = new Workflow();
var gr = new GlideRecord(‘wf_context’);
if (gr.get(current.context))
w.cancelContext(gr);
}
}
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2022 10:50 AM
Hello,
If you are fine with my reply, Please mark my answer as correct and close the thread.
Regards
Regards,
Musab