I have a need to pause a process if the project is put on hold and then restart again.
I see that there are two methods suspend and resume in the processinstance class.
I would like to know if anybody has successfully implemented this.
The java doc comment in resume() method says
* All timers that have been suspended might fire
* if the duedate has been passed. If an admin resumes a
* process instance, the option should be offered to update,
* remove and create the timers and messages related to
* this process instance.
What was your approach to resume the process instance but remove the timers and message related to this process instance.
Thanks in advance
none yet, it sais 'should' and has not been investigated in much detail. It should be discussed, since you might not want to update all timers (some are e.g. legally bound to certain deadlines). If you have ideas, please post them.