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

3 REPLIES 3

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

 

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

Dr Atul G- LNG
Tera Patron

Hi @ShAn21 

Keep only one option, “Available for.” Also, when entering an type= external, does the usehave the ITIL role?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************