How do I make step 3 dependent on step 2
Wait.on is another option that can be used to wait on the processing of another step.
How can I skip (2) when there is no data returned in (1)?
Please refer comment from XQ Hu . By passing readyOrInProgressTriggers as a side input, depending on the count of that side input, thelogic in step 2 can be skipped