Package | Description |
---|---|
org.activiti.engine |
Public API of the Activiti engine.
Typical usage of the API starts by the creation of a ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine can be obtained.Through the services obtained from such a ProcessEngine , BPM and workflow operation
can be executed:RepositoryService : Manages Deployment s RuntimeService : For starting and searching ProcessInstance s TaskService : Exposes operations to manage human (standalone) Task s,
such as claiming, completing and assigning tasksIdentityService : Used for managing User s,
Group s and the relations between themManagementService : Exposes engine admin and maintenance operations,
which have no relation to the runtime exection of business processesHistoryService : Exposes information about ongoing and past process instances.FormService : Access to form data and rendered forms for starting new process instances and completing tasks. |
org.activiti.engine.runtime |
Classes related to the
RuntimeService . |
Modifier and Type | Method and Description |
---|---|
ExecutionQuery |
RuntimeService.createExecutionQuery()
Creates a new
ExecutionQuery instance, that can be used to query the executions and process instances. |
Modifier and Type | Method and Description |
---|---|
ExecutionQuery |
ExecutionQuery.activityId(String activityId)
Only select executions which contain an activity with the given id.
|
ExecutionQuery |
ExecutionQuery.executionId(String executionId)
Only select executions with the given id.
|
ExecutionQuery |
ExecutionQuery.executionTenantId(String tenantId)
Only select process instances that have the given tenant id.
|
ExecutionQuery |
ExecutionQuery.executionTenantIdLike(String tenantIdLike)
Only select process instances with a tenant id like the given one.
|
ExecutionQuery |
ExecutionQuery.executionWithoutTenantId()
Only select process instances that do not have a tenant id.
|
ExecutionQuery |
ExecutionQuery.locale(String locale)
Localize execution name and description to specified locale.
|
ExecutionQuery |
ExecutionQuery.messageEventSubscriptionName(String messageName)
Only select executions which have a message event subscription for the given messageName.
|
ExecutionQuery |
ExecutionQuery.onlyChildExecutions()
Only selects executions that have a parent id set, ie non-processinstance executions.
|
ExecutionQuery |
ExecutionQuery.onlyProcessInstanceExecutions()
Only selects executions that have no parent id set, ie process instance executions
|
ExecutionQuery |
ExecutionQuery.onlySubProcessExecutions()
Only selects executions that are a subprocess.
|
ExecutionQuery |
ExecutionQuery.orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
ExecutionQuery.orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
ExecutionQuery.orderByProcessInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
ExecutionQuery.orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
ExecutionQuery.parentId(String parentId)
Only select executions which are a direct child-execution of the execution with the given id.
|
ExecutionQuery |
ExecutionQuery.processDefinitionCategory(String processDefinitionCategory)
Only select executions which have the given process definition category.
|
ExecutionQuery |
ExecutionQuery.processDefinitionId(String processDefinitionId)
Only select executions which have the given process definition id.
|
ExecutionQuery |
ExecutionQuery.processDefinitionKey(String processDefinitionKey)
Only select executions which have the given process definition key.
|
ExecutionQuery |
ExecutionQuery.processDefinitionKeys(Set<String> processDefinitionKeys)
Only select executions which have process definitions with the given keys.
|
ExecutionQuery |
ExecutionQuery.processDefinitionName(String processDefinitionName)
Only select executions which have the given process definition name.
|
ExecutionQuery |
ExecutionQuery.processDefinitionVersion(Integer processDefinitionVersion)
Only select executions which have the given process definition version.
|
ExecutionQuery |
ExecutionQuery.processInstanceBusinessKey(String processInstanceBusinessKey)
Only executions with the given business key.
|
ExecutionQuery |
ExecutionQuery.processInstanceBusinessKey(String processInstanceBusinessKey,
boolean includeChildExecutions)
Only executions with the given business key.
|
ExecutionQuery |
ExecutionQuery.processInstanceId(String processInstanceId)
Only select executions which have the given process instance id.
|
ExecutionQuery |
ExecutionQuery.processVariableValueEquals(Object variableValue)
Only select executions which are part of a process that have at least one variable with the given value.
|
ExecutionQuery |
ExecutionQuery.processVariableValueEquals(String variableName,
Object variableValue)
Only select executions which are part of a process that have a variable with the given name set to the given value.
|
ExecutionQuery |
ExecutionQuery.processVariableValueEqualsIgnoreCase(String name,
String value)
Only select executions which are part of a process that have a local string variable with the given value, case insensitive.
|
ExecutionQuery |
ExecutionQuery.processVariableValueLike(String name,
String value)
Only select executions which are part of a process that have at least one variable like the given value.
|
ExecutionQuery |
ExecutionQuery.processVariableValueLikeIgnoreCase(String name,
String value)
Only select executions which are part of a process that have at least one variable like the given value (case insensitive).
|
ExecutionQuery |
ExecutionQuery.processVariableValueNotEquals(String variableName,
Object variableValue)
Only select executions which are part of a process that have a variable with the given name, but with a different value than the passed value.
|
ExecutionQuery |
ExecutionQuery.processVariableValueNotEqualsIgnoreCase(String name,
String value)
Only select executions which are part of a process that have a local string variable which is not the given value, case insensitive.
|
ExecutionQuery |
ExecutionQuery.rootProcessInstanceId(String rootProcessInstanceId)
Only select executions which have the given root process instance id.
|
ExecutionQuery |
ExecutionQuery.signalEventSubscriptionName(String signalName)
Only select executions which have a signal event subscription for the given signal name.
|
ExecutionQuery |
ExecutionQuery.startedAfter(Date afterTime)
Only select executions that were started after the given start time.
|
ExecutionQuery |
ExecutionQuery.startedBefore(Date beforeTime)
Only select executions that were started before the given start time.
|
ExecutionQuery |
ExecutionQuery.startedBy(String userId)
Only select executions that were started after by the given user id.
|
ExecutionQuery |
ExecutionQuery.variableValueEquals(Object value)
Only select executions which have at least one local variable with the given value.
|
ExecutionQuery |
ExecutionQuery.variableValueEquals(String name,
Object value)
Only select executions which have a local variable with the given value.
|
ExecutionQuery |
ExecutionQuery.variableValueEqualsIgnoreCase(String name,
String value)
Only select executions which have a local string variable with the given value, case insensitive.
|
ExecutionQuery |
ExecutionQuery.variableValueGreaterThan(String name,
Object value)
Only select executions which have a local variable value greater than the passed value.
|
ExecutionQuery |
ExecutionQuery.variableValueGreaterThanOrEqual(String name,
Object value)
Only select executions which have a local variable value greater than or equal to the passed value.
|
ExecutionQuery |
ExecutionQuery.variableValueLessThan(String name,
Object value)
Only select executions which have a local variable value less than the passed value.
|
ExecutionQuery |
ExecutionQuery.variableValueLessThanOrEqual(String name,
Object value)
Only select executions which have a local variable value less than or equal to the passed value.
|
ExecutionQuery |
ExecutionQuery.variableValueLike(String name,
String value)
Only select executions which have a local variable value like the given value.
|
ExecutionQuery |
ExecutionQuery.variableValueLikeIgnoreCase(String name,
String value)
Only select executions which have a local variable value like the given value (case insensitive).
|
ExecutionQuery |
ExecutionQuery.variableValueNotEquals(String name,
Object value)
Only select executions which have a local variable with the given name, but with a different value than the passed value.
|
ExecutionQuery |
ExecutionQuery.variableValueNotEqualsIgnoreCase(String name,
String value)
Only select executions which have a local string variable which is not the given value, case insensitive.
|
ExecutionQuery |
ExecutionQuery.withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.
|
Copyright © 2017 Alfresco. All rights reserved.