Flow cancelled on request being rejected

spike
Mega Sage

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!

6 REPLIES 6

MrMuhammad
Giga Sage

Hi @spike

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

Regards,
Muhammad

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.

Is there any workflow or flow attached to the request? If so then that must be driving request closure I believe.

Regards,
Muhammad

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.