How can you return the support group value in cmdb_ci_service using the ' Use reference qualifier '

ricobuenvia
Tera Contributor

Hello guy, can anyone help me how can I return the support group value in ' Use reference qualifier ' currently I'm using the Simple option and when I selected it on my created catalog item its returning the Name value which is the ' Service Name RB ' is there anyway the once when I selected on my dropdown it will return the support group value ' Analytics Settings Managers ' . You can reference the image below for visualization.

Can anyone help me how can I achieve it using ' Use reference qualifier - Advanced '

Thank you.

1 ACCEPTED SOLUTION

@ricobuenvia 

For that to happen on your "cmdb_ci_service" table you need to mark Support Group as Display=true in dictionary.

But remember for this it would be a instance wide impact so wherever this table will be referred it will start showing Support group name instead of Service Name, which won't be a good UI experience.

Why not use Lookup select box variable referring to "cmdb_ci_service" table and show Support Group as Lookup label field?

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

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@ricobuenvia 

you can use a string type variable to auto populate the support group name once Service is selected

Then use this link to know how to auto populate without scripting

Auto-populate a variable based on a reference type variable (Utah) 

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

Hi Ankur, thanks for your response. I've already implemented it and it's working as expected. However, I have a follow-up question: when I update the field, it still displays the Name value from the cmdb_ci_service table. What I want instead is for it to display the Support Group Name value.

@ricobuenvia 

For that to happen on your "cmdb_ci_service" table you need to mark Support Group as Display=true in dictionary.

But remember for this it would be a instance wide impact so wherever this table will be referred it will start showing Support group name instead of Service Name, which won't be a good UI experience.

Why not use Lookup select box variable referring to "cmdb_ci_service" table and show Support Group as Lookup label field?

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

Thanks Ankur now its working fine. Using this suggestions.