- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2023 11:14 AM
Is there a way to have a flow produce and error and in turn activate the error handler anytime an approval is "skipped"? The reason for this is that we have a platform with several thousand users and often people will leave a position or change to a different organization and not update their approval status. When this happens the result is an approval group with no approvers in it or an approver that no longer has the roles to render an approval decision. We have a subflow setup on the Error Handler that notifies the helpdesk anytime a flow throws an error so they can troubleshoot. We'd like this to include an invalid approver which results in a "skipped" approval state. Any help is much appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2023 11:57 AM
I have two solutions:
1. Set the delegation (whenever a user leaves or changes to another department), they should set a delegation in their profile.
2. Check the condition the workflow/flow, if the State is Skipped, create another approval for specific group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 06:32 AM
I can't find a way to check for the "approval state" anywhere. Maybe I'm missing it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2023 08:39 PM
You can create an if/then/else condition based on the state of the approval to monitor for 'skipped' state then spawn a task to the Service Desk or create an addtional notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 06:31 AM
I see two issues here, and maybe I am just not well enough versed in flow designer but:
1. I can't find an "approval state" data pill to add as a condition to the "if statement"
2. I need this fix applied for quite a few flows, so I was hoping to write a new flow that would run on a schedule and analyze all the executions from flows run the previous day on the sys_flow_context table.
Does that make sense? I hope I explained those well enough.