Triggers
Last updated
Last updated
Triggers are events or conditions that initiate execution of a workflow. A combination of below events can initiate a workflow using an OR condition.
Workflows can be triggered when the specified asset events below are used as triggers for a workflow.
When a new asset is created, the workflow is triggered. To define the trigger, select the 'create asset' trigger and then choose the asset(s) from the dropdown list.
When an existing asset property is updated, the workflow is triggered. To define the trigger, select the 'update asset' trigger and then choose the asset(s) from the dropdown list.
The workflow is triggered when an existing asset gets deleted. To define the trigger, select the 'delete asset' trigger and then choose the asset(s) from the dropdown list.
The workflow is triggered when the owner of an asset is updated. To define the trigger, select the 'update owner' trigger and then choose the asset(s) from the dropdown list.
The workflow is triggered when an approval action is initiated. To define the trigger, select from the list of previously created approval actions in other workflows. The list will be empty if no approval actions have been created yet.
See how to create an approval action in the workflow
The workflow is triggered when an oracle is initiated and fetched external data. To define the trigger, select from the list of available schedulers configured in the channel.
The workflow is triggered at a defined time based on the configured cron expression. To define the trigger, select the trigger 'At Scheduled Time'
Enter the cron expression
minutes-
Allowed value: 0-59
Allowed special characters: , - * /
Example:
10 for 10th minute of an hour,
Ranges: 1-10 for first 10 minutes of an hour,
List: 1-10, 30 for first 10 minutes and 30th minute of an hour,
Steps values: 0-59/2 for every 30 minutes
Unrestricted: * for all possible values
hours-
Allowed value: 0-23
Allowed special characters: , - / *
days (month)-
Allowed value: 0-31
Allowed special characters: , - / *
months-
Allowed value: 0-11
Allowed special characters: , - / *
day(week)-
Allowed value: 0-7
Allowed special characters: , - / *
Workflows can be triggered when the specified token events below are used as triggers for a workflow.
When a token is minted, the workflow is triggered. To define the trigger, select the 'mint token' trigger and then choose the token(s) from the dropdown list.
When a token is burnt, the workflow is triggered. To define the trigger, select the 'burn token' trigger and then choose the token(s) from the dropdown list.
When a token is transferred, the workflow is triggered. To define the trigger, select the 'transfer token' trigger and then choose the token(s) from the dropdown list.
See how to create an oracle scheduler