Package | Description |
---|---|
org.bonitasoft.engine.api | |
org.bonitasoft.engine.bpm.process.impl |
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
ProcessRuntimeAPI.getProcessInstance(long processInstanceId)
Get an instance of process with its processInstance id.
|
ProcessInstance |
ProcessRuntimeAPI.startProcess(long processDefinitionId)
Start an instance of the process definition having processDefinitionId, and using the current session user
|
ProcessInstance |
ProcessRuntimeAPI.startProcess(long processDefinitionId,
List<Operation> operations,
Map<String,Serializable> context)
Start a process by process definition id
|
ProcessInstance |
ProcessRuntimeAPI.startProcess(long userId,
long processDefinitionId)
Start the process on behalf of a given user name
|
ProcessInstance |
ProcessRuntimeAPI.startProcess(long userId,
long processDefinitionId,
List<Operation> operations,
Map<String,Serializable> context)
Start an instance of the process definition on behalf of a given user, and set the initial values of the data with the given operations.
|
Modifier and Type | Method and Description |
---|---|
List<ProcessInstance> |
ProcessRuntimeAPI.getProcessInstances(int startIndex,
int maxResults,
ProcessInstanceCriterion criterion)
Get all process instances, the returned list is paginated
|
SearchResult<ProcessInstance> |
ProcessRuntimeAPI.searchOpenProcessInstances(SearchOptions searchOptions)
List all open process instances
|
SearchResult<ProcessInstance> |
ProcessRuntimeAPI.searchOpenProcessInstancesInvolvingUser(long userId,
SearchOptions searchOptions)
Searches for open process instances that the user can access
|
SearchResult<ProcessInstance> |
ProcessRuntimeAPI.searchOpenProcessInstancesInvolvingUsersManagedBy(long managerUserId,
SearchOptions searchOptions)
Searches for open process instances that all subordinates of the specific manager can access
|
SearchResult<ProcessInstance> |
ProcessRuntimeAPI.searchOpenProcessInstancesSupervisedBy(long userId,
SearchOptions searchOptions)
List all open process instances supervised by a user.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessRuntimeAPI.setProcessInstanceState(ProcessInstance processInstance,
String state)
Set a process instance's state.
|
Modifier and Type | Class and Description |
---|---|
class |
ProcessInstanceImpl |
Copyright © 2013 BonitaSoft. All Rights Reserved.