Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
Mega Sage
Mega 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