Interface BpmNotificationDispatcher

All Known Implementing Classes:
BpmNotificationDispatcherImpl

public interface BpmNotificationDispatcher
Orchestrates sending the notifications declared on a BPMN element: extraction, recipient resolution, rendering and delivery. A no-op when the Notifications add-on is absent.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dispatch(org.flowable.bpmn.model.FlowElement flowElement, org.flowable.variable.api.delegate.VariableScope scope, @Nullable org.flowable.task.service.delegate.DelegateTask task, @Nullable String event)
    Dispatches notifications declared on the given element.
  • Method Details

    • dispatch

      void dispatch(org.flowable.bpmn.model.FlowElement flowElement, org.flowable.variable.api.delegate.VariableScope scope, @Nullable org.flowable.task.service.delegate.DelegateTask task, @Nullable String event)
      Dispatches notifications declared on the given element.
      Parameters:
      flowElement - the BPMN element carrying <jmix:notification> declarations
      scope - variable scope (execution or task)
      task - task in scope, or null for a service task
      event - lifecycle event name to filter by (user task), or null to include all declared notifications (service task)