There are no attributes associated with the context_criteria element. But, there is a filterconfig subelement that determines which notifications utilize the tool. In the ics-config.dtd, the element is defined as:
<!ELEMENT context_criteria (filterconfig?)>
For example, there is a server tool called Action1 that executes a program called server-action.sh with a timeout value of 60 seconds, with a display output. To make sure that the tool is enabled in the popup menu for Router notifications, the syntax is:
<actionconfig name="Action1" type="Server" enable="True" timestamp="0"> <timeout>60</timeout> <program_name>server-action.sh</program_name> <display display_value="True" /diplay> <context_criteria> <filterconfig type="Expression"> <isa>ICIM_Notification</isa> <criterion attribute="ClassName">Router</criterion> </filterconfig> </context_criteria> </actionconfig>