Comment on page
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 a particular AssetType.
- 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.
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