How to get request item variable value into flow design email template

BanuMahalakshmi
Tera Contributor

Hi,

 

Pls guide to get request item variable value into flow design email template. Thanks.

1 ACCEPTED SOLUTION

@BanuMahalakshmi 

 

You are not using it the right way. You can make a flow variable to collect accountname and then make use of set flow variables action to set the value using the script. This way, you can make use of accountname variable directly in your notification. Refer below snips :

AmitVerma_0-1726138297647.png

AmitVerma_1-1726138325520.png

 

AmitVerma_2-1726138396086.png

 


Please mark this response as correct and helpful if it assisted you with your question.

View solution in original post

4 REPLIES 4

saivishwaja val
Tera Contributor

saivishwajaval_0-1726136488486.png

 

You can write script in email body

Highlighted part show how variables are accessed via script

 Thanks for reply. i have used scripting option into Send email. But i am unable to print request item variable value with description like (
var accountname = fd_data.trigger.request_item.variables.account.getDisplayValue();
return accountname;
Your account accountname, has been placed into the CyberArk password vault. The password for this account is managed through and changes daily.   

Please refer to user manual:  https://abc.sharepoint.com/:w:/r/sites/SecurityEngineeringSup
)
BanuMahalakshmi_0-1726137301928.png

 

Get catalog item variable can used. But this variable is editable into request item and task form itself. so if we made changes into this variable value . the latest variable value not displaying into email. so i tried to get value from request item variable.

@BanuMahalakshmi 

 

You are not using it the right way. You can make a flow variable to collect accountname and then make use of set flow variables action to set the value using the script. This way, you can make use of accountname variable directly in your notification. Refer below snips :

AmitVerma_0-1726138297647.png

AmitVerma_1-1726138325520.png

 

AmitVerma_2-1726138396086.png

 


Please mark this response as correct and helpful if it assisted you with your question.

Amit Verma
Kilo Patron
Kilo Patron

Hi @BanuMahalakshmi 

 

You can make use of Get Catalog Variables action to collect the catalog inputs being fed by the end user and then use them in your Send Email action.

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.