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.

Server side script to verify dropdown field values

Som4
Tera Contributor

I want to create a server side script to verify whether certain category values like x ,y, z are present in the category field dropdown on the sn_hr_core_case table. How can I achieve this?

5 REPLIES 5

This may or may not work depending on how you interpret the question. Your code only cares about the choices defined at a specific table level, but tables that extend other tables can inherit choices from higher levels of the table hierarchy.

 

@Som4

Are you only concerned about choices that are specifically defined at [sn_hr_core_case] table level or also about the ones inherited from [task] table level?