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.

Using System property as value field in choice table.

Chitra23
Tera Contributor

Chitra23_0-1681649174163.png

Hi,

Can we use a system property as value field in sys_choice table?  I have 5 ReportIds that are stored as system properties. I want to use them as choice options in another table. In the screenshot attached "javascript:"System (" + gs.getProperty('glide.sys.time_format') + ")" is used in Label field. Can we use this value field as well?

2 REPLIES 2

Uncle Rob
Kilo Patron

Nothing like this exists OOB.  You'd have to build a solution such that whenever any of those properties changes it will add new and/or deactivate old choice list values.

That sounds dangerously risky.

Chitra23
Tera Contributor

Thanks Robert.