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-03-2020 11:27 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2020 11:34 PM
can you open the task record and right click on header >> show xml and check the state value of closed cancelled?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2020 12:05 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2020 12:09 AM
are you doing it on personal instance ? if not would it be possible for quick webex? this way it will be easy to quickly troubleshoot. please send me the zoom or webex details on below email
hvrdhn88@gmail.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2020 12:23 AM
Thank you Harsh. I'll send Google invite. Can we have a call at 7 PM IST today, if possible for you.