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.

How to enable variable editor for Service Request

Madankumar N1
Tera Contributor

Hi 
We have requirement to enable variables to on request form 

Created formatter for sc_request table but it is not showing variable details on service request

10 REPLIES 10

Madankumar N1
Tera Contributor

Hi Maik Skoddow,

 

find_real_file.png

 

I have requirement for particular order guide(New Hire) to enable variable editor for request, so from service portal ticket page when that order guide request has come, I should be able to edit some fields in varaible editor and save

For enabling varaible editor for sc_request table

I added UI formatter variable editor for sc_request and added OOB UI macro com_glideapp_servicecatalog_veditor

In UI macro I added

else if (className == "sc_request") {
cat_item =current.request.cat_item;
}

Tried above but not showing varaibles in variable editor service portal as well as in default UI also variables are not showing in variable editor request table