We want that a specific process was called when user get out of current work page frame (for example when user click on entry menu to open dashboard).
In the requirement, no "close" button exist on current work page (so the extension point "CloseDefault" or "PreClose" cannot be used). The dynamic container is in mode "Single document"
I have trace this case (user open dashboard from menu item when a case is currently open) and you can see that the OOTB activity Close is not executed
The only way I have found to do this is to customize activity WorkUnlock but it's a final activity so I can't customize it (and no extension point for this activity).
It works when I call procedurally the specific process.
With this solution, we should call this specific process on all button and link which allow user to get out of the case.
I think it's not a easy solution to maintain because developers should add this specific process when a new way to get out of the case appears.
I will check with my customer to change the requirement and add a button on the section to call the specific process directly on the case..