Class SlaModelUtil
java.lang.Object
com.flowable.platform.service.sla.SlaModelUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DatecalculateDueDate(int dueDateValue, String dueDateExpression, String timeUnit, Date currentDate, SlaDefinitionModel slaDefinitionModel, EscalationDefinition escalationDefinition, org.flowable.common.engine.api.variable.VariableContainer variableContainer, Supplier<org.flowable.common.engine.impl.el.ExpressionManager> expressionManagerSupplier, boolean useLegacyHoursPerDayCalculation) protected static DatecalculateDueDateBackwards(int dueDateValue, String dueDateExpression, String timeUnit, Date currentDate, SlaDefinitionModel slaDefinitionModel, EscalationDefinition escalationDefinition, org.flowable.common.engine.api.variable.VariableContainer variableContainer, Supplier<org.flowable.common.engine.impl.el.ExpressionManager> expressionManagerSupplier, boolean useLegacyHoursPerDayCalculation) static LocalDateTimeconvertToLocalDateTime(Date date) static org.flowable.job.service.impl.persistence.entity.TimerJobEntitycreateDueDateTimerJob(String type, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) static org.flowable.job.service.impl.persistence.entity.TimerJobEntitycreateEscalationTimerJob(EscalationDefinition escalationDefinition, String slaDefinitionId, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) static voidcreateInProgressStartActionInstance(org.flowable.task.service.delegate.DelegateTask delegateTask, String actionDefinitionKey, org.flowable.common.engine.impl.persistence.cache.EntityCache entityCache, ActionEngineConfiguration actionEngineConfiguration) static voidcreateSlaAuditInstance(org.flowable.cmmn.api.runtime.CaseInstance caseInstance, Date completionDueDate, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.runtime.Clock clock, boolean enableSlaAuditInstanceToElastic) static voidcreateSlaAuditInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, Date completionDueDate, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.runtime.Clock clock, boolean enableSlaAuditInstanceToElastic) static voidcreateSlaAuditInstance(org.flowable.task.service.delegate.DelegateTask delegateTask, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.runtime.Clock clock, boolean enableSlaAuditInstanceToElastic) evaluateInParameters(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.api.variable.VariableContainer taskEntity, org.flowable.common.engine.impl.el.ExpressionManager expressionManager) protected static Stringprotected static Stringprotected static StringgetDefaultMailFrom(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity) protected static longgetDueDateExpressionValue(String expressionValue, org.flowable.common.engine.api.variable.VariableContainer variableContainer, Supplier<org.flowable.common.engine.impl.el.ExpressionManager> expressionManagerSupplier) protected static org.flowable.common.engine.impl.el.ExpressionManagergetExpressionManagerForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity) protected static org.flowable.mail.common.api.client.FlowableMailClientgetMailClient(String scopeType, String tenantId) static SlaDefinitiongetSlaDefinition(String slaDefinitionKey, String tenantId) protected static SlaDefinitionModelgetSlaDefinitionModelForBpmnTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task) protected static SlaDefinitionModelgetSlaDefinitionModelForCmmnTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task) static SlaDefinitionModelgetSlaDefinitionModelForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity) protected static voidhandleActionDefinition(String action, com.fasterxml.jackson.databind.JsonNode actionConfig, String condition, org.flowable.common.engine.api.variable.VariableContainer variableContainer, String scopeType, String scopeId, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext, Consumer<com.fasterxml.jackson.databind.JsonNode> priorityConsumer, Consumer<com.fasterxml.jackson.databind.JsonNode> variableConsumer, Consumer<com.fasterxml.jackson.databind.JsonNode> assigmentConsumer, BiConsumer<org.flowable.cmmn.api.runtime.CaseInstanceBuilder, org.flowable.engine.runtime.ProcessInstanceBuilder> instanceBuilderConsumer) static voidhandleActionDefinitionForCaseInstance(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaActionDefinition slaActionDefinition, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleActionDefinitionForProcessInstances(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaActionDefinition slaActionDefinition, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleActionDefinitionForTaskInstances(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaActionDefinition slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) protected static voidhandleActionDefinitionsForCaseInstance(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, List<? extends SlaActionDefinition> slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) protected static voidhandleActionDefinitionsForProcessInstances(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, List<? extends SlaActionDefinition> slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleActionDefinitionsForTaskInstance(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, List<? extends SlaActionDefinition> slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleAssignmentDefinitions(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleAssignmentDefinitions(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleAssignmentDefinitions(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleAssignmentForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task, ApplicationContext applicationContext) protected static voidhandleChangeVariableValueAction(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.api.variable.VariableContainer instance, String scopeType, String scopeId) static voidhandleCompleteForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task, ApplicationContext applicationContext) static voidhandleCompletionDefinitions(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleCompletionDefinitions(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static voidhandleCompletionDefinitions(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) protected static voidhandleEmailAction(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.api.variable.VariableContainer variableContainer, String scopeType) protected static voidhandleInitializationDefinitions(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) protected static voidhandleInitializationDefinitions(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) protected static voidhandleInitializationDefinitions(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) protected static voidhandleSendConversationMessageAction(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.api.variable.VariableContainer variableContainer, ApplicationContext applicationContext) static SlaDefinitionModelhandleSlaDefinitionConfig(SlaDefinition slaDefinition, org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static SlaDefinitionModelhandleSlaDefinitionConfig(SlaDefinition slaDefinition, org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) static SlaDefinitionModelhandleSlaDefinitionConfig(SlaDefinition slaDefinition, org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.impl.runtime.Clock clock, ApplicationContext applicationContext, boolean useLegacyHoursPerDayCalculation) protected static voidhandleStartProcessAction(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.api.variable.VariableContainer variableContainer, String scopeType, String scopeId, BiConsumer<org.flowable.cmmn.api.runtime.CaseInstanceBuilder, org.flowable.engine.runtime.ProcessInstanceBuilder> instanceBuilderConsumer) protected static booleanhasNonEmptyTextAttribute(com.fasterxml.jackson.databind.JsonNode node, String attributeName) protected static org.flowable.mail.common.api.client.ExecutableSendMailRequestprepareExecutableSendMailRequest(String scopeType, String tenantId, com.fasterxml.jackson.databind.JsonNode staticToValues, Object toExpressionValue, com.fasterxml.jackson.databind.JsonNode staticCcValues, Object ccExpressionValue, String subjectValue, String bodyValue) static SlaDefinitionModelresolveSlaDefinitionModel(String slaDefinitionKey, String tenantId) static voidscheduleDueDateTimerJob(org.flowable.job.service.impl.persistence.entity.TimerJobEntity timerJob, Date dueDate, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) static voidscheduleEscalationTimerJob(org.flowable.job.service.impl.persistence.entity.TimerJobEntity timerJob, EscalationDefinition escalationDefinition, SlaDefinitionModel slaDefinitionModel, Date instanceCompletionDate, Date currentDate, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration, org.flowable.common.engine.api.variable.VariableContainer variableContainer, Supplier<org.flowable.common.engine.impl.el.ExpressionManager> expressionManagerSupplier, boolean useLegacyHoursPerDayCalculation) static voidscheduleEscalationTimerJob(org.flowable.job.service.impl.persistence.entity.TimerJobEntity timerJob, EscalationDefinition escalationDefinition, SlaDefinitionModel slaDefinitionModel, org.flowable.task.service.delegate.DelegateTask delegateTask, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration, boolean useLegacyHoursPerDayCalculation) transformToList(com.fasterxml.jackson.databind.JsonNode staticValues, Object expressionValue)
-
Constructor Details
-
SlaModelUtil
public SlaModelUtil()
-
-
Method Details
-
resolveSlaDefinitionModel
public static SlaDefinitionModel resolveSlaDefinitionModel(String slaDefinitionKey, String tenantId) -
getSlaDefinition
-
handleSlaDefinitionConfig
public static SlaDefinitionModel handleSlaDefinitionConfig(SlaDefinition slaDefinition, org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.impl.runtime.Clock clock, ApplicationContext applicationContext, boolean useLegacyHoursPerDayCalculation) -
handleSlaDefinitionConfig
public static SlaDefinitionModel handleSlaDefinitionConfig(SlaDefinition slaDefinition, org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleSlaDefinitionConfig
public static SlaDefinitionModel handleSlaDefinitionConfig(SlaDefinition slaDefinition, org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
createInProgressStartActionInstance
public static void createInProgressStartActionInstance(org.flowable.task.service.delegate.DelegateTask delegateTask, String actionDefinitionKey, org.flowable.common.engine.impl.persistence.cache.EntityCache entityCache, ActionEngineConfiguration actionEngineConfiguration) -
createSlaAuditInstance
public static void createSlaAuditInstance(org.flowable.task.service.delegate.DelegateTask delegateTask, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.runtime.Clock clock, boolean enableSlaAuditInstanceToElastic) -
createSlaAuditInstance
public static void createSlaAuditInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, Date completionDueDate, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.runtime.Clock clock, boolean enableSlaAuditInstanceToElastic) -
createSlaAuditInstance
public static void createSlaAuditInstance(org.flowable.cmmn.api.runtime.CaseInstance caseInstance, Date completionDueDate, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.runtime.Clock clock, boolean enableSlaAuditInstanceToElastic) -
createEscalationTimerJob
public static org.flowable.job.service.impl.persistence.entity.TimerJobEntity createEscalationTimerJob(EscalationDefinition escalationDefinition, String slaDefinitionId, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) -
scheduleEscalationTimerJob
public static void scheduleEscalationTimerJob(org.flowable.job.service.impl.persistence.entity.TimerJobEntity timerJob, EscalationDefinition escalationDefinition, SlaDefinitionModel slaDefinitionModel, org.flowable.task.service.delegate.DelegateTask delegateTask, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration, boolean useLegacyHoursPerDayCalculation) -
scheduleEscalationTimerJob
public static void scheduleEscalationTimerJob(org.flowable.job.service.impl.persistence.entity.TimerJobEntity timerJob, EscalationDefinition escalationDefinition, SlaDefinitionModel slaDefinitionModel, Date instanceCompletionDate, Date currentDate, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration, org.flowable.common.engine.api.variable.VariableContainer variableContainer, Supplier<org.flowable.common.engine.impl.el.ExpressionManager> expressionManagerSupplier, boolean useLegacyHoursPerDayCalculation) -
getExpressionManagerForTask
protected static org.flowable.common.engine.impl.el.ExpressionManager getExpressionManagerForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity) -
createDueDateTimerJob
public static org.flowable.job.service.impl.persistence.entity.TimerJobEntity createDueDateTimerJob(String type, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) -
scheduleDueDateTimerJob
public static void scheduleDueDateTimerJob(org.flowable.job.service.impl.persistence.entity.TimerJobEntity timerJob, Date dueDate, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) -
handleActionDefinition
protected static void handleActionDefinition(String action, com.fasterxml.jackson.databind.JsonNode actionConfig, String condition, org.flowable.common.engine.api.variable.VariableContainer variableContainer, String scopeType, String scopeId, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext, Consumer<com.fasterxml.jackson.databind.JsonNode> priorityConsumer, Consumer<com.fasterxml.jackson.databind.JsonNode> variableConsumer, Consumer<com.fasterxml.jackson.databind.JsonNode> assigmentConsumer, BiConsumer<org.flowable.cmmn.api.runtime.CaseInstanceBuilder, org.flowable.engine.runtime.ProcessInstanceBuilder> instanceBuilderConsumer) -
handleSendConversationMessageAction
protected static void handleSendConversationMessageAction(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.api.variable.VariableContainer variableContainer, ApplicationContext applicationContext) -
handleStartProcessAction
protected static void handleStartProcessAction(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.api.variable.VariableContainer variableContainer, String scopeType, String scopeId, BiConsumer<org.flowable.cmmn.api.runtime.CaseInstanceBuilder, org.flowable.engine.runtime.ProcessInstanceBuilder> instanceBuilderConsumer) -
handleEmailAction
protected static void handleEmailAction(com.fasterxml.jackson.databind.JsonNode actionConfig, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, org.flowable.common.engine.api.variable.VariableContainer variableContainer, String scopeType) -
prepareExecutableSendMailRequest
protected static org.flowable.mail.common.api.client.ExecutableSendMailRequest prepareExecutableSendMailRequest(String scopeType, String tenantId, com.fasterxml.jackson.databind.JsonNode staticToValues, Object toExpressionValue, com.fasterxml.jackson.databind.JsonNode staticCcValues, Object ccExpressionValue, String subjectValue, String bodyValue) -
handleAssignmentForTask
public static void handleAssignmentForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task, ApplicationContext applicationContext) -
handleCompleteForTask
public static void handleCompleteForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task, ApplicationContext applicationContext) -
evaluateInParameters
-
handleChangeVariableValueAction
-
handleInitializationDefinitions
protected static void handleInitializationDefinitions(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleInitializationDefinitions
protected static void handleInitializationDefinitions(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
hasNonEmptyTextAttribute
protected static boolean hasNonEmptyTextAttribute(com.fasterxml.jackson.databind.JsonNode node, String attributeName) -
handleInitializationDefinitions
protected static void handleInitializationDefinitions(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleAssignmentDefinitions
public static void handleAssignmentDefinitions(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleAssignmentDefinitions
public static void handleAssignmentDefinitions(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleAssignmentDefinitions
public static void handleAssignmentDefinitions(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleCompletionDefinitions
public static void handleCompletionDefinitions(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleCompletionDefinitions
public static void handleCompletionDefinitions(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleCompletionDefinitions
public static void handleCompletionDefinitions(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaDefinitionModel slaDefinitionModel, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleActionDefinitionsForTaskInstance
public static void handleActionDefinitionsForTaskInstance(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, List<? extends SlaActionDefinition> slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleActionDefinitionForTaskInstances
public static void handleActionDefinitionForTaskInstances(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, SlaActionDefinition slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleActionDefinitionsForCaseInstance
protected static void handleActionDefinitionsForCaseInstance(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, List<? extends SlaActionDefinition> slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleActionDefinitionForCaseInstance
public static void handleActionDefinitionForCaseInstance(org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntity caseInstance, SlaActionDefinition slaActionDefinition, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleActionDefinitionsForProcessInstances
protected static void handleActionDefinitionsForProcessInstances(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, List<? extends SlaActionDefinition> slaActionDefinitions, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
handleActionDefinitionForProcessInstances
public static void handleActionDefinitionForProcessInstances(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, SlaActionDefinition slaActionDefinition, org.flowable.common.engine.impl.el.ExpressionManager expressionManager, ApplicationContext applicationContext) -
getMailClient
-
calculateDueDate
public static Date calculateDueDate(int dueDateValue, String dueDateExpression, String timeUnit, Date currentDate, SlaDefinitionModel slaDefinitionModel, EscalationDefinition escalationDefinition, org.flowable.common.engine.api.variable.VariableContainer variableContainer, Supplier<org.flowable.common.engine.impl.el.ExpressionManager> expressionManagerSupplier, boolean useLegacyHoursPerDayCalculation) -
calculateDueDateBackwards
protected static Date calculateDueDateBackwards(int dueDateValue, String dueDateExpression, String timeUnit, Date currentDate, SlaDefinitionModel slaDefinitionModel, EscalationDefinition escalationDefinition, org.flowable.common.engine.api.variable.VariableContainer variableContainer, Supplier<org.flowable.common.engine.impl.el.ExpressionManager> expressionManagerSupplier, boolean useLegacyHoursPerDayCalculation) -
getDueDateExpressionValue
-
getDefaultMailFrom
protected static String getDefaultMailFrom(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity) -
getDefaultBpmnMailFrom
-
getDefaultCmmnMailFrom
-
transformToList
-
getSlaDefinitionModelForTask
public static SlaDefinitionModel getSlaDefinitionModelForTask(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity) -
getSlaDefinitionModelForBpmnTask
protected static SlaDefinitionModel getSlaDefinitionModelForBpmnTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task) -
getSlaDefinitionModelForCmmnTask
protected static SlaDefinitionModel getSlaDefinitionModelForCmmnTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task) -
convertToLocalDateTime
-