I found one inconvenients related to business process run on other tab than default tab on page. System changing this tab automatically after process ends.
My process has one step, which open Pre-configured page and after Save/Close back to the Project page. This process is invokend on Project/Structure detail tab. Everything works perfect but system initialize Project page with default General Information tab instead of Structure tab on which process was exectuted.
How to switch tab automatically after page is initialized after business process has ended ?
Business process can communicate with the client side via Websockets. You can send a Websocket message to the page with the name of the tab that you want to open.
Not exactly fit to my case but was useful to take forward my implementation and fix problem.
In my solution, process runs "Pre-configured page" task, so "Script task" runs after this steps sends message but before load "Project edit page" back then i can't handle this message.
My final solution is setting sessionStorage variable on "Pre-configured page" init method and read and destroy this variable on "Project Page 2 edit" initTab method like this ..