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

Community Alums
Not applicable

its still visible

Hello @Community Alums ,

In your recent screenshot, I noticed the same issue I’ve been pointing out. You need to use "javascript:" directly and remove "&colon".

Please make this adjustment and let me know how it goes.

AniketChavan_0-1728991394417.png

 

Community Alums
Not applicable

I tried both 

 

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

 

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

 

still its visible

Community Alums
Not applicable

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

@Community Alums please send screenshot instead of pasting the reference qualifier as there is an issue with colon in community.


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