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

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?

*************************************************************************************************************
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]

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

HI @Dr Atul G- LNG 

Yes, the user has itil role but as per me the not available for must override available for. Also

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

I think you need to remove it not available for and then it works

*************************************************************************************************************
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]

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

Hi @Dr Atul G- LNG 

Any specific reason it does not work?

The funny part is even a simple log in script section of 'Not Available for' is not working. Same user criteria when added to 'Available for' does show logs. Additionally if we use fields instead of script in 'Not Available for' user criteria it works. Only script does not run.

 

Thanks

Hi @ShAn21 

 

Might be a issue in platform , better log a now support case.

*************************************************************************************************************
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]

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