hide global option from region variable lookup selet box when le group is data privacy

shubhamverm3478
Tera Contributor

Hi,

I want to hide global option under region look up select box variable when le group is data privacy.

how can I achieve this

35 REPLIES 35

Voona Rohila
Kilo Patron
Kilo Patron

Hi @shubhamverm3478 

You can add a reference qualifier with if and else and give encoded query conditions accordingly

Example: //add your query accordingly.

javascript: if (current.variables.group  == 'group sys_id') "name!=Global";else "active=true";

VoonaRohila_0-1728934997350.png

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Community Alums
Not applicable

Its not working in either ways Rohila.Approaches are same but issue is persistent.

Please share the refernce qualifier you wrote.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Community Alums
Not applicable

It's still showing same