Flow cancelled on request being rejected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 08:47 AM
I'm at my wits end trying to work this out.
I've created a Flow using Flow Designer. It asks for approve and when the request is rejected it should set the request item to Closed Incomplete and send an email. (Should it be approved it does a lot more after that).
I've created a Service Request that uses that Flow.
HOWEVER, when the request is rejected, the executing flow is cancelled and the request status set to Closed Complete.
I can't find what is actually doing this. Does anyone know what it might be? Is there an OOB thing that does this?
Any help and pointers would be appreciated!
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 09:06 AM
Hi
Seems like its a OOB behavior driven by business rule "cancel flow on request cancelled".
Please have a look at KB Article: Flow designer getting cancelled when an approver rejects the approval request
Please mark this helpful/correct, if applicable.
Regards,
Muhammad
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 09:17 AM
OK. I can understand that. Annoying but I get it. And I've found the rule so I can see what you're talking about.
Since I posted this I've set the same flow and SR up in my PDI. That rule is there, and enabled, but doesn't seem to kick in. The flow does all the work when the request is rejected. Odd.
What about the setting of the request to Closed Complete. I assume there must be something doing that as well? It's not the rule above so I'm assuming something else?
Thanks for your help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 10:13 AM
Is there any workflow or flow attached to the request? If so then that must be driving request closure I believe.
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 12:39 PM
The only flow that's listed is the one I created. And that's the one getting cancelled. Pretty sure it must be something else that's setting the state to Closed Complete.