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.

How to write Back end script for radio buttons(Yes/No) based on other selection?

Service Now4
Giga Contributor

Hello Everyone,

I have a requirement that - if we select DMS - Core in Access Required to, the Remote Access(Yes/No) field must to be Hide. - I have done this by using Catalog UI Policy and Catalog UI Policy Actions.

And Can any one please help me with this : How to Keep the value 'Yes' in the Backend.

Please find the below Screenshot for your Reference,

find_real_file.png

1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

Hi,

 

Set the default value to yes as shown in image.

find_real_file.png

Regards,

Sagar Pagar

 

The world works with ServiceNow

View solution in original post

16 REPLIES 16

Use script added by @Harshvardhan , will work fine.

The world works with ServiceNow

Gaurav Shirsat
Mega Sage

Hi Servicenow

To Run the Background Script

Application Navigator>System Definition>Script Background

find_real_file.png

Please refer the DOCS for simple button codes are provided here.

https://developer.servicenow.com/blog.do?p=/post/training-scriptsbg/

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat