cancel
Showing results for 
Search instead for 
Did you mean: 

Adding default timer boundary event to user tasks

pfeiffer
Champ in-the-making
Champ in-the-making
Hi all,

I am trying to attach each user task we a timer boundary event that will executed another process. I would like to do this on deployment time and it should be transparent to the user. I was looking into some ways to do this but I did not yet find a clean solution.

The solution that I am looking at now is:

1) In a custom pre deployer get the bpmn resources and back them up (to always have the original version). Modify it and add the boundary timer events in the xml.

2) Let the standard bpmndeployer do its work

3) In a custom post deployer put the original resources back and delete the modified versions.

I will also have to make sure that the generated diagram is the one from the original xml version. It is not very clean to do it this way, but I don't see another solution at this moment. Can you guys come up with another way of doing this ?
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
You can deploy, alongside with your bpmn20.xml, a PNG or GIF file, containing the process definition image. This will prevent the users from looking at a generated image for the process-diagram. For the running processes, where highlighting of active activity is required, this won't work, off course. For this images, the BPMN-DI is still used for generating the diagram.

For the process-instance diagrams, you have 2 options:

- Remove the DI-information from the processes
- Implement the custom BPMNParser like you described