AnsweredAssumed Answered

Activiti event for process instance creation?

Question asked by cdeneux on Apr 1, 2015
Latest reply on Apr 21, 2015 by jbarrez
Hi all,

I try to inject dedicated processing on a process instance creation, completion and deletion (for example adding a log trace), with the following constraints:
  • The processing must be applied on all my process definitions deployed
  • The processing must not impact the process definition because it's a technical processing
I found a solution for process instance completion and deletion: adding event listeners on the events PROCESS_COMPLETED and PROCESS_CANCELLED.

But it seems to me that no event PROCESS_CREATED or PROCESS_INSTANCE_CREATED exists ? Can I use event ENTITY_CREATED or ACTIVITY_STARTED ? Or should I investigate another solution ? Or can I add a support of such an event ?

Note: the solution mentioned in [1] can not be applied in my use case because process definitions are impacted.

Thanks for your recommendations,

Christophe DENEUX