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.

service Portal

Divya P
Tera Contributor

How to set value of a field using client script in widget in service portal. I have a requirement where we have 2 buttons 'save' and 'Submit' . When user clicks on Save it should be in 'draft' state and when 'Submit' then it should be in 'Submitted' state along with the changes made to other fields should be saved . I am trying to set the value of state using client script in widget which is not working.

 

Thank you!

0 REPLIES 0