Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Dapr Workflow Example

Step

Prepare

  • Dapr installed
  • Redis available at localhost:6379 for the workflow state store

Build

cargo build -p examples --example workflow --features dapr/workflow

Run Workflow

dapr run --app-id workflow \
         --resources-path ./config \
         -- cargo run --example workflow

Result

The workflow is scheduled, suspended, resumed, sent an external event, completed, purged, then scheduled again, terminated, and purged.