choice field value not showing in flow designer.

Nasreenfathima
Giga Expert

I have a catalog item in that i have a multiple choice variable , i need to get the value from this variable and need to show this in cmdb resource group table in environment choice field. 

How can i achieve this? Thanks in advance.

1 ACCEPTED SOLUTION

then use inline script and use if else

get the catalog variable value and compare it and return the correct choice value for that field

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

15 REPLIES 15

var env = fd_data.subflow_inputs.sh_srvc_tier;
if(env == 'sh_Production'){
return 'Production';
}
else if(env == 'sh_Acceptance'){
return'Acceptance';
}
else if(env == 'sh_Development'){
return'Development';
}
else if(env == 'sh_Test'){
return'Test';
}
 
 
I have tried,  this script