custom approval in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 01:50 AM
Hello experts,
I am creating a flow designer in which in the output variable, i have comma seperated user's sysid's example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 01:52 AM
you can use scripted approvals
check this link which uses flow variable to handle this
Scripted Approvals in Flow Designer with Flow Variables
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Deepika54 ,
The script field needs you to return a string that is created based on the syntax below. In my case, the approval will be approved or rejected if any users from that string of users will approve or reject. I'm using my flow variable and concatenate the list of sys_ids into the return string.
This is the different options available for you to use in Script.
| Approval | Script |
| Approved by any User | ApprovesAnyU[user_sys_id,user_sys_id] |
| Approved by 50% of Group | Approves50%G[group_sys_id] |
| Approved by 2 of Users or of Group | Approves2#U[user_sys_id,user_sys_id]G[group_sys_id] |
| Rejected by all Users | RejectsAllU[user_sys_id,user_sys_id] |
| Rejected by any user in Group | RejectsAnyG[group_sys_id,group_sys_id] |
| Approved or Rejected by any User | ApprovesRejectsAnyU[user_sys_id] |
| Approved by Group or Rejected by any User | ApprovesAnyG[group_sys_id]OrRejectsAnyU[user_sys_id] |
| All responded and anyone approves in Group | ApprovesResG[group_sys_id] |
Thanks,
Afrith
"If you feel this was helpful, Please mark this comment as helpful"
