Skip to main content
Contracts define business rules and validation logic that enforce how steps should execute and relate to each other. They provide real-time validation and ensure business processes follow defined patterns.

Contract Properties

  • Name - Unique identifier for the contract
  • Version - Supports contract evolution
  • Rules - Validation logic for steps and transitions
  • Entry Points - Valid starting steps
  • Terminal Steps - Steps that complete the thread
  • Timeouts - Maximum duration for steps and threads

Contract Structure

Key Components

Next Steps

Working with Contracts

Learn how to use contracts in your code

Tracking Workflows

Record steps in your workflow