You are viewing limited content. For full access, please sign in.

Question

Question

How to find why workflow was canceled

asked on January 18, 2017

Hello,

I have a WF that has the purple boxes around most of it but most of the activities are green meaning they were completed. What I'm trying to see if how do I find out why it was canceled? The WF kicks off on its own and its not routing documents to the correct place. If I manually run the WF on the same document, it runs fine. Any help would be great. Thank you. 

0 0

Replies

replied on January 18, 2017

Hey Lucas,

It looks like you're using an 'End Workflow' activity called 'Return 3' that is ending your workflow. The purple boxes are telling you those activities ended because of that activity, not by finishing normally.

Since this looks like the end of your workflow, you probably don't actually need that 'End Workflow' activity, and when that branch of the Route ends your workflow will finish normally.

 

0 0
replied on January 18, 2017 Show version history

Interesting. I have never seen WF use the purple lines when we use an end WF activity. It makes sense what your saying though. The end WF activity is because there is another activity after that one when a document is routed correctly. 

 

Why would it not just show green? To me it seems like the WF is compleated when it hits that activity. 

0 0
replied on January 18, 2017

It's possible that the previous times you've used End Workflow you were not using inside other activities. You're not showing the entire workflow, so Kevin gave you the most likely cause for the cancellation.

As for why it goes through one branch or another when you run it by hand vs when it's started through rules, you can check the Conditions tab in the instance details to see how the conditions evaluated.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.