Skip to content
Proud to collaborate with Microsoft for Startups

demo.mega_pipeline ​

Demo pipeline: validate → allocate (compute+storage) → network → security → deploy (frontend+backend) → checks → notify

Demo DAG: 7 layers, 2 with 2 siblings (allocate_resources, deploy_artifacts).

Overview ​

PropertyValue
Workflow typeDag
LibraryBusiness
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—Stamped by parent DAG if nested

Output Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo——
validate_inputjsonNo——
allocate_computejsonNo——
allocate_storagejsonNo——
provision_networkjsonNo——
configure_securityjsonNo——
deploy_frontendjsonNo——
deploy_backendjsonNo——
run_checksjsonNo——
notifyjsonNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

DAG Layers ​

#LayerStepsCompensation
1validate_inputdemo.validate_input—
2allocate_resourcesdemo.allocate_compute, demo.allocate_storage—
3provision_networkdemo.provision_network—
4configure_securitydemo.configure_security—
5deploy_artifactsdemo.deploy_frontend, demo.deploy_backend—
6run_checksdemo.run_checks—
7notifydemo.notify—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
demo.validate_inputvalidate_input
demo.allocate_computeallocate_compute
demo.allocate_storageallocate_storage
demo.provision_networkprovision_network
demo.configure_securityconfigure_security
demo.deploy_frontenddeploy_frontend
demo.deploy_backenddeploy_backend
demo.run_checksrun_checks
demo.notifynotify

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "demo.mega_pipeline",
  "initial_data": {
    "workflow_run_id": "value"
  }
}