1 Reply Latest reply on Oct 8, 2015 9:32 AM by jimmy001

    Callback when new started process instance is persisted

    jimmy001

      Hello,

       

      I want to notify my client, when a new process instance has been started. The notification triggers the client to make a pull request for the running process instances

      (as result the list contains  one additional process instance). I tried to start triggering the sequence from a ProcessEventListener.afterProcessStarted().

      But the result doesn't contain the new process instance. Most probably because the transaction started by "startProcess" hasn't been commited yet.

      Is there a hook, which is notified, when the new process instance has been commited? Perhaps a CDI observer?

       

      Thx in advance.