I have a workflow with 3 steps:
- Task - Upload N files
- Produces array of N job definitions to be used as input to Step 2 map state
- Map - process each job
- Due to map state, this is executed N times
- Task - do some other thing
What I would like is to only do Step 3 if any iterations occur in Step 2. The way this is designed, Step 1 usually produces no output, so Step 2 is basically skipped.
I've noticed that in the scenario I've outlined, the output from Step 2 is just [], where as normally it contains a whole lot of information about the iterations. Is it possible to perform this kind of workflow?

