Opsview Business Rule

Screenshot

XML Export

<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2012-03-09 17:04:24">
<sys_script action="INSERT_OR_UPDATE">
<action_delete>false</action_delete>
<action_insert>true</action_insert>
<action_label/>
<action_name/>
<action_query>false</action_query>
<action_run_at>server</action_run_at>
<action_update>false</action_update>
<active>true</active>
<application/>
<client_callable>false</client_callable>
<collection>ecc_queue</collection>
<condition>current.agent == "Opsview_Notification" &amp;&amp; current.queue == "input" &amp;&amp; current.state == "ready"</condition>
<description/>
<name>Opsview Queue</name>
<onclick/>
<order>100</order>
<priority>100</priority>
<read_access_action>false</read_access_action>
<script>var s = Packages.com.glideapp.ecc.ECCQueueProcessor(current);&#13;
s.process();&#13;
&#13;
current.state = "processed";&#13;
current.processed = gs.nowDateTime();</script>
<sys_created_by>thaddeus.freeman@fruitionpartners.com</sys_created_by>
<sys_created_on>2012-03-07 20:36:26</sys_created_on>
<sys_domain>global</sys_domain>
<sys_id>58ffff32716c2000a8d1496cf964454f</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_overrides display_value=""/>
<sys_updated_by>thaddeus.freeman@fruitionpartners.com</sys_updated_by>
<sys_updated_on>2012-03-07 20:49:50</sys_updated_on>
<when>before</when>
</sys_script>
</unload>