E0610 Workflow branch that cannot be followed
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
when: names an earlier step's outcome, one of the choices that step returns; each: names a list from the workflow's input or an earlier step, whose items the step runs for. The build checks both, so a workflow never branches on a value it cannot have.
How to fix it
Branch on a choice an earlier step returns, or run each item of a list that exists.
In a terminal
duolith explain E0610