CloudEvents Triggers
Theme: Configure
Who Is It For? System Administrator, Automation Engineer
What Is It?
The CloudEvents Triggers module allows you to trigger Events within OpCon via externally-produced 'trigger events' which adhere to the CloudEvents Specification.
This module is used exclusively to manage triggering Events in OpCon when certain events happen on the OpCon MFT Server. For details, refer to MFT Server Triggers.
CloudEvents Trigger Format
A CloudEvents Trigger definition has two components: Trigger Filters and Trigger Events.

Trigger Filters
The Trigger Filters component lists all criteria an incoming trigger event must satisfy to activate the CloudEvents Trigger. Criteria use string-based Regular Expression matching against trigger event payload fields. Each filter criterion has a Filter Field (the payload attribute identifier) and a Filter Value (the Regular Expression to evaluate).
Use dot-notation for the Field identifier to reference nested data attributes. For example, given:
{
type: 'com.example.exemplarEvent',
data: {
'resultCode': 0
}
}
The Field identifier for type is type; for resultCode, it is data.resultCode.
Tip: If a filter criterion targets the
typefield with a known Filter Value from the selection list, Solution Manager provides contextual suggestions based on known trigger event schemas.
A CloudEvents Trigger may contain any number of filter criteria, including none:
- A trigger with no filters activates on every incoming trigger event
- A trigger with one filter (e.g., on
source) activates for every event from that source - When multiple criteria are included, all must pass for the trigger to activate
To trigger on any one of several criteria (OR logic), use the Copy functionality to create separate CloudEvents Trigger definitions, each with its own subset of criteria.
Trigger Events
The Trigger Events component lists all OpCon Events queued for processing when an incoming trigger event satisfies all filter criteria. For more information, see OpCon Events.
When configuring OpCon Events in this module, select the magic wand icon next to any Property field to open the Property Selector Dialog. This dialog includes $EXTERNAL Properties corresponding to attributes of the incoming trigger event. If a recognized type filter is associated with the Trigger Definition, additional $EXTERNAL.DATA Properties align with known attributes in the trigger event's data payload. Any $EXTERNAL Property is replaced with the corresponding value from the external triggering event during processing.
Trigger Events Data Format (CloudEvents)
This module implements the CloudEvents specification for defining and consuming trigger events. The full specification is available here.
Events are published in JSON format with the following fields:
| Field Name | Description | Type | Required |
|---|---|---|---|
| id | A unique identifier for the event | string |