Variable attribute for reference type of variable for cmdb_rel_ci table

Thej1
Tera Expert

I have created a reference type of variable for a catalog item.

Here are the type specifications.

Thej1_0-1733036620563.png

want to show the values of the field 'child' based on the filter conditions in the dropdown of this variable.

OOB it is showing as like this in portal.

Thej1_1-1733036728722.png

Thej1_2-1733036752147.png

when we make the display for of field 'child' is made to true, then it is showing the choices as below.

Thej1_3-1733036816503.png

Thej1_4-1733036843564.png

But we want to do it without making the display as true for that field in the dictionary table.

 

I tried with many ways in variable attribute. But it is showing the created date even if we make the variable attribute as empty.

 

Is there a way we can achieve it by variable attribute ?

 

@Community Alums @Sohail Khilji @Dr Atul G- LNG @Abbas_5 @Arpan Baishya @Anurag Tripathi @Ankur Bawiskar 

 

Thanks

 

 

1 ACCEPTED SOLUTION

@Thej1 

that's not possible. Once you select it will always show field which is marked as Display=true

I won't recommend changing the Display=true on OOB table

Inform your customer about this

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

11 REPLIES 11

@Ankur Bawiskar 

After selecting a choice from the dropdown as below image,

Thej1_0-1733121230973.png

it is displaying the 1st column instead of child values as below.

Thej1_1-1733121285643.png

Thanks

 

@Thej1 

that's not possible. Once you select it will always show field which is marked as Display=true

I won't recommend changing the Display=true on OOB table

Inform your customer about this

If my response helped please mark it correct and close the thread so that it benefits future readers.

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