We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Only show menu item when there are active tickets

Angela22
Tera Contributor

I've created a new case widget on the portal and it has a corresponding header menu item.  I would like for it to only show if there's an active case for the logged in user.  Is there a condition that would achieve this? 

1 REPLY 1

Shruti
Giga Sage

Hi,

Try to call  a script include in the condition and add the logic in script include to check if there's an active case for the logged in user.

For e.g.

Shruti_0-1731937682804.png