Class BpmNotificationContext

java.lang.Object
io.jmix.bpm.notifications.BpmNotificationContext
All Implemented Interfaces:
Serializable

public class BpmNotificationContext extends Object implements Serializable
Presents "context" variable that will be accessible during processing notification template, as example:
     Dear ${context.recipientUser.username},
     your subordinate ${context.taskAssigneeUser.username} have one assigned task ${context.taskName}
     from the process ${context.processDefinitionName}.
 
or
     You have to approve the Order ${context.variables.order.number}.
 
WARNING: this functionality is experimental and may be removed in future releases. Please don't use it in your project.
See Also:
  • Constructor Details

    • BpmNotificationContext

      public BpmNotificationContext()
  • Method Details

    • getExecutionId

      public String getExecutionId()
    • setExecutionId

      public void setExecutionId(String executionId)
    • getProcessDefinitionId

      public String getProcessDefinitionId()
    • setProcessDefinitionId

      public void setProcessDefinitionId(String processDefinitionId)
    • getProcessDefinitionName

      public String getProcessDefinitionName()
    • setProcessDefinitionName

      public void setProcessDefinitionName(String processDefinitionName)
    • getProcessId

      public String getProcessId()
    • setProcessId

      public void setProcessId(String processId)
    • getTaskId

      public String getTaskId()
    • setTaskId

      public void setTaskId(String taskId)
    • getTaskName

      public String getTaskName()
    • setTaskName

      public void setTaskName(String taskName)
    • getRecipientUser

      public org.springframework.security.core.userdetails.UserDetails getRecipientUser()
    • setRecipientUser

      public void setRecipientUser(org.springframework.security.core.userdetails.UserDetails recipientUser)
    • getTaskAssigneeUser

      public org.springframework.security.core.userdetails.UserDetails getTaskAssigneeUser()
    • setTaskAssigneeUser

      public void setTaskAssigneeUser(org.springframework.security.core.userdetails.UserDetails taskAssigneeUser)
    • getVariables

      public Map<String,Object> getVariables()
    • setVariables

      public void setVariables(Map<String,Object> variables)