Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

List Collector Variable on Catalog Item only show sys_id

Edxavier Robert
Mega Sage

Hi all, 

I have a catalog item with a list collector variable. The list collector is a reference field to the sys_user_group table. My issue I am trying to get the responses on an email notification but it's only returning the sys_id of the groups. How I can get the Display Value or the actual name of the group in the email notification? I am using the flow designer to send the notification.  

find_real_file.png

1 ACCEPTED SOLUTION

Edxavier Robert
Mega Sage

Hi @Muhammad Khan and@Mohith Devatte ,

Thank both for your responses, but I was unable to find a solution using flow designer so I end it up using the notification outside flow designer. I create a notification and I called the variable for the list collector.

 

View solution in original post

24 REPLIES 24

Muhammad Khan
Mega Sage

Hi  Edxavier,

 

I believe that you are using Get Catalog Variables Action to have your variables as Data Pills. If this is the case then follow below steps;

  1. Create a Flow Variable of type string
  2. Use Set Flow Variables to set the DisplayValue of sys_ids you have.
  3. Use that flow variable in the body of your email.

If you have not used Get Catalog Variables then you have to use that Action as a 1st Step.

For reference see the below images;

find_real_file.png

find_real_file.pngfind_real_file.png

 

Hopefully, this will resolve your query.

Hi @Muhammad Khan

Thanks for your response but I am not getting any variable to select.

find_real_file.png find_real_file.png

 

 

It will be under Flow Variables  at the top

find_real_file.png

Hi @Muhammad Khan

I tried but I am unable to activate the flow, I am getting an error message

find_real_file.png

Edxavier Robert
Mega Sage

Hi @Muhammad Khan and@Mohith Devatte ,

Thank both for your responses, but I was unable to find a solution using flow designer so I end it up using the notification outside flow designer. I create a notification and I called the variable for the list collector.