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.

reference qualifier is changing from advanced to simple

suresh kaliappa
Tera Expert

Hi All , in 1 reference qualifier i was changing the reference qualifier type from simple to advanced. but it was auto chaiging back to simple from advanced. may i know what was the reason? screenshot below. 

 

sureshkaliappa_0-1722492754076.png

 

Note: in default view the use reference qualifier was not displayed. only in advanced view it displayed. but when changing the user reference qualifier from simple to advanced it was not changing. 

 

 

8 REPLIES 8

The reference qualifier i am using to modify was swaped ci. this field is available in task_ci table. screenshot below for more info. below to screenshot i attached the code i used in advanced reference qualifier. so kindly check if any error with that too!

 

sureshkaliappa_0-1722494438099.png

 

javascript: var toReturn = ""; if(current.task.getDisplayValue().startsWith('INC')) toReturn = 'sys_class_name=' + current.ci_item.sys_class_name; toReturn

The field i am using was swapped ci. This is available in task_ci table.  What i actually does is i changed the view to advanced view then only use reference qualifier was displayed and then i changed to advanced from simple and given filter conditions. but it was reverting back to simple after i save. 

 

sureshkaliappa_0-1722495527559.png

 

In your code, you need to replace ":" with the actual colon character ":"

suresh kaliappa
Tera Expert

I was given some wrong conditions in filter hence this issue happened. Thank you all for your support.