ManageIQ/floe

View on GitHub
examples/parallel.asl

Summary

Maintainability
Test Coverage
{
  "Comment": "Parallel Example.",
  "StartAt": "FunWithMath",
  "States": {
    "FunWithMath": {
      "Type": "Parallel",
      "End": true,
      "Branches": [
        {
          "StartAt": "Add",
          "States": {
            "Add": {
              "Type": "Task",
              "Resource": "docker://docker.io/agrare/sleep:latest",
              "End": true
            }
          }
        },
        {
          "StartAt": "Subtract",
          "States": {
            "Subtract": {
              "Type": "Task",
              "Resource": "docker://docker.io/agrare/sleep:latest",
              "End": true
            }
          }
        }
      ]
    }
  }
}