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

J Siva
Tera Sage

Hi @Hari S1 

1. Store the group name/sys id in the system property.

2. Create custom action to retrieve the system property.

3. Look up group record by using the output of the custom action or you can directly write a field script in the look up action to fetch group record.

4. Pass the previously fetched group record to the Ask for approval action 

 

Hope this helps.

Regards,

Siva

Medi C
Giga Sage

Hi @Hari S1,

 

Is the property and the flow on the same scope? If the property is not in the global scope. Could you please use the full name of the property including the scope name:

MediC_0-1741744918611.png


And please store the group sys_id in the property instead.

 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

Chaitanya ILCR
Kilo Patron

Hi @Hari S1 ,

Add one more lookup record action. this time to lookup the group record. and use that action's data pill to select the group on ask for approval 

ChaitanyaILCR_0-1741745117922.png

ChaitanyaILCR_1-1741745236197.png

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Hi @Chaitanya ILCR ,

 

I tried the same, but the group is not attached to the approval. Are any modifications required? Please see the attached images below

 

System property:

HariS1_0-1741759042175.png


Flow designer:

1. 

HariS1_1-1741759109101.png

 

2. 

HariS1_2-1741759132497.png

 

3. 

HariS1_3-1741759202541.png

 

4. 

HariS1_4-1741759266852.png


Note: I am getting an error with Action 2 when using 'Lookup Record,' so I used 'Lookup Records' instead.

 

Thanks