We have automations set up as follows:

Filter: Element at critical condition
Element at major condition

Actions: Run a predefined script.

In the setup code for the predefined script:

formula.log.error( "The element condition at automation trigger is
************** " + element.condition + " **************" )


formula.trc clearly shows 4 automations are being triggered for the same
element/condition. Why is this?

2014-09-26 07:08:30,410 ERROR Script.Automation 'Ares', script 'Run a
script' - The element condition at automation trigger is **************
Critical **************
2014-09-26 07:08:30,706 INFO Script.Automation 'Ares', script 'Run a
script' - There were no incidents returned for the root cause incident
check. Setting incident_exists to false. yes WE'RE gonna Create a
Ticket!!!
2014-09-26 07:08:35,433 ERROR Script.Automation 'Ares', script 'Run a
script' - The element condition at automation trigger is **************
Critical **************
2014-09-26 07:08:35,636 INFO Script.Automation 'Ares', script 'Run a
script' - The following tickets are open:
2014-09-26 07:08:35,636 INFO Script.Automation 'Ares', script 'Run a
script' - The Automation Evaluated the root cause of the Element Ares
and did NOT create a ticket because it already exists in Service Now.
2014-09-26 07:10:24,996 ERROR Script.Automation 'Ares', script 'Run a
script' - The element condition at automation trigger is **************
Critical **************
2014-09-26 07:10:25,276 INFO Script.Automation 'Ares', script 'Run a
script' - The following tickets are open:
2014-09-26 07:10:25,276 INFO Script.Automation 'Ares', script 'Run a
script' - The Automation Evaluated the root cause of the Element Ares
and did NOT create a ticket because it already exists in Service Now.
2014-09-26 07:10:25,276 ERROR Script.Automation 'Ares', script 'Run a
script' - The element condition at automation trigger is **************
Critical **************
2014-09-26 07:10:25,479 INFO Script.Automation 'Ares', script 'Run a
script' - The following tickets are open:
2014-09-26 07:10:25,479 INFO Script.Automation 'Ares', script 'Run a
script' - The Automation Evaluated the root cause of the Element Ares
and did NOT create a ticket because it already exists in Service Now.

Thanks.

Steve


--
csssl
------------------------------------------------------------------------
csssl's Profile: https://forums.netiq.com/member.php?userid=6773
View this thread: https://forums.netiq.com/showthread.php?t=51881