Hi All

basha shaik
Tera Contributor

I Have 3 fields.

1. user--that user Reference table

2.Region-----that is Region Reference table

3.Team------that is select box under select box (a,b,c,d,e)

When user Region is 'India' autopopup is a,b

3 REPLIES 3

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

What's the actual request here?

Whenever Request by User's is India autopopup Team a,b,c

 

bashashaik_0-1728648255778.png

 

Moin Kazi
Kilo Sage
Kilo Sage

Hi @basha shaik ,

 

You can write onChange Client script on Region field -

 

function onChange(control, oldValue, newValue, isLoading) {
    if (isLoading || newValue == '') {
        return;
    }
if(newValue == "provide sys id of india region, if region is reference field"){
    g_form.setValue('team', 'c');
}
}

[Notes: Remember Select Box type Variable we can only select only 1 choice at a time. Hope this help you.]

 

MarkMoinKazi_0-1728649866682.png Correct if this solves your issue and also mark MoinKazi_1-1728649866681.pngHelpful if you find my response worthy based on the impact.

 

Regards

Moin