@Service public class ProcessInstanceService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FlowableClientService |
clientUtil |
static String |
CURRENT_ACTIVITY_INSTANCE_LIST_URL |
static String |
HISTORIC_ACTIVITY_INSTANCE_LIST_URL |
static String |
HISTORIC_DECISION_EXECUTION_LIST_URL |
static String |
HISTORIC_PROCESS_INSTANCE_URL |
static String |
HISTORIC_TASK_LIST_URL |
static String |
HISTORIC_VARIABLE_INSTANCE_LIST_URL |
protected JobService |
jobService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
static String |
RUNTIME_PROCESS_INSTANCE_CHANGE_STATE_URL |
static String |
RUNTIME_PROCESS_INSTANCE_MIGRATE_URL |
static String |
RUNTIME_PROCESS_INSTANCE_URL |
static String |
RUNTIME_PROCESS_INSTANCE_VARIABLE_URL |
static String |
RUNTIME_PROCESS_INSTANCE_VARIABLES |
| Constructor and Description |
|---|
ProcessInstanceService() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeActivityState(ServerConfig serverConfig,
String processInstanceId,
com.fasterxml.jackson.databind.JsonNode changeActivityBody) |
void |
createVariable(ServerConfig serverConfig,
String processInstanceId,
com.fasterxml.jackson.databind.node.ObjectNode objectNode) |
void |
deleteVariable(ServerConfig serverConfig,
String processInstanceId,
String variableName) |
void |
executeAction(ServerConfig serverConfig,
String processInstanceId,
com.fasterxml.jackson.databind.JsonNode actionBody) |
List<String> |
getCompletedActivityInstancesAndProcessDefinitionId(ServerConfig serverConfig,
String processInstanceId) |
List<String> |
getCurrentActivityInstances(ServerConfig serverConfig,
String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getDecisionExecutions(ServerConfig serverConfig,
String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getJobs(ServerConfig serverConfig,
String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getProcessInstance(ServerConfig serverConfig,
String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getSubProcesses(ServerConfig serverConfig,
String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getTasks(ServerConfig serverConfig,
String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getVariables(ServerConfig serverConfig,
String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
listProcesInstances(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig) |
com.fasterxml.jackson.databind.JsonNode |
listProcesInstancesForProcessDefinition(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig) |
void |
migrateProcessInstance(ServerConfig serverConfig,
String processInstanceId,
String migrationDocument) |
void |
updateVariable(ServerConfig serverConfig,
String processInstanceId,
String variableName,
com.fasterxml.jackson.databind.node.ObjectNode objectNode) |
public static final String HISTORIC_PROCESS_INSTANCE_URL
public static final String HISTORIC_TASK_LIST_URL
public static final String HISTORIC_VARIABLE_INSTANCE_LIST_URL
public static final String HISTORIC_ACTIVITY_INSTANCE_LIST_URL
public static final String HISTORIC_DECISION_EXECUTION_LIST_URL
public static final String CURRENT_ACTIVITY_INSTANCE_LIST_URL
public static final String RUNTIME_PROCESS_INSTANCE_URL
public static final String RUNTIME_PROCESS_INSTANCE_VARIABLES
public static final String RUNTIME_PROCESS_INSTANCE_VARIABLE_URL
public static final String RUNTIME_PROCESS_INSTANCE_CHANGE_STATE_URL
public static final String RUNTIME_PROCESS_INSTANCE_MIGRATE_URL
@Autowired protected FlowableClientService clientUtil
@Autowired protected JobService jobService
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public com.fasterxml.jackson.databind.JsonNode listProcesInstances(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig)
public com.fasterxml.jackson.databind.JsonNode listProcesInstancesForProcessDefinition(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig)
public com.fasterxml.jackson.databind.JsonNode getProcessInstance(ServerConfig serverConfig, String processInstanceId)
public com.fasterxml.jackson.databind.JsonNode getTasks(ServerConfig serverConfig, String processInstanceId)
public com.fasterxml.jackson.databind.JsonNode getDecisionExecutions(ServerConfig serverConfig, String processInstanceId)
public com.fasterxml.jackson.databind.JsonNode getVariables(ServerConfig serverConfig, String processInstanceId)
public void updateVariable(ServerConfig serverConfig, String processInstanceId, String variableName, com.fasterxml.jackson.databind.node.ObjectNode objectNode)
public void createVariable(ServerConfig serverConfig, String processInstanceId, com.fasterxml.jackson.databind.node.ObjectNode objectNode)
public void deleteVariable(ServerConfig serverConfig, String processInstanceId, String variableName)
public void executeAction(ServerConfig serverConfig, String processInstanceId, com.fasterxml.jackson.databind.JsonNode actionBody) throws FlowableServiceException
FlowableServiceExceptionpublic void changeActivityState(ServerConfig serverConfig, String processInstanceId, com.fasterxml.jackson.databind.JsonNode changeActivityBody) throws FlowableServiceException
FlowableServiceExceptionpublic void migrateProcessInstance(ServerConfig serverConfig, String processInstanceId, String migrationDocument) throws FlowableServiceException
FlowableServiceExceptionpublic com.fasterxml.jackson.databind.JsonNode getSubProcesses(ServerConfig serverConfig, String processInstanceId)
public com.fasterxml.jackson.databind.JsonNode getJobs(ServerConfig serverConfig, String processInstanceId)
public List<String> getCompletedActivityInstancesAndProcessDefinitionId(ServerConfig serverConfig, String processInstanceId)
public List<String> getCurrentActivityInstances(ServerConfig serverConfig, String processInstanceId)
Copyright © 2020 Flowable. All rights reserved.