- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 04:04 AM
Hi community,
Has anyone tried to use the "scripted rules" on the Ask for approval? Because my flow won't be as simple as "take a user in a predefined field"...
I can't find what the rule is expecting 😕
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2020 06:01 AM
Thanks, We just had to learn to create subflows/actions for everything we needed to have.
I'll use Flow but I still like Workflow for its responsiveness and easiness to script... 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2020 06:35 AM
Hi David,
Have you figured out how to script for Ask for approval action to get the approvers using the script?
I have a requirement to pull the approvers from a custom table and not sure how to script in the ask for approval action.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2020 06:25 PM
In case this helps someone, I think you need to test the flow and look at the Runtime Value to determine what needs to be returned by the script. In my example below,
Here's the script I used:
When I tested this, it created sys_approval records for the users with those sys_ids.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2020 01:39 AM
Thank you, it helped!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2021 08:28 AM
how about for Groups ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 12:07 AM
For multiple groups approval, you can use multiple "Anyone approves" in an OR condition. Connected to one "Anyone rejects" containing all groups needed.
For dynamic group approvals, check runtime value of flow context of the above and script the approval condition to return a string like:
ApprovesAnyG[groupSysID1]&AnyG[groupSysID2]&AnyG[groupSysID3]OrRejectsAnyG[groupSysID3]