UI Form in Workflow not displayed when inside for-each block

I have an UI action of type Open Form that should open a form and let user input some text in one text field.

But when that UI Form WF step is inside for-each block it is not executed at all and WF ends before opening the form.

When it is directly inside WF step structure it is displayed just fine.