Package io.jmix.bpm.notification
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
-
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>declarationsscope- variable scope (execution or task)task- task in scope, ornullfor a service taskevent- lifecycle event name to filter by (user task), ornullto include all declared notifications (service task)
-