Interface BpmNotificationRecipientResolver

All Known Implementing Classes:
BpmNotificationRecipientResolverImpl

public interface BpmNotificationRecipientResolver
Resolves the set of users a notification should be delivered to, from its declared recipient type.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.springframework.security.core.userdetails.UserDetails>
    resolveRecipients(NotificationDefinition definition, org.flowable.variable.api.delegate.VariableScope scope, @Nullable org.flowable.task.service.delegate.DelegateTask task)
    Resolves recipients for a notification definition.
  • Method Details

    • resolveRecipients

      List<org.springframework.security.core.userdetails.UserDetails> resolveRecipients(NotificationDefinition definition, org.flowable.variable.api.delegate.VariableScope scope, @Nullable org.flowable.task.service.delegate.DelegateTask task)
      Resolves recipients for a notification definition.
      Parameters:
      definition - notification definition
      scope - the variable scope (execution or task) used to evaluate expressions
      task - the task in scope, or null for a service task; required for assignee/candidate recipient types
      Returns:
      distinct recipients; empty if none resolve