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.

Make comments field mandatory in Agent work space.

KaMmILa__
Tera Expert

Can some one help me how to make comments field mandatory in agent work space

I tried g_form.setMandatory('comments', true); but not working , I am enforcing that in the workspace client script section , every other action is working fine except setting mandatory to comments section.

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

I have this if it helps

find_real_file.png

 

find_real_file.png

 

-Anurag

-Anurag

View solution in original post

12 REPLIES 12

Uncle Rob
Kilo Patron

Is there any other condition?  Or do you want ANY save in that interface to require a comment?

There is UI action on the incident when CLicked on that we ask the user to put some additional comments 

I have this if it helps

find_real_file.png

 

find_real_file.png

 

-Anurag

-Anurag

Thanks Anurag , the left side additional comments we are not displaying, we are only showing journal field, we have the same code but it is not  displaying the journal field mandatory.