sys_id instead of value displayed

jean-pauldehaas
Tera Guru

Hi all,

 

i have a catalog item as follows:

variable 1: Owner of the team (reference to sys_user)

variable 2: email address (single line)

variable 3: organization (singe line)

 

Variable 2 and 3 should change when variables  1 changes, this works for both only variable 3 is displayed with the sys_id of the organization.

find_real_file.png

Catalog client script used:

 

find_real_file.png

 

what am i doing wrong here ?

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

You need to change the Organization variable to be of type Reference instead of Single line text.

View solution in original post

12 REPLIES 12

Yes. I assume on the User table as well it is Company table that Organization references to.

@jean-paul.dehaas I assume the approach you tried was changing the variable to Reference which was already proposed in the comments before & it seems you have marked other answer correct.

Unfortunately, there can be only one answer correct per thread.

 

Musab Rasheed
Tera Sage
Tera Sage

Hello @jean-paul.dehaas ,

I suggest you follow no code approach by reading below article

https://community.servicenow.com/community?id=community_article&sys_id=49deac8ddb92a010ab0202d5ca961967

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab