xFlow
  • Overview
    • Introduction
    • Core Features
    • Architecture
      • High Level Architecture
      • Tech Stack
      • Deployment Flexibility
      • Performance and Scalability
      • Security Compliance
  • Getting Started
    • Installation
    • Quick Start
    • Configuration
  • Core Concepts
    • Serverless Workflow Specification
    • Workflow data handling
    • Workflow Expressions
    • Error handling
    • Input and Output schema definition
    • User Task
    • User Forms
      • Lowcode Form
      • Advanced User Form
    • AI Agents in Enterprise Business Processes
    • Comparisons
      • BPMN2
  • Developer Guide
    • Architecture
    • API Reference
    • Workflow States Reference
      • Event State
      • Operation State
      • Switch State
      • Parallel State
      • Inject State
      • ForEach State
      • Callback State
      • UserTask State
      • AIAgent State
      • AIAgentProxy State
      • UserProxyAgent State
      • AI Outbound Agent State
    • Workflow Functions
      • REST
      • GraphQL
      • Custom
        • Built-in Functions
        • Lowcoder Query Function
      • Function Auth
    • Workflow Secrets
    • Integrations
    • Workflow Modeler
    • Frontend Development
      • Forms
        • Lowcode Form
        • Advanced User Form
    • Serverless Workflow Development
      • Operation State
      • Switch State
      • Parallel State
      • ForEach State
      • Callback State
      • User Task State
    • AI Agent Development
      • AI Agent
        • Predefined LLM
        • LLM Configuration
        • Multi LLM Configuration
        • Chat Memory
        • Tools
        • Data Output
        • Agent Outcomes
      • AI Agent Proxy
        • AI Agents Integration
      • User Proxy Agent
      • xChatBot Integration
  • Examples
    • Basic Examples
    • Advanced Examples
      • Loan Approval Workflow
      • QMS AP Workflow
  • Administration
    • Monitoring and Logging
    • Security
    • Performance Tuning
  • Extensions and Customizations
    • Plugins and Add-ons
  • Troubleshooting
    • Common Issues
    • FAQs
  • Release Notes
    • Version History
    • Upcoming Features
  • Support
    • Contact Information
    • Community
Powered by GitBook
On this page
  1. Developer Guide

Workflow States Reference

PreviousAPI ReferenceNextEvent State

Last updated 1 year ago

Workflow states define building blocks of the workflow execution instructions. They define the control flow logic instructions on what the workflow is supposed to do. Serverless Workflow defines the following Workflow States:

Name
Description
Consumes events?
Produces events?
Executes actions?
Handles errors/retries?
Allows parallel execution?
Makes data-based transitions?
Can be workflow start state?
Can be workflow end state?

Define events that trigger action execution

yes

yes

yes

yes

yes

no

yes

yes

Execute one or more actions

no

yes

yes

yes

yes

no

yes

yes

Define data-based or event-based workflow transitions

no

yes

no

yes

no

yes

yes

no

Causes parallel execution of branches (set of states)

no

yes

no

yes

yes

no

yes

yes

Inject static data into state data

no

yes

no

yes

no

no

yes

yes

Parallel execution of states for each element of a data array

no

yes

no

yes

yes

no

yes

yes

Manual decision step. Executes a function and waits for callback event that indicates completion of the manual decision

yes

yes

yes

yes

no

no

yes

yes

User task step. Used to assign a user task to an individual or groups of users

yes

yes

yes

yes

no

no

yes

yes

Event
Operation
Switch
Parallel
Inject
ForEach
Callback
UserTask