For example, there is a server tool called Action1 designed to execute a program called server-action.sh with a timeout value of 60 seconds, with a display output. To set the status criteria to ensure that the tool only appears in the popup menu if there is an open trouble ticket for that notification, use the following syntax:

<actionconfig name="Action1" type="Server" enable="True" timestamp="0">
 <timeout>60</timeout>
 <program_name>server-action.sh</program_name>   
 <display display_value="True" /diplay>
 <status_criteria>
  <filterconfig type="Expression">
   <criterion attribute="TroubleTicketID">~*OPEN*</criterion>
   </filterconfig>
 </status_criteria>
</actionconfig>