Cisco Cisco Process Orchestrator 3.1 User Guide

Page of 786
 
11-7
Cisco Process Orchestrator 3.1 User Guide
 
Chapter 11      Working with Events and Triggers
  Integrating Using the Advanced Message Queuing Protocol (AMQP)
  •
Handles cases where event arrival might precede process execution of the correlation node. A 
process might not even be executing when an event arrives; it could be triggered later and look 
retrospectively for matching events. The server must cache data given its knowledge of Correlate 
activities in process definitions so it is ready to provide matched events should a Correlate activity 
execute later.
  •
Allows that correlation activities may never run due to untriggered workflows or workflow logic 
taking a different flow.
  •
Performs intelligent event caching and garbage collection based on process definitions.
Creating Correlate Event Activities
Use a Correlate activity to check whether an event occurred.
Step 1
In the Process Editor, choose Toolbox > Activities, enter 
correlate
 in the Filter by Name text box, 
then select the correlate activity for the specific event you want to collect.
Step 2
On the Correlate activity property page, click the General tab and enter the appropriate information. 
Step 3
Click the Event Criteria tab and specify the required event properties for the activity.
Step 4
Click Additional properties to match and specify the appropriate information.
The Expression arrow displayed to the right of the Reference tool indicates that a wildcard expression 
is available.
Step 5
Click Save 
 to complete the activity definition.
Step 6
To view the correlated event results:
a.
Choose Operations > Activity Views, highlight the correlate activity instance, right-click and 
choose Properties.
b.
Click the Correlated Events tab to view the alerts collected by the correlate activity.
Integrating Using the Advanced Message Queuing Protocol 
(AMQP)
Use AMQP to create Process Orchestrator triggers for events that occur out on the IT landscape for 
which Cisco does not have adapters. For example, to trigger a Process Orchestrator process in response 
to a syslog event:
Step 1
https://github.com/bkjones/bevis
Step 2
Set up the IT landscape elements (application) to post messages to the newly created queue.
Step 3
Set up a Process Orchestrator trigger from the queue/exchange.