in servicenow workflow when catalog task is cancelled then flow it is not moving forward.

VijayramY
Tera Contributor

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?

6 REPLIES 6

@VijayramY 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

nityabans27
Giga Sage

Hi @VijayramY,

The workflow doesn’t move forward because the Catalog Task activity doesn’t treat “Cancelled” as a completion state (it only checks for Closed Complete or Closed Incomplete).

Fix:

  • Add a “Cancelled” transition in the workflow (state == 7), or

  • Update the Catalog Task activity script to include state == 7 in its completion check.