Add New State on Catalog Task: Workflow Not Working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2020 04:06 AM
Hello Team,
This is regarding the new state on Catalog Task table.
Issue: Have added new state choice as 'Closed Cancelled (9)' under catalog task/task table. Now, when my workflow reaches the catalog task where I have two conditions i.e. Closed Complete: activity.result == 3 & Closed Cancelled: activity.result == 9
If user mark the task as closed complete no issue workflow works and goes to next activity BUT if user mark the task as closed cancelled then workflow gets stuck and doesn't move forward.
Troubleshooting:
1. Have checked with different closure states i.e. Closed Incomplete, Closed Skipped its working as these states are defined OOTB
2. Have checked one BR i.e. SNC - Run parent workflows + associated Script Include - TaskStateUtil().canRunParentWF(current) and added the new state but it doesn't work.
ScreenShot:
1. Task state:-
2. Sample Workflow - Have created to check the conditions:-
Has anyone done these changes in your engagements. If yes, can you please provide solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2020 12:24 AM
yep, that will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2020 03:28 AM
I'm sorry Harsh. Just received Client meeting from 7-8.30 PM. Can we connect tomorrow for an hour/30 mins based on your availability. If yes, please provide your possible time for tomorrow.
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2020 03:41 AM
sure, after 10 AM IST i will be available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2020 11:40 PM
Hello
We too have the requirement to add the additional state option such as "Resolved" in the state field of "SC Task", Could you please suggest us were you able to make your workflow run for the custom choices, if so could you be kind and post the answer if you are able to find the resolution.
Any suggestions would be very greatful
i have posted the similar question "https://community.servicenow.com/community?id=community_question&sys_id=96d889f7dbf4ec10fb4ae15b8a9619f1"
Thank you!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2020 04:55 AM
Hello Tejaswini,
Have replied. Kindly have a look on the solution implemented and If my answer helped you in any way, please then mark it as Correct/helpful.