Composite Trigger

Composite Trigger

Overview

The Composite trigger consists of Time, Agent File Monitor, Task Monitor, Variable Monitor, and Email Monitor components - which function like Time, Agent File Monitor, Task Monitor, Variable Monitor, and Email Monitor triggers - that allow you to trigger one or more tasks based on correlated events from those components.

Each Composite trigger can contain the following number of components:

When you enable a Composite trigger, all components of that trigger are enabled. Each enabled component has its own event queue. When a component fires, an event is enqueued and the component notifies its parent Composite trigger. The Composite trigger will then check the event queues of all of its components and launch the specified task(s) if a correlated set of events is found.

Note

If a Composite trigger has Restrict Times enabled, its components will be enabled only within the specified Enabled Start and Enabled End times:

  • If the Composite trigger is disabled. the components stay disabled.

  • If the Composite trigger is enabled, and the time is within its specified Enabled Start and Enabled End times, its components will be enabled.

  • If the Composite trigger is enabled, and the time is outside of its specified Enabled Start and Enabled End times, its components will stay disabled.

The Composite Trigger Details provides the following fields for component queue specifications:

  • Time Limit and Time Limit Units specify the length of time that events are maintained in all component queues.

  • Queue Depth specifies the maximum number of events that can be contained in each component queue. If the maximum has been reached but more events are ready to be placed in a queue, the oldest events are discarded.

Built-In Variables

In order to propagate built-in variables up to a Composite trigger, from the files, tasks, and variables being monitored by its File Monitor, Task Monitor, Variable Monitor, and Email Monitor components, the Component Details provide a Variable Prefix field.

  • If a Variable Prefix is not specified, no built-in variables for that component will be propagated.

  • If a Variable Prefix is specified, all built-in variables supported by the component type will be propagated using the specified prefix rather than the reserved ops_ prefix.

Additionally, all components - File Monitor, Task Monitor, Variable Monitor, Email Monitor, and Time - support the built-in variable <prefix>trigger_component_event_time that resolves to the time when the component fired.

Monitoring Component Status

You can monitor the following statuses of each enabled component in its component Details (available via the Components tab of the Composite trigger).