in servicenow workflow when catalog task is cancelled then flow it is not moving forward.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
in servicenow workflow when catalog task is cancelled then flow it is not moving forward.
When catalog task is closed complete or closed incomplete, then only workflow is moving forward.
Like to know why the workflow is not moving forward when catalog task state is moved to cancelled.
Please help me with the reason for this behavior. an how to fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @VijayramY ,
can you please share the flow/workflow context for this? it will be helpful for debugging
Thank,
Afrith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
In your workflow task activity scroll down to bottom and look for conditions link.
click on that link, and check all conditions there, you will probably have to add state cancelled in one of the conditions.
Please mark the answer correct/helpful accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
When a catalog task is cancelled (rather than closed complete or closed incomplete), the workflow often doesn’t move forward because the workflow context is cancelled (so subsequent activities won’t run), and oob logic (e.g. the TaskStateUtil script include) checks whether a parent workflow can run forward only under allowed states (like closed complete/incomplete) and ignores cancelled states, meaning cancellation effectively halts the flow....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
OOTB Catalog Task Activity only has 1 output condition i.e Always
OOTB sc_task State field doesn't have Cancelled state choice.
Did you add that as Custom choice Cancelled on sc_task State field?
If yes then you will have to update the Catalog Task Activity Condition to ensure it moves forward based on this state also
see this blog and enhance
Workflow Catalog Task condition(s)
💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader