Unable to Pass System Property Value to "Ask for Approval" Action in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2025 05:57 PM
Hi,
I have created a system property with the name certificate.manag.group, and the value of this property contains a group name, App Engine Admins.
I have also created a flow, and in that flow, I added an action called Ask for Approval. What I am trying to achieve is to dynamically pass the group name (from the system property) into the Ask for Approval action. However, I am unable to attach the group name from the system property to the Approval Group field in the "Ask for Approval" action.
Could you please assist me the group name stored in the system property is correctly used in the flow?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2025 11:43 PM
please use script in the Ask for Approval
var approvers = fd_data._2__look_up_record.record.sys_id;
return "ApprovesRejectsAnyU["+approvers+"]"
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
‎03-11-2025 11:51 PM
1. Create sys property.
2. Flow:
3. Look up sys property
4. Look up group
5. Ask for approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2025 11:26 PM
Another simple way if you don't want to change anything.
Set group sysId instead of group name in that system property
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
‎03-11-2025 11:43 PM
Hi @Ankur Bawiskar ,
Yes, I tried changing the system property value to the group's sys_id, but the approval is still not attaching to the group name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2025 11:48 PM
I shared the working logic in my earlier post
sharing again
please use script in the Ask for Approval
var approvers = fd_data._2__look_up_record.record.sys_id;
return "ApprovesRejectsAnyU["+approvers+"]"
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