Workflow Builder
Last updated
Last updated
A workflow refers to a series of steps or actions that are executed in a specific order to complete a task or achieve a particular goal. Spydra's workflow feature is designed to create a powerful Smart contract to automate work and manual tasks.
The element of workflow include:
Triggers- Events or conditions that initiate the execution of a workflow on changes to a particular asset, token or a scheduled trigger.
Workflow Conditions- Criteria used to determine branching or execution paths within a workflow based on boolean evaluations of variables or inputs.
Actions- Specify the action to be automated for records that meet the set criteria.
Example:
In the below example, the workflow is triggered when an asset called bills is initiated and it updates the insurance asset also as claimed in the same transaction
See how to define a Workflow