Question

Extension point to execute process when user get out of current work object

Hi,

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).

Do you have an idea to implement this ?

Thanks

Comments

Keep up to date on this post and subscribe to comments

January 14, 2019 - 6:20am

Hello,

I don't fully get it. You have an action on the screen directly calling WorkUnlock? How does the users get out of the page? Are they clicking a button or something?

January 14, 2019 - 7:57am

No action to calling WorkUnlock (I think this activity is called by an OOTB process to unlock the work object).

User get out of the page by clicking on left panel menu item to display another harness. (see attachment)

 

January 14, 2019 - 9:51am
Response to JOHANGRALL

All right,

I would check the configuration side to verify what is actually called behind the scene where clicking "Dossier a traiter" in order to just add an extra activity call maybe.

 

January 14, 2019 - 10:56am

Hi Marc,

 

Thanks for your answer.

The tracer image I have put in the question is exactly what's happen when I clicking on "Dossier à traiter".

I think I can put specific process on this menu item but I don't want to declaratively call a specific process on each menu item; I prefere a procedural call with an extension point.

Can you confirm that an extension point like that doesn't exist ?

In this case I will try a declaratively for each element who allow user to get out of the case  

 

January 14, 2019 - 11:06am
Response to JOHANGRALL

Well,

It is difficult to be fully sure with just a screen shot. But if you couldn't find any maybe you don't have extension point here it is possible.

January 17, 2019 - 9:31am

Hi, 

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..

 

Thanks Marc your help,