I need to hide 2 operational applications from Incident form however these are required for other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 02:36 AM
Hello Team,
I have got one requirement where I need to hide 2 operational CIs from Incident form for all users however these are required for another form.
What is the best approach to achieve this requirement in Service Now, please advise ?
Thanks,
XXXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 05:12 AM
Apply the condition to the reference qualifier on the field (or, if it's a task field, apply a dictionary override for just the incident table).
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 01:10 AM
Hello Mark,
I have tried to creating a dictionary override & putting the filter under reference qualifier like below:
But it's not working as expected.
Thanks,
PPPP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 01:23 AM
it should be this
javascript: 'sys_idNOT INsysId1,sysId2,sysId3';
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 04:40 AM
Pleace check Ankur's solution, because it takes all sys_ids at once.
And for future reference: never use 'OR' and 'IS NOT' in the same query, because that will never work:
if(x!=a OR x!=b){}
x = a -> true, because x != b
x = b -> true, because x != a
x = c -> true, because x != a (or b)
You should always use 'AND' because you don't want it to be 'a' AND you don't want it to be 'b'.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark