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:08 PM - edited ‎03-11-2025 11:15 PM
Please store group sys id in the system property value field.
Currently it is Group name but in the flow you are mapping that with sys id. Also use Look Up Record in the second step instead of Look up records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2025 11:09 PM
You need to use Lookup Record and not Lookup Records as you want only 1 Record
You need to dot walk to SysId from that Lookup Record action
Then it will work
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:20 PM
Hi @Ankur Bawiskar ,
I am getting the error below when I use 'Lookup Record' instead of 'Lookup Records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2025 11:26 PM
1st lookup is on sys_property so you get the group name
2nd lookup is on sys_user_group so you can do this in filter to get the group
Name == 1st Lookup->Value
Then you can use the sysId of Group from 2nd Lookup and use in Ask for Approval
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:36 PM
Hi @Ankur Bawiskar ,
When I try to drag the sys_id from Action 2. I am unable to add it. It shows as shown below
for reference Action 1:
Action 2: