approval user in workflow getting stuck in 'running state' even after it is approved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 03:48 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 06:56 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 12:32 AM
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.
Where i have to insert the timer activity in my workflow ?
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 08:17 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 12:36 AM
Hi @4b0d3 thanks for your help,
The approver go to his list of requested approval and approved the request or not.
What do you mean by 'they used the console ui action' ? and how i can use condition for approval user ?
Thanks !