Trigger approval in Flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 03:46 AM
Hi,
I have a requirement where the approval needs to trigger for an RITM. Currently I'm fetching the users from "support group lead" field from the group table. Now, here the condition is - When the user is Locked out. The approval should not trigger to him, and it can be approved by other users available in the group lead.
For eg: We have 3 users in support group lead. Out of which, 1 user is locked out. Now, for the request. The approval needs to trigger for other 2 users who are not locked out. How this can be achieved using flow designer.
From the below image. I'm fetching the group (s.no 2) and storing the users in flow variables (s.no 3). From s.no 20 - The users are called in the approval. But unable to filter out the locked-out users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 04:44 AM
Hi @Community Alums,
Locked out users won't be able to log in to approve and they shouldn't trigger the inbound email rule if that is how they approval is being processed (system property glide.pop3.process_locked_out controls this). Sending the email may not be the greatest user experience but it may trigger them to find out why they are locked out and get themselves sorted.
Please mark my answer correct and helpful if this works for you.
Many Thanks,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 05:21 AM
Hi @Rob Bushrod ,
Yes, Locked out can't login and approve it. That was the reason, we are planning the request should not contain the locked out user in the approval. But still we are getting those users in the approval. Is there any way in the flow designer to filter out these users?
Thanks,
Ripunjai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 08:38 AM
Hi Ripunjai,
I'm not sure. You could try creating an action where you pass in the approval group and then look up the users of that group, passing back the ones who aren't locked out and then putting those as the approvers.
Many Thanks,
Rob