Ask for Approval Action Not Waiting in Flow - No Record Created in sysapproval_approver Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 07:09 PM
Hi everyone,
I'm encountering a strange issue with the "Ask for Approval" action in my flow. As shown in the attached image, the action goes through to "Completed" without actually waiting for an approval. No approval record has been created in the sysapproval_approver table either.
However, when I test the exact same flow in my dev instance, everything works as expected—the flow waits for approval, and the approval request is created.
Has anyone experienced this issue before? Any insights on why this might be happening or how to resolve it would be greatly appreciated.
Thanks in advance for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 11:27 PM - edited ‎10-17-2024 11:28 PM
Hi @TanyapongS ,
If the same flow is working fine in dev instance then the issue is likely to be with the permission who initiates the session. Probably the 'Run as' is set as 'User who initiates session' and in dev you have admin access so it ran successfully for you when you tested.
Please change the 'Run as' to 'System user' and check if it works fine. PFB SS for your reference.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2024 02:09 AM
Hi @TanyapongS
Could you please check if there is any business rule being configured on the user_has_resource_role table which might be conflicting with the approval ?
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.