Package | Description |
---|---|
com.bonitasoft.engine.api |
The Bonita project has a clear separation between the API the users should be interacting with and the actual implementation classes.
|
org.bonitasoft.engine.api |
The Bonita project has a clear separation between the API the users should be interacting with and the actual implementation classes.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessManagementAPI.replayActivity(long activityInstanceId)
Set state of
FlowNodeInstance to its previous state and then execute it. |
void |
ProcessManagementAPI.replayActivity(long activityInstanceId,
Map<Long,ConnectorStateReset> connectorsToReset)
Set state of
FlowNodeInstance to its previous state and then execute it. |
Modifier and Type | Method and Description |
---|---|
boolean |
ProcessRuntimeAPI.canExecuteTask(long activityInstanceId,
long userId)
Check whether a specified task can be executed by a given user.
|
ActivityInstance |
ProcessRuntimeAPI.getActivityInstance(long activityInstanceId)
Get the specified activity instance.
|
String |
ProcessRuntimeAPI.getActivityInstanceState(long activityInstanceId)
Get the state of a specified activity instance.
|
ArchivedActivityInstance |
ProcessRuntimeAPI.getArchivedActivityInstance(long sourceActivityInstanceId)
Get an activity instance that is archived.
|
HumanTaskInstance |
ProcessRuntimeAPI.getHumanTaskInstance(long activityInstanceId)
Retrieve a human task instance by the corresponding activity instance id.
|
long |
ProcessRuntimeAPI.getNumberOfActivityDataInstances(long activityInstanceId)
Get the number of activity data instances by activity id.
|
boolean |
ProcessRuntimeAPI.isInvolvedInHumanTaskInstance(long userId,
long humanTaskInstanceId)
Check whether a specific user is involved in a given human task instance.
User A is involved with a human task instance if any of the following is true: the human task instance is assigned to user A the human task instance is pending for user A |
void |
ProcessRuntimeAPI.releaseUserTask(long userTaskId)
Release a task (unclaim or unassign).
|
void |
ProcessRuntimeAPI.retryTask(long activityInstanceId)
Reset the state of a failed
FlowNodeInstance to its previous state and then execute it. |
Copyright © 2018 Bonitasoft S.A.. All rights reserved.