- 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
3 weeks ago
Hi Kilo,
Check this out, it will help you.
The full details in this link : https://www.servicenow.com/community/workflow-automation-blogs/scripted-approvals-in-flow-designer-w...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Tera,
Check this out, it will help you.
The full details in this link : https://www.servicenow.com/community/workflow-automation-blogs/scripted-approvals-in-flow-designer-w...
- 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!