Unable to Pass System Property Value to "Ask for Approval" Action in Flow Designer

Hari S1
Tera Contributor

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?

 

HariS1_0-1741740921680.png

 

HariS1_1-1741740967438.png

 

 

Thanks

22 REPLIES 22

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.

JSiva_0-1741759661717.png

 

JSiva_1-1741759697840.png

 



@Hari S1 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

I am getting the error below when I use 'Lookup Record' instead of 'Lookup Records.

HariS1_0-1741760399056.png

 

@Hari S1 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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

 

HariS1_0-1741761145159.png

 

for reference Action 1: 

 

HariS1_1-1741761273002.png

 

 

Action 2: 

HariS1_2-1741761314703.png