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.

Need to update checkbox on client side via UI Action Button

gaurav72
Tera Contributor

I have a UI Policy configured to hide/display a reference field that gets triggered when a checkbox is checked.

As per the requirement, they need to do this via UI Action Button they don't need a checkbox.

I need a way so that I can mark that checkbox to true via UI Action Button but not do a server update so UI Policy works as it is.

Any leads will be helpful - Thank You !!

1 ACCEPTED SOLUTION

Logan Poynter
Mega Sage

Hello,

See below. This is achieved with the Client checkbox:  The UI action executes its script in the user's browser, not on the server. When enabled, the Onclick field appears above the Condition field.

find_real_file.png


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan
--
LinkedIn

View solution in original post

2 REPLIES 2

Logan Poynter
Mega Sage

Hello,

See below. This is achieved with the Client checkbox:  The UI action executes its script in the user's browser, not on the server. When enabled, the Onclick field appears above the Condition field.

find_real_file.png


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan
--
LinkedIn

Thanks much, it worked as expected!!