OpCon Events
The OpCon Events notification type sends one or more OpCon events when a notification trigger fires. You configure the events using the OpCon Events dialog, which lists existing events for the trigger and provides options to add, edit, or delete them.
OpCon Events dialog
The OpCon Events dialog displays the events currently associated with the notification trigger. From this dialog you can:
- Add a new event
- Edit an existing event
- Delete an existing event
- Test — sends a test for the activated notification of the trigger
OpCon Event dialog
Selecting Add or editing an existing event opens the OpCon Event dialog.
Event Template
Select an Event Template from the list to begin. The form updates dynamically based on the template you select, showing the required and optional parameter fields for that event type.
A preview of the complete event string displays below the Event Template field as you fill in the parameters.
Add an OpCon event to a notification trigger
To add an OpCon event to a notification trigger, complete the following steps:
- In the OpCon Events dialog, select Add.
- In the OpCon Event dialog, select an Event Template from the list.
- Fill in the required and optional parameter fields.
- Select Save to save the event and return to the OpCon Events dialog.
Result: The new event appears in the events list and runs when the notification trigger fires.
Edit an OpCon event
To edit an existing OpCon event, complete the following steps:
- In the OpCon Events dialog, select the event you want to change.
- Select the edit option to open the OpCon Event dialog.
- Update the parameter fields as needed.
- Select Save to apply the changes.
Delete an OpCon event
To delete an OpCon event, complete the following steps:
- In the OpCon Events dialog, select the event you want to remove.
- Select the delete option.
Result: The event is removed from the list.
Variables in events
You can insert variables into any part of an event definition using the notation ${variable}. The same variable can appear multiple times in the same event or across events for the same Service Request; it is treated as a single user input, and the value you supply applies to every instance.
Variables are resolved before the event is sent to OpCon.
System variables
The following system variables are available when OpCon events are used within a Service Request:
| Variable | Description |
|---|---|
${SM.USER.LOGIN} | Login name of the OpCon user who selected the Service Request button |
${SM.USER.NAME} | Full name of the OpCon user who selected the Service Request button |
${SM.USER.EMAIL} | Email address of the OpCon user who selected the Service Request button |
${SM.USER.COMMENTS} | Comments entered by the OpCon user who selected the Service Request button |