Trigger Types
Procedure
-
Set the trigger type in the Trigger screen area. You use the trigger type to define the trigger conditions that are checked when an event occurs.
Trigger Type
Description
Always
The event always triggers the defined follow-up action.
Always is the default setting.
OnTrue
If you set OnTrue and PCo evaluates the trigger expression that you specified as TRUE, PCo triggers the follow-up action.
The trigger expression must then be evaluated as FALSE before it can be evaluated again as TRUE for triggering a further follow-up action.
You use the setting OnTrue if you want to receive a notification message if a rare event occurs.
OnFalse
With this setting PCo always triggers a follow-up action if the trigger expression that you defined is evaluated as FALSE.
The trigger expression must then be evaluated as TRUE before it can be evaluated again as FALSE for triggering a further follow-up action.
WhileTrue
If PCo evaluates your defined trigger expression as TRUE, PCo generates follow-up actions. This happens until PCo evaluates the expression as FALSE.
You choose the setting WhileTrue only for events that occur frequently.
For method notifications, WhileTrue has the same effect as OnTrue.
WhileFalse
If your defined trigger expression is evaluated as FALSE, PCo generates follow-up actions. This happens until the expression is evaluated as TRUE.
For method notifications, the trigger types WhileFalse and OnFalse have the same effect.
-
If you select the trigger type OnTrue, OnFalse, WhileTrue, or WhileFalse, you need to use the expression editor to create a Boolean expression to define the trigger condition. The expression must be able to be evaluated as true or false.
-
Save your entries.
Example
See the graphic for examples of trigger types in the notification process: