Variable attributes

abhisek
Tera Contributor

Hi All,

I have created a catalog variable which refers to requested item table and set the simple reference qualifier as state is closed complete and catalog item is 'abc'. In addition need to display the column opened, requested for and 'select business application' which is a variable of the catalog item 'abc'.

I have set the Variable attributes like:

ref_ac_columns=opened;requested_for;select_business_application,ref_ac_columns_search=true,ref_auto_completer=AJAXTableCompleter

 

Opened and requested for are populating but business application is not populating.

Could you please help me out.

Thanks&Regards,

Abhisek Chattaraj.

2 ACCEPTED SOLUTIONS

Viraj Hudlikar
Giga Sage

Hello @abhisek  

You can use below:

 

ref_ac_columns=number;opened_at;variables.variablename;

 

 

If the above does not work you can make the field as select box instead of reference and follow the steps mentioned in the below thread by @Bernd Hoffmeier 

Show RITM variable values as variable attributes i... - Page 2 - ServiceNow Community

Solved: Re: Show catalog item variables in columns on refe... - ServiceNow Community

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

View solution in original post

@abhisek  

I tried with Lookup select box and it showed me the variable value

I had 2 RITMs with that variable populated and it showed me

Use it in Lookup label field(s)

 

AnkurBawiskar_1-1739182162844.png

 

AnkurBawiskar_0-1739182098045.png

I was able to search as well using that variable value

AnkurBawiskar_2-1739182187807.png

 

I believe I have answered your question.

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

14 REPLIES 14

Viraj Hudlikar
Giga Sage

Hello @abhisek  

You can use below:

 

ref_ac_columns=number;opened_at;variables.variablename;

 

 

If the above does not work you can make the field as select box instead of reference and follow the steps mentioned in the below thread by @Bernd Hoffmeier 

Show RITM variable values as variable attributes i... - Page 2 - ServiceNow Community

Solved: Re: Show catalog item variables in columns on refe... - ServiceNow Community

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hi @Viraj Hudlikar 

Thanks for your reply.

I have tried with lookup select box but the problem is on the 

Lookup label field(s) there is some limitation I believe so I am unable to mention all the fields that needs to be populated.
Thanks&Regards,
Abhisek Chattaraj.
 

@abhisek  

this should work for Reference variable

Are you saying your variable is Lookup select box and it's not working there?

 

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

Hi @Ankur Bawiskar 

The variable is a part of single row variable set. I have tried with lookup select box and it is working but need to populate RITM number as well but I am unable to mention number on the Lookup label field(s). I think there is some limitations.