Trigger Criteria
Last updated
Last updated
Feedback
⬆️ CannyCopyright © 2024 Rewst
A trigger criteria is a set of conditions that determine whether a workflow should start. A condition can be a simple comparison of two values, a complex set of conditions, or even a Jinja-based query. Trigger criteria can resolve into the following possible statuses:
VALID - A valid trigger criteria means the triggered event satisfies all possible conditions and will start the workflow. A criteria is satisfied when all specified conditions are satisfied by logical means against the trigger context.
FILTERED - A filtered trigger criteria will not start the workflow and could be due to multiple reasons. The most common reason is one of the conditions is not satisfied by logical means by design and the system will filter out the event. Another reason could be due to a malformed condition that could not be parsed by the system. And finally, any malformed request initiating the trigger itself will also be filtered out.
UNDEFINED - A trigger criteria is undefined if the notification system is unable to determine the status of the trigger criteria. Please create a bug ticket if you encounter this status.
Adds new trigger criteria.
Opens the trigger criteria test dialog.
This field is used to access the trigger context. A trigger context is a dictionary of key-value pairs that contain the data of the event that triggered the workflow. The accessor field is used to access the value of the key in the trigger context.
Opens a Monaco editor dialog to edit the field accessor.
The operator is used to compare the value of the trigger context with the value of the field.
Value of the field to compare with the value of the trigger context.
Removes trigger criteria.
The test dialog aims to assist you in developing your trigger criteria, with incoming trigger events displayed on the left and the corresponding trigger criteria form on the right.
Start/Stop receiving trigger events. This does not disable the trigger itself. It only stops the UI from displaying additional trigger events from showing.
Click the value of the trigger context to generate trigger criteria. This will automatically map the field accessor and the selected value of the trigger context.
Incoming trigger event system behavior
You must enable the trigger in order to receive trigger events.
You must save the trigger form in order for the trigger criteria to take effect.
This logging system will show the latest events first on top.
Each trigger type may have different trigger context data/formatting.
A Filtered trigger event may show warnings if errors are found while processing the trigger event.
All Valid trigger events should have a corresponding workflow execution.
The system will approximately log the latest 10 events for 1 day. This may change in the future.
There is no throttling on the logging system. This may change in the future.
While having the Insights dialog open, you can press the F8
key to save the trigger.