Hi!
Here are some screenshots of the UI flow. I simply record the flow in My Flows/UI Flows by starting the recorder.
When I/the system clicks on creating a new Purchase Invoice, a new window is created which is named "New - Purchase Invoice"

So, in the selector field for the UI Flow step, it will show the name of the window like this (see the name field in the JSON):
{
"automationId": "{00000033-0000-0000-0108-0000836BD2D2}",
"boundingRectangle": "330;222;1859;1481",
"className": "WindowsForms10.Window.8.app.0.265601d_r9_ad1",
"controlType": "50032",
"frameworkId": "WinForm",
"name": "New - Purchase Invoice",
"localizedControlType": "Window"
}
After selecting a new purchase invoice number and the vendor, the name of the active window is changed like this. The name of the window changes to "New - Purchase Invoice - 1070 - myTaxi Austria GmbH". It is the SAME window as above, just the name of the window changes.

For all subsequent clicks the recorder changes the selector field. You can see the change in the name field of the JSON:
{
"automationId": "{00000033-0000-0000-0108-0000836BD2D2}",
"boundingRectangle": "330;222;1859;1481",
"className": "WindowsForms10.Window.8.app.0.265601d_r9_ad1",
"controlType": "50032",
"frameworkId": "WinForm",
"name": "New - Purchase Invoice - 1070 ∙ myTaxi Austria GmbH",
"localizedControlType": "Window"
}
With a behavior like this (the legacy app being recorded changing the name of the active window), all subsequent steps of the UI flow will fail as the window changed the name from when it was created and used first.
Therefore, it would be great if one could use dynamic content for the selector in the UI flow:
