cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti event for process instance creation?

cdeneux
Champ in-the-making
Champ in-the-making
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,

Regards,
Christophe DENEUX

[1] http://stackoverflow.com/questions/25428147/activiti-event-for-process-instance-creation
10 REPLIES 10

jbarrez
Star Contributor
Star Contributor
Thanks Christophe, we go through the pull requests normally once a week on a dedicated day. Will update on github when there is need for discussion.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.