How to populate task short description based on the catalog variable choice

Gagandeep
Tera Contributor

I want to populate the task short description based on the choice value of the catalog item variable in a Flow Designer. Please guide

13 REPLIES 13

Then you should use the scripting icon, and write a script that fills the short description based on the variables.

Do you need additional help on how to script your short description?

Can you give an example on how you would like it to behave?

Deepshikha 3010
Mega Guru

Hi 

Use this script in short description field 

var ritmSysId = fd_data.trigger.request_item.sys_id;

var rec = new GlideRecord('sc_req_item');
rec.get(ritmSysId);

var short_description = rec.variables.project  // your variable name ;
return short_description;
 
 
find_real_file.png
 
 
Regards
Deepshikha Pandey

AparnaSahu
Tera Guru

try this

 You can use get catalog variables action to update short description.

flow.png

If my response helped please mark it correct,

Thanks,

Aparna