set all other tasks closed incomplete if any one task is closed incomplete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 08:31 PM
Hi,
We have a requirement, where three tasks are triggering at same time and if any one of the task is closed incomplete, I need to set the remaining tasks to closed incomplete and set the RITM to closed incomplete. Do I need to include any run script in workflow or any Business Rules ?
Looking for script suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 03:01 AM
I believe I have answered your original question.
Would you mind marking my response as correct and helpful so that it benefits future readers.
The discussion on the thread can still be continued once appropriate response is marked as correct.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 05:49 AM
Hi Ankur,
Yes, it worked but as mentioned in the above message,
Why is it showing error in orange color on the workflow with cancelled Message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 08:18 AM
Hi,
that's because you updated the state from script and hence the activity got cancelled as it's of no purpose now.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader