Trigger approval dynamically from a LIST type field on RITM - Flow designer

Vamshi_ch123
Tera Contributor

Hello All,

I'm trying to trigger an approval based on a custom list type field. There is a reference variable in a Catalog item (RITM), and a custom field that is also "list type" in this reference variable table. My objective is to dynamically initiate an approval based on the selected value in this reference variable.

I attempted to fetch these details in the flow approval action, but it did not work as expected.

 

Vamshi_ch123_0-1721021196395.png

var lob = fd_data.trigger.request_item.variables.lob;
if (lob && lob.u_jit_access_approvered) {
    lob.u_jit_access_approvered = lob.u_jit_access_approvered.toString();
}
return lob;
 
Thank you
1 ACCEPTED SOLUTION

Anirudh Pathak
Mega Sage

Hi @Vamshi_ch123 ,

You can use "Get Catalog Variable" Action in your flow and in "Ask for approval" choose that field to send for approval.

Please have a look at the below screenshot - 

 

AnirudhPathak_0-1721021847976.png

 

View solution in original post

2 REPLIES 2

Anirudh Pathak
Mega Sage

Hi @Vamshi_ch123 ,

You can use "Get Catalog Variable" Action in your flow and in "Ask for approval" choose that field to send for approval.

Please have a look at the below screenshot - 

 

AnirudhPathak_0-1721021847976.png

 

Hi Anirudh,

Thanks this worked