public class DefaultDynamicProcessDefinitionService extends Object implements DynamicProcessDefinitionService
This dynamic process definition service implementation is backed by the Flowable repository service.
Constructor and Description |
---|
DefaultDynamicProcessDefinitionService(AnyWorkObjectDefinitionService anyWorkObjectDefinitionService) |
Modifier and Type | Method and Description |
---|---|
void |
deploySingleServiceTaskProcessDefinition(String processDefinitionKey,
String processName,
String expression,
String resultVariable)
Deploys an expression-based process definition with a single service task.
|
void |
deploySingleUserTaskProcessDefinition(String processDefinitionKey,
String taskDefinitionKey,
String assigneeId,
Set<String> candidateUserIds,
Set<String> candidateGroupIds)
Deploys a process definition with a single user task.
|
void |
deploySingleUserTaskProcessDefinition(String processDefinitionKey,
String taskDefinitionKey,
String assigneeIdExpression,
String candidateUserIdsExpression,
String candidateGroupIdsExpressions)
Deploys an expression-based process definition with a single user task.
|
public DefaultDynamicProcessDefinitionService(AnyWorkObjectDefinitionService anyWorkObjectDefinitionService)
public void deploySingleUserTaskProcessDefinition(String processDefinitionKey, String taskDefinitionKey, String assigneeId, Set<String> candidateUserIds, Set<String> candidateGroupIds)
DynamicProcessDefinitionService
Deploys a process definition with a single user task. The user task is defined using the given parameters.
deploySingleUserTaskProcessDefinition
in interface DynamicProcessDefinitionService
processDefinitionKey
- the key of the processtaskDefinitionKey
- the key of the taskassigneeId
- the task’s initial assigneecandidateUserIds
- the task’s initial candidate userscandidateGroupIds
- the task’s initial candidate groupspublic void deploySingleUserTaskProcessDefinition(String processDefinitionKey, String taskDefinitionKey, String assigneeIdExpression, String candidateUserIdsExpression, String candidateGroupIdsExpressions)
DynamicProcessDefinitionService
Deploys an expression-based process definition with a single user task. The user task is defined using the given parameters.
deploySingleUserTaskProcessDefinition
in interface DynamicProcessDefinitionService
processDefinitionKey
- the key of the processtaskDefinitionKey
- the key of the taskassigneeIdExpression
- the expression of the task’s initial assigneecandidateUserIdsExpression
- the expression of the task’s initial candidate userscandidateGroupIdsExpressions
- the expression of the task’s initial candidate groupspublic void deploySingleServiceTaskProcessDefinition(String processDefinitionKey, String processName, String expression, String resultVariable)
DynamicProcessDefinitionService
Deploys an expression-based process definition with a single service task. The service task is defined using the given parameters.
deploySingleServiceTaskProcessDefinition
in interface DynamicProcessDefinitionService
processDefinitionKey
- the key of the processprocessName
- the name of the processexpression
- the expression the service task needs to executeresultVariable
- the name of the variable that stores the result of executing the expressionCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.