Planning your workflow
Before building, consider:- What process are you automating? - Map out the business process
- What are the steps involved? - Identify each action or decision point
- Who needs to act? - Determine human vs. automated steps
- What conditions exist? - Identify branching logic
- What data flows through? - Plan data requirements
Accessing workflow management
- Navigate to the Admin Portal
- Click Workflow Management in the left sidebar
- You’ll see all existing workflows listed
Creating a template
- Click Create Workflow (top right)
- Enter workflow details:
- Name - Descriptive identifier
- Description - Purpose and scope
- Click Create
Version management
Creating a version
- Open a workflow from the list
- Click Add Version
- Configure:
- Version number - Use semantic versioning (e.g., “1.0.0”)
- Starter version - Optionally copy from existing version
- Click Create to open the editor
Version lifecycle
Using the workflow editor
Interface overview
| Panel | Location | Purpose |
|---|---|---|
| Steps Panel | Left | Available step types |
| Canvas | Center | Visual workflow design |
| Configuration | Right | Step settings |
Adding steps
- Drag a step type from the Steps Panel
- Drop it onto the Canvas
- Click the step to configure
Connecting steps
- Hover over a step to reveal handles
- Drag from the source handle
- Drop on the target step’s input handle
- A transition line appears
Configuring steps
When you select a step, the Configuration Panel shows:- Basic info - Name, ID, description
- Step-specific settings - Varies by type
- Output schema - Expected output structure
- Group assignment - UI organization
Building step flows
Linear flow
The simplest pattern - steps execute one after another:Conditional branching
Use exclusive split for yes/no decisions:- Add
GATEWAY_EXCLUSIVE_SPLIT - Create two outgoing transitions
- Set condition on one:
__context__.status = 'approved' - Mark the other as default
Parallel execution
Run multiple paths simultaneously:- Add
GATEWAY_PARALLEL_SPLIT - Connect to all parallel tasks
- Connect all tasks to
GATEWAY_PARALLEL_JOIN - Connect join to next step
Sub-workflows
Execute child workflows for modular design:Single sub-workflow
Batch sub-workflows
For iterating over a collection:Working with data
Accessing context data
Use__context__ to access workflow context:
Accessing step outputs
Use__steps__ to access previous step results:
Accessing datasources
Use__datasources__ after fetching data:
In batch iterations
Use__each__ to access the current item:
Saving and publishing
Save workflow
Click Save (top right) to preserve your work.Publish version
- Review your workflow design
- Click Publish
- Status changes to Published
Activate version
- Return to the versions list
- Click Activate Version on your published version
- This version is now used for new executions
Setting up triggers
Service request triggers
- Go to Workflow Links tab
- Click Add Link
- Select:
- Link Type: Service Request Type
- Identifier: The service request type
- Save
Product triggers
- Go to Workflow Links tab
- Click Add Link
- Select:
- Link Type: Product ID
- Identifier: The product ID from billing
- Save
Best practices
Start simple
Begin with a basic flow and add complexity incrementally.
Use groups
Organize related steps into logical groups for clarity.
Name clearly
Use descriptive names for steps and transitions.
Test thoroughly
Test each version before publishing to production.
Next steps
Local development
Set up local development environment
Validation rules
Understand workflow validation