Configure triggers. More...
Public Member Functions | |
| TriggerActionItem | CreateAction ([NotNull] TriggerActionType actionType) |
| Creates a trigger action. | |
| TriggerConditionItem | CreateCondition () |
| Creates a trigger condition. | |
| TriggerConditionItem | CreateCondition ([NotNull] TriggerConditionItem toClone) |
| Creates a trigger condition by cloning an existing trigger condition. | |
| bool | DeleteAction ([NotNull] TriggerActionItem action) |
| Deletes a trigger action. | |
| bool | DeleteCondition ([NotNull] TriggerConditionItem condition) |
| Deletes a trigger condition. | |
Properties | |
| IEnumerable< TriggerActionItem > | Actions [get] |
| Gets the actions in a trigger. | |
| IEnumerable< TriggerConditionItem > | Conditions [get] |
| Gets the conditions in a trigger. | |
| bool | IsMessageTrigger [get] |
| Gets whether the trigger is a message trigger. | |
| Node | MessageSource [get, set] |
| Gets or sets the target item from which to intercept messages. | |
| NodeReference< Node > | RelativeMessageSource [get, set] |
| MessageRoutingModeEnum | RoutingMode [get, set] |
| Gets or sets the message routing mode: | |
| bool | SetHandled [get, set] |
| Gets or sets the message handling mode: | |
| MessageType | TriggerMessageType [get] |
| Gets the Trigger Message Type. | |
Configure triggers.
You can use this interface to:
| TriggerActionItem CreateAction | ( | [NotNull] TriggerActionType | actionType | ) |
Creates a trigger action.
| actionType |
Examples
To create a Write Log action:
To create a Set Property action:
To create a dispatch message action:
To create a dispatch message action and set the target item using a relative path:
| TriggerConditionItem CreateCondition | ( | ) |
Creates a trigger condition.
Trigger conditions enable you to set which conditions must be met for the trigger to set off.
Examples
To create an empty trigger condition:
| TriggerConditionItem CreateCondition | ( | [NotNull] TriggerConditionItem | toClone | ) |
Creates a trigger condition by cloning an existing trigger condition.
| toClone | The trigger condition that you want to clone to create a new trigger condition. |
Examples
To create a trigger condition by cloning an existing trigger condition:
| bool DeleteAction | ( | [NotNull] TriggerActionItem | action | ) |
Deletes a trigger action.
| action | The trigger action that you want to delete. |
Examples
To delete a trigger action:
| bool DeleteCondition | ( | [NotNull] TriggerConditionItem | condition | ) |
Deletes a trigger condition.
| condition | The trigger condition that you want to delete. |
Examples
To delete a trigger condition:
|
getset |
Gets or sets the target item from which to intercept messages.
Use either MessageSource or #RelativeMessageSource to set the specific target item from which to intercept messages.
Examples
To create a trigger and set the target item from which the trigger intercepts messages:
|
getset |
Gets or sets the relative path to the target item from which to intercept messages:
Use either RelativeMessageSource or #MessageSource to set the specific target item from which to intercept messages.
Examples
To create a trigger and set the relative target item from which the trigger intercepts messages:
To create a trigger and set it to intercept messages from all sources:
|
getset |
Gets or sets the message routing mode:
|
getset |
Gets or sets the message handling mode:
|
get |
Gets the Trigger Message Type.