How to create your first workflow configuration
This post is meant as an example to create your first working workflow.
This is not an explanation of everything that can be done by using workflows, and also not an explanation of all the fields.
For more info and details, see this post: Workflow configurations
1. Create a workflow configuration record
First add a new workflow configuration:
Settings > Workflow configuration > add button
2. Add a step
- Click add from workflow configuration page:
- Fill in an internal_name (this name can be referenced to in later workflow steps. Make sure to use lowercase and underscores).
- Choose step_type: Process call
- Choose process call: Add/Edit (if this doesn’t exist yet, see bottom of this articale)
- Before saving, also fill in the parameters:
- record: “organizations:getnull()”
- values: "[<“name”, "Created by workflow at “.concat(datetime:now().tostring())>]”
- Save the step
3. Add a initiating transition
- Go back to the workflow configuration page and add an initiating transition:
- Choose in the ‘To’ searchlink your created step.
4. Add outgoing transition that ends the workflow
- Open the step again and add a transition:
- Leave “To” empty in this case, so the transition goes from this step to nothing (end of workflow)