Skip to content

Commit

Permalink
Process all with-items before stopping loop
Browse files Browse the repository at this point in the history
StackStorm/st2#5029 (comment)

> That restored the logic of
> "process all items first, then transition to next task"
> based on the condition defined in when.

Originally in:
igcherkaev@2baa66d
  • Loading branch information
igcherkaev authored and copart-jafloyd committed Dec 31, 2021
1 parent 2823b42 commit c2fed05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orquesta/machines.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@
events.ACTION_FAILED_TASK_DORMANT_ITEMS_PAUSED: statuses.FAILED,
events.ACTION_FAILED_TASK_DORMANT_ITEMS_CANCELED: statuses.CANCELED,
events.ACTION_FAILED_TASK_DORMANT_ITEMS_FAILED: statuses.FAILED,
events.ACTION_FAILED_TASK_DORMANT_ITEMS_INCOMPLETE: statuses.FAILED,
# events.ACTION_FAILED_TASK_DORMANT_ITEMS_INCOMPLETE: statuses.FAILED,
events.ACTION_FAILED_TASK_DORMANT_ITEMS_INCOMPLETE: statuses.RUNNING,
events.ACTION_FAILED_TASK_DORMANT_ITEMS_COMPLETED: statuses.FAILED,
events.ACTION_EXPIRED: statuses.FAILED,
events.ACTION_EXPIRED_TASK_DORMANT_ITEMS_PAUSED: statuses.FAILED,
Expand Down

0 comments on commit c2fed05

Please sign in to comment.