Skip to content

Commit 5c5653c

Browse files
committed
Minor: fix choice workflow example
1 parent 53b081e commit 5c5653c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

examples/workflow-with-choice-task.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Next": "BranchTwoSecondState"
2323
}
2424
],
25-
"Default": "FinalBranchOne"
25+
"Default": "FailState"
2626
},
2727
"BranchOneSecondState": {
2828
"Comment": "The second task of the first branch",
@@ -53,6 +53,11 @@
5353
"Type": "Task",
5454
"Resource": "inc",
5555
"End": true
56-
}
56+
},
57+
"FailState": {
58+
"Type": "Fail",
59+
"Error": "ErrorA",
60+
"Cause": "Unknown"
61+
}
5762
}
5863
}

0 commit comments

Comments
 (0)