The CreatorCon Call for Content is officially open! Get started here.

Displaying the display value instead of sys_id for reference variables in request items

Kristian Johns3
Tera Expert

We have a catalog item that creates a request item uses two variables that refer to extended cmdb table fields. In the request item, the variables are displaying as sys_ids. Is there any way to display the display value? Setting the field's display value to true has no effect.

find_real_file.png

1 ACCEPTED SOLUTION

Kristian Johns3
Tera Expert

I found that this was actually an artifact of domain separation. When the catalog item is invoked from the global domain, the display value is not displayed, only the sys_id is displayed. When the catalog item is invoked from a top level domain, the reference fields display the display value as expected. I'm not sure why this occurs, however, but as the end user will be invoking from a top level domain, it's not an issue.

View solution in original post

10 REPLIES 10

This makes the variable readable on the RITM, but it breaks the workflow, which is expecting a sys_id. The value of the field should be sys_id. It just needs to display the name of the CI.

You need to update your workflow script to lookup sys_-d.

 

Regards,

Sachin

Gross.

That seems pretty kludgy but it will probably work. Thanks!

Apologies, I just saw your responses, please see below, my initial response was not correct.

find_real_file.png

Set lookup value to SysID and lookup label to the name of the field you want to display.

Thanks for the reply. Unfortunately that is how it is configured. On the catalog item and the service portal, the names of the data center and the room display properly. It's only when the variables are displayed on the RITM where the issue occurs. And capitalizing name to Name would break the variable as well.