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.

Radio button default value based on user form field

Jahnavi7
Mega Contributor

Hi,

I have a requirement that

Created a Field type: Radio Buttons on Order guide
Options: a)IG

b)AG, SDG

Default value: In user  form I have a field called group If group is AG my default value should AG

if group is SDG or AG my default value should be AG,SDG

I don't know how to get user table data in default value .can anyone help me.

Thank you,

11 REPLIES 11

I'm not getting single alert 

Add an alert on line 5 to see if you are able to read the value of sapvalue

Line 8, you are reading the item.name and then comparing it with sys_id, condition will never satisfy. Change that and add alert s to see if the code comes in the if..

Same for next lines also.

 

-Anurag