Class ProcessStartedEventListener

java.lang.Object
io.jmix.bpm.engine.eventlistener.ProcessStartedEventListener
All Implemented Interfaces:
org.flowable.common.engine.api.delegate.event.FlowableEventListener

@Component("bpm_ProcessStartedEventListener") public class ProcessStartedEventListener extends Object implements org.flowable.common.engine.api.delegate.event.FlowableEventListener
An event listener that publishes a Spring application event when a process is started and sets an initiator of process into process variables if appropriate property is set.
See Also:
  • BpmProperties.processInitiatorVariableEnabled
  • BpmProperties.processInitiatorVariableName
  • Constructor Details

    • ProcessStartedEventListener

      public ProcessStartedEventListener()
  • Method Details

    • onEvent

      public void onEvent(org.flowable.common.engine.api.delegate.event.FlowableEvent event)
      Specified by:
      onEvent in interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
    • isFailOnException

      public boolean isFailOnException()
      Specified by:
      isFailOnException in interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
    • isFireOnTransactionLifecycleEvent

      public boolean isFireOnTransactionLifecycleEvent()
      Specified by:
      isFireOnTransactionLifecycleEvent in interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
    • getOnTransaction

      public String getOnTransaction()
      Specified by:
      getOnTransaction in interface org.flowable.common.engine.api.delegate.event.FlowableEventListener