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.

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

Aniket Chavan
Tera Sage
Tera Sage

 

 

Hello @Community Alums ,

Did you have a chance to try the format I suggested? If not, please give it a go and let me know how it works out. When you do, could you also share a screenshot of your reference qualifier setup? That would help me better understand and assist if needed.

For reference, here’s the qualifier I used successfully, along with a screenshot for clarity:

 

javascript: if (current.variables.le_group == '3a773f22976c8e50028cfa871153af6d') { "sys_id!=e37c2dfb1be49ad47b03ea8a234bcbfd"; } else { "active=true"; }

 AniketChavan_0-1728980210383.png

 

Also don't forget to change the sys_id with your's global choice from the table.

Looking forward to hearing how it goes!

 
 

Community Alums
Not applicable

I tried same qualifier javascript: if (current.variables.le_group == '3a773f22976c8e50028cfa871153af6d') { "sys_id!=634212eb97b14214028cfa871153af7a"; } else { "active=true"; } 

for global-634212eb97b14214028cfa871153af7a.

still its visible

@Community Alums ,Please share an image of your reference qualifier setup as well. Also, is the Region variable the only one present on the portal? I noticed that in your earlier image, the Group variable wasn't visible.

 

Community Alums
Not applicable

PFA for reference

Hello @Community Alums ,

 

It looks like the reference qualifier format you entered may be incorrect. Please take a close look at the image below and try re-entering it, paying particular attention to the syntax at the beginning. Let me know how it goes!

 

AniketChavan_0-1728989427741.png

 


AniketChavan_0-1728980210383.png