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.

additional comments field

Danit Shabtay
Tera Contributor

Hi All 😃

How do I get to the "additional comments" field using a script to make it mandatory.

1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

The name of the field is comments if you want to use it in a script, it will go something like

g_form.setMandatory('comments', true);

 

I would suggest use ui policy to make it mandatory if possible

 

-Anurag

View solution in original post

2 REPLIES 2

Community Alums
Not applicable

Hi @Danit Shabtay ,

getJournalEntry(1)

Anurag Tripathi
Mega Patron
Mega Patron

The name of the field is comments if you want to use it in a script, it will go something like

g_form.setMandatory('comments', true);

 

I would suggest use ui policy to make it mandatory if possible

 

-Anurag