{
  "version": "3.15",
  "name": "Test07: If Conditional Skip",
  "registry": {
    "params": ["shouldRun(STRING)"],
    "vars": ["$result(STRING)", "$skipped(STRING)"]
  },
  "steps": [
    {
      "id": "Set_Init",
      "target": "$result",
      "value": "\"not_executed\"",
      "next": "Set_Conditional"
    },
    {
      "id": "Set_Conditional",
      "if": "=shouldRun == \"yes\"",
      "target": "$result",
      "value": "\"executed\"",
      "next": "Set_Skipped"
    },
    {
      "id": "Set_Skipped",
      "if": "=shouldRun != \"yes\"",
      "target": "$skipped",
      "value": "\"this_was_skipped\"",
      "next": "Stop_End"
    },
    { "id": "Stop_End" }
  ]
}
