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.

Showing display value for checkbox in Record Producer

Harold Felder
Tera Contributor

I am dynamically creating a string for the description and want to show the label and the value selected.  Here is a snippet of my code:

producer.cameras.getDisplayValue() + ': ' + producer.cameras.getValue() + '\n' +

 

both getDisplayValue()  & producer.cameras.getValue() display 'true' value instead of the label for the checkbox.  How do I display the label for my Record Producer?

2 REPLIES 2

Mike_R
Kilo Patron
Kilo Patron

Try 

producer.cameras.getLabel()

Yep, that worked fine.  Thanks.  How do I find out what methods are available for my use in the Record Producer?  There is no real intellisense for the Javascript.