Get the display value of list collector variable values selected through flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi All,
We are working on a catalog item where we have a list collector variable("additional services") getting from question_choice table . Now we need to get the values selected in the list collector into request description. When we are adding the variable it is populating with sysID's of the values selected. So now how can we get the text values using a flow designer.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @Phanideepthi ,
I have tested the below logic in my pdi and its working fine!!
In flow designer you need to write the field level script like below in -
here is the sample logic- (it returns to Description fields)
var members= fd_data._1__get_catalog_variables.group_members; var choices="";
var gr= new GlideRecord('sys_user');
gr.addEncodedQuery('sys_idIN'+members);
gr.query();
while(gr.next()){
choices=choices+" , "+gr.getDisplayValue('name');}
return choices;
If you found my response helpful, please mark it as helpful and accept it as the solution.
Thank you
Nawal Singh
