Reputation: 51
I have a aws step function workflow and in that i have a parallel task which executes 3 tasks "A","B" and "C" all are running in parallel , then "A" successfully completes it's executeion, "B" and "C" both are still running then if "B" fails , then how can i revert changes of "A" and of "C"(which run partially.).
Upvotes: 0
Views: 1076
Reputation: 11
As @Riz mentioned, Step Functions does not have any built in rollback options. One option will be for your parallel state to have a catch which will catch if A B or C fail. If it does, the catch will direct to a cleanup/rollback step within your state machine.
Upvotes: 1