approval user in workflow getting stuck in 'running state' even after it is approved.

Anisse Mahtat
Tera Contributor

Hi,

Some of my workflows of a few SR's are getting stuck at "running state" in approval activity of the workflow. The approval activity has been approved by the approver , but still the workflow does not progress and shows running, 

I have checked the workflow context and there are no workflow   logs for the same.and in workflow executing activites- managers approval=running.

I have attached the screenshots to help better understand the scenario.

appUser.PNG

8 REPLIES 8

Allen Andreas
Administrator
Administrator

Hi,

Are you able to go to a "stuck" record and then click the "Show workflow context" UI Action (like in the related links) and see where it shows it's at?

Anyways, sometimes with the legacy workflow engine, it gets stuck because things move too fast or something glitches. What I've found to assist is to create a timer activity of just 1 second and place it where it's getting stuck.

 

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi @Allen Andreas thanks for your help, 

 

I have a ticket and you can see in the the user has approved but the second user don't appear and when i click in the Show workflow button the workflow stay at the same approval user activity. 

approv.PNG

showW.PNG

Where i have to insert the timer activity in my workflow ? 

Thanks !

4b0d3
Giga Guru

How are the approvers able to approve/reject?    I recall awhile ago having a similar issue whereby using the portal oobx approval page, it would trigger this issue, and if they used the console ui action, it would work fine.  Not sure if that's the same issue.  The delay the first replier mentioned is probably the easy way to go.   

Doubt it's having any issue that converting all the if's to a switch would fix.  Sometimes you can use wait for condition instead of a time delay.  

You could also try building this with flow designer, 1 custom flow with oobx subflows.

Hi @4b0d3  thanks for your help,

 

The approver go to his list of requested approval and approved the request or not. 

approved12.PNG

 

What do you mean by 'they used the console ui action' ? and how i can use condition for approval user ? 

Thanks !