Adding Triggers

Triggers are events and conditions in the system that can fire off processes. The attributes of the trigger are referenced in the process workflow. Processes often use this data to control execution. If a process contains a trigger, you can view its properties in the workflow Editor. The workflow properties pane displays all triggers associated with the process, and allows you to create new triggers, modify the properties of a trigger, and delete triggers.

Process instances can come into existence in the following ways:

  • A process can be invoked manually.
  • A process can be invoked by another process.
  • A trigger can fire, which initiates the process.
  • A process can be invoked using the northbound web service.

Triggers are events and conditions in the system that determine how or when the process will be executed. Multiple triggers can be added that can be initiated when certain conditions are met.

Action Orchestrator supports two types of rule-based triggers: Schedules and Events.

Schedules

Schedules allow triggering processes at some time by leveraging another object called a calendar. Calendars define which days something can occur. Calendars can be selected days or sequences of dates such as weekly or monthly, they can represent dates like fiscal quarter end, or they can be combined hierarchically. Schedules then associate a time with a calendar. When the day is in the calendar, the time is evaluated. Times can be explicit or repeating (for example, hourly).

Events

The Cisco Process Orchestration platform can monitor for events from the environment, and you can specify triggers that initiate processes when the subscribed event occurs. For example, an event might be an incoming stop trap or a fault on a UCS system.

Creating Triggers

To create a new trigger for an process:

  1. On the Workflow Properties pane, click +ADD TRIGGER.
  2. Under General, select Disabled as True or False from the dropdown list.
  3. Under Triggers, enter the name, description, and specify the following information:
    1. Under Type, select either Schedule or Event type from the dropdown list.

      The display of Schedule or Event option depends on the trigger type selected under Type.

    2. Under Schedule, select the appropriate schedule from the dropdown list or 
    3. Under Event, select the appropriate event from the dropdown list. For more information, see Configuring Schedules or Configuring Events.

  4. Click SAVE, to apply the changes.
  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved