Learning Flow Designer: How to getDisplayValue() of a variable item in a email body?

Anish Reghu
Kilo Sage
Kilo Sage

Dear all,

The Get Catalog Variables action fetches the group name provided through the catalog item. But it only fetches it and returns the Sys_ID to the email body when I used the data pill picker to reuse the group name in the body.

find_real_file.png

Here Parsed result_child0 holds a string value which is the Sys_id of the group record.

How do I convert the sys_id to the display value of the group? As you see, I am not on the script page of the email body rather on the HTML page of the email body.

And I would like to do this without having to switch to scripting for the email body. Possible?

 

Regards,

Anish

1 ACCEPTED SOLUTION

surajp
Mega Guru
Use Lookup Record action on group table using sys_id returned from Get catalog variables. Pass the group record to email where you can use getdisplayvalue. When you don't find way to do OOTB create custom action.

View solution in original post

3 REPLIES 3

surajp
Mega Guru
Use Lookup Record action on group table using sys_id returned from Get catalog variables. Pass the group record to email where you can use getdisplayvalue. When you don't find way to do OOTB create custom action.

Hey, that should work, yes!

Will revert.

And good advice to those following the thread in the same context. AVOID CUSTOM ACTIONS whenever possible.