The CreatorCon Call for Content is officially open! Get started here.

I need to hide 2 operational applications from Incident form however these are required for other

Priya Singh 2 2
Tera Contributor

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

6 REPLIES 6

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Priya Singh 2 2 

I agree with Mark.

Configuration Item field is on task table so you will have to perform dictionary override for incident table

Please do the needful and share us the update if it doesn't work.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader