Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Catalog variable in Request table

Ajith Sasidhara
Tera Contributor

Hi all,

I want to display Catalog item variables in sc_request form view, I cant  see the variable editor in slush bucket. Please help me on this.

1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

By default it is available for only four tables - incident, sc_req_item, sc_task,   change_request.

 

If you want to make it available for any other table, you have to create the UI formatter first.

 

Please do the below for Formatters:-

 

Saurav11_0-1666092459607.png

 

Then create a new record for sc_request

 

Saurav11_1-1666092496727.png

 

Then you will see the variable editor in form layout of sc_request

 

Also even after that you will not see it as the values are not populated directly you will have to write a script which will copy variable values from RITM to Req

 

Please mark my answer as correct based on Impact.

 

View solution in original post

5 REPLIES 5

Hi @Ajith Sasidhara could you share the script that displayed the variables? I have simillar requirement and I wonder how you did it. 

 

Many thanks