{
  "version": "3.15",
  "name": "TC07: onError Recovery",
  "registry": {
    "vars": ["$result(STRING)"],
    "files": { "inputs": [], "artifacts": [] }
  },
  "steps": [
    {
      "id": "Write_bad",
      "target": "Output/not_declared.txt",
      "value": "trigger error",
      "onError": "Set_fallback",
      "next": "Stop_end"
    },
    { "id": "Set_fallback", "target": "$result", "value": "recovered", "next": "Stop_end" },
    { "id": "Stop_end" }
  ]
}
