Display emails instead of user names in list collector variable.

Balaram7
Kilo Sage

Hi all,

 

Please help me with the variable type  which can allow requestor  to select multiple email ids of users,

from the variable value referring to "sys_user" table.

I tried many possible from list collector, there is no luck. Please help me with the best approach to achieve this.

 

 

Thank you,

Balaram.

14 REPLIES 14

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

For Service Catalog you can only have list collector which would hold only sys_ids and not the emails.

Regards
Ankur

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

Hi Ankur,

 

Is there any best possible way to allow requestor to select multiple email id of users, by changing the field type to  another or by using any client callable script includes.

 

 

Thank you,

Balaram.

Hi,

You can have multi line text variable and users should be informed to enter every new email on new line

Then you can have onChange client script and GlideAjax to check if that email is valid whether user email is present in sys_user table or not

Regards
Ankur

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

Hi,

I would suggest to use list collector variable directly instead of doing the validations

Regards
Ankur

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

is there any possibility of displaying email id and name.

And requestor can search using both name or email, as shown below.

find_real_file.png

 

 

Thanks,

Balaram.