Task short description should be same as selected vaiable dropdown

Arun61
Tera Contributor

On catalog item we have a dropdown field 
eg:-Request type
1,test1

2,test2

when user select test1 and if he submits the request task short description should be test1. we have a flow designer how can i achieved this via flow script

2 REPLIES 2

Moin Kazi
Kilo Sage
Kilo Sage

Hi @Arun61 ,

 

Do below changes in Flow Designer :

Step 1: you need to add get catalog variable action and their, all catalog variable you have move from available section to selected section. after adding this action you are able to access all catalog variables data in your flow via data pill.

 

Step 2: create catalog task action to create task via flow designer, here you can set data into task record fields

like example -

 

Short Description :  1 - get catalog variable > test1

(you can use data pill set this field info or also you can drag and drop from right side where all data pill info has been displayed)

 

That way you can update short description as test1 variable data

 

Please mark my answer as correct and helpful if it works for you.

 

Regards

Moin

anshul_goyal
Kilo Sage

Hi @Arun61 

You can use below piece of code in flow script:
fd_data.trigger.variables.<variable name>.getDisplayValue();

Edit: If you just want to get the variable value, the Get Catalog Variable action should be fine. But if you are trying to get the Display Value, then you will need to use the code I have provided above.

Please mark my solution as Helpful and Accepted, if it works for you in any way!

Thanks