Not available for not working as expected

ShAn21
Tera Guru

Hi Team,

Do we have any known issues with using 'Available for ' and 'Not Available for' in a catalog item together. I have built a very simple condition to 'Not Available For' but see it is not working as expected. Ideally not availble for must override available for.

Available for = Role itil

Not Available for = User type external

 

But i see even for external users the item is visible.

 

Thanks

14 REPLIES 14

Tejas Adhalrao
Tera Guru

Hi @ShAn21  ,

In your case ----- if  External user has itil role    

                         Matches Available For = itil 

                         Item becomes visible   

                         Not Available For = external does not block it

That’s why external users still see the item

 

 

 solution ---> 

1) use only available to /user criteria

 available for  only itil user and User type ≠ external

 

 

 

 

 If you found my solution helpful, please mark it as Helpful or Accepted Solution...!

thanks,

tejas

Email: adhalraotejas1018@gmail.com

LinkedIn: https://www.linkedin.com/in/tejas1018

 

Hi @Tejas Adhalrao ,

As per my understanding not available for overrides anything that is in available for. additionally i am doing it for over 100 items and many of them already have some user criteria mapped. so I need to overide all using one criteria. Thats the reason I am using not available for.

 

Thanks

 

Ankur Bawiskar
Tera Patron

@ShAn21 

Keep only available for, remove Not Available For

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hi @Ankur Bawiskar 

I am doing it for over 100 items and many of them already have some user criteria mapped. so I need to override all using one criteria. Thats the reason I am using not available for.

 

Thanks