Hi there!
I have a tab task that opens a floating model document via a process flow. The tab task is triggered by a keyboard shortcut.
After closing the model document, the shortcut no longer works. Pressing the key combination does nothing. Running the tab task through the ribbon still works fine, so it looks like focus is not returned to the original document.
Two things restore the shortcut:
- Opening a detail or another screen and navigating back.
- Adding an open document action at the end of the process flow.
The second one isn't usable for me. I reuse the same process flow across multiple variants of the same table, and open document opens the default subject instead of the variant the user came from. Activate document would fit better, but the tab task doesn't pass a document id into the process flow, so I have nothing to target.
Two questions:
- Is this the intended behaviour, or a bug in the focus handling?
- If intended, how should I return focus to the original document in a flow that runs on multiple variants? Is there a way to get the calling document's id in the process flow?

