public class UserTaskActivityBehavior extends TaskActivityBehavior implements ActivityWithMigrationContextBehavior
| Modifier and Type | Field and Description |
|---|---|
protected org.flowable.bpmn.model.UserTask |
userTask |
multiInstanceActivityBehaviorbpmnActivityBehavior| Constructor and Description |
|---|
UserTaskActivityBehavior(org.flowable.bpmn.model.UserTask userTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DelegateExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
void |
execute(DelegateExecution execution,
MigrationContext migrationContext) |
protected Collection<String> |
extractCandidates(Object value) |
protected String |
getAssigneeValue(org.flowable.bpmn.model.UserTask userTask,
MigrationContext migrationContext,
com.fasterxml.jackson.databind.node.ObjectNode taskElementProperties) |
protected String |
getOwnerValue(org.flowable.bpmn.model.UserTask userTask,
MigrationContext migrationContext,
com.fasterxml.jackson.databind.node.ObjectNode taskElementProperties) |
protected void |
handleAssignments(TaskService taskService,
String assignee,
String owner,
List<String> candidateUsers,
List<String> candidateGroups,
TaskEntity task,
ExpressionManager expressionManager,
DelegateExecution execution,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected void |
handleCategory(CreateUserTaskBeforeContext beforeContext,
ExpressionManager expressionManager,
TaskEntity task,
DelegateExecution execution) |
protected void |
handleDescription(CreateUserTaskBeforeContext beforeContext,
ExpressionManager expressionManager,
TaskEntity task,
DelegateExecution execution) |
protected void |
handleDueDate(CreateUserTaskBeforeContext beforeContext,
ExpressionManager expressionManager,
TaskEntity task,
DelegateExecution execution,
ProcessEngineConfigurationImpl processEngineConfiguration,
String activeTaskDueDate) |
protected void |
handleFormKey(CreateUserTaskBeforeContext beforeContext,
ExpressionManager expressionManager,
TaskEntity task,
DelegateExecution execution) |
protected void |
handleName(CreateUserTaskBeforeContext beforeContext,
ExpressionManager expressionManager,
TaskEntity task,
DelegateExecution execution) |
protected void |
handlePriority(CreateUserTaskBeforeContext beforeContext,
ExpressionManager expressionManager,
TaskEntity task,
DelegateExecution execution,
String activeTaskPriority) |
void |
trigger(DelegateExecution execution,
String signalName,
Object signalData) |
getActiveValueListexecuteCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehaviorleaveIgnoreConditions, parseActivityTypepublic UserTaskActivityBehavior(org.flowable.bpmn.model.UserTask userTask)
public void execute(DelegateExecution execution)
FlowNodeActivityBehaviorexecute in interface ActivityBehaviorexecute in class FlowNodeActivityBehaviorpublic void execute(DelegateExecution execution, MigrationContext migrationContext)
execute in interface ActivityWithMigrationContextBehaviorprotected void handleName(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution)
protected void handleDescription(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution)
protected void handleDueDate(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration, String activeTaskDueDate)
protected void handlePriority(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution, String activeTaskPriority)
protected void handleCategory(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution)
protected void handleFormKey(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution)
public void trigger(DelegateExecution execution, String signalName, Object signalData)
trigger in interface TriggerableActivityBehaviortrigger in class FlowNodeActivityBehaviorprotected void handleAssignments(TaskService taskService, String assignee, String owner, List<String> candidateUsers, List<String> candidateGroups, TaskEntity task, ExpressionManager expressionManager, DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration)
protected Collection<String> extractCandidates(Object value)
protected String getAssigneeValue(org.flowable.bpmn.model.UserTask userTask, MigrationContext migrationContext, com.fasterxml.jackson.databind.node.ObjectNode taskElementProperties)
protected String getOwnerValue(org.flowable.bpmn.model.UserTask userTask, MigrationContext migrationContext, com.fasterxml.jackson.databind.node.ObjectNode taskElementProperties)
Copyright © 2022 Flowable. All rights reserved.