TaskInstance has @JsonProperty("wait-for"), which current logic would block the task until the "wait-for" task finishes.
Added a minor enhancement that wait-for could be a comma separated list so a task can wait for multiple tasks to finish.
This could be useful if we want to run several concurrent tasks and then have one follow-up task that wait for all those concurrent task completions before proceeding.
Description
TaskInstance
has@JsonProperty("wait-for")
, which current logic would block the task until the "wait-for" task finishes.Added a minor enhancement that
wait-for
could be a comma separated list so a task can wait for multiple tasks to finish.This could be useful if we want to run several concurrent tasks and then have one follow-up task that wait for all those concurrent task completions before proceeding.