Workflow activities keep getting canceled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2017 05:48 PM
I am having a peculiar issue. Some of my workflow activities keep getting cancelled for no apparent reason. Also, this does not happen all them time. Sometimes an activity proceeds other as expected and other times it gets canceled. I have tried adding a timer as someone suggested in another thread - now the timer activity is getting canceled. Not sure why activities get canceled in the first place:
- Labels:
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2017 06:04 PM
There is an OOTB Business Rule on the Task table called "Cancel Workflows Upon Cancellation". It is triggered when the State value changes to 4. Do you have something similar in your instance? Like if your "Work In Progress" State value for sc_req_item was 4, or something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2019 08:02 AM
Just to update this,
I ran into a similar issue and it looked to be related to the states. I didn't look into this BR, but found this, we updated the states to be (something other than 4), and all's good. Just for future searchers 🙂
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2017 07:07 PM
Nope, the workflow itself does not get canceled. It just cancels certain activities, skips past those activities and ends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2017 09:05 AM
Figured out the issue. The 2nd path of the workflow was ending before the first path could finish, so the activities on the first path were canceling prematurely.