Skip to main content
Version: Current

Process Instances API

APIs and models to create and manage your process instances.

API​

The following methods are available in the process instance category.

APIDescription
CreateAsyncCreates a process instance with the specified details inside the connected Control Room.
CreateTaskAsyncCreates task(s) for the participant(s).
GetActivitiesHistoryAsyncGets the activity execution records from the specified process instance.
GetActivityInstanceByIdAsyncGets activity instance of specified activity id inside the connected Control Room.
GetActivityInstanceByInstIdAsyncGets activity instance of specified activity instance id inside the connected Control Room.
GetActivityInstancesAsyncGets activity instances of specified process instance id inside the connected Control Room.
GetAllInstancesAsyncGets all the process instances inside the connected Control Room.
GetInstanceByIdAsyncGets process instance of specified process instance id inside the connected Control Room.
GetInstanceDataAsyncGets process data associated with process instance using the specified process instance id inside the connected Control Room.
GetInstanceLogsAsyncGets logs of specified process instance id inside the connected Control Room.
GetInstanceTasksAsyncGets tasks associated with process instance using the specified process instance ID inside the connected Control Room.
GetModelDataAsyncGets Workflow Data of specified process instance inside the connected Control Room.
UpdateModelDataAsyncUpdates Workflow Data of specified process instance inside the connected Control Room.
GetAgentDataAsyncGets agent data of specified process instance inside the connected Control Room.
UpdateAgentDataAsyncUpdates agent data of specified process instance inside the connected Control Room.
GetWorkflowInstancesByProcessInstanceIdAsyncGets workflow instances associated with the specified process instance ID inside the connected Control Room.
GetModelDataByWorkflowAsyncGets Workflow Data of a specified workflow instance within a process instance, optionally filtered by requested fields, inside the connected Control Room.
GetInstanceStatusByIdAsyncThe API gets the process instance status of the specified process instance ID inside the connected AI Command Center.

Models​

The following models are used by the process instance APIs.

ModelsDescription
ActivityHistoryRepresents the activity execution record.
TaskParticipantRepresents a task participant.
CreateTaskResponseRepresents a response which provides information about tasks created and not created.
TaskCreatedForUserResponseRepresents a response which has the information about a task created for the user.
TaskNotCreatedForParticipantResponseRepresents a response which has the information about the task not created for the task participant.
WorkflowInstanceDataRepresents a workflow instance associated with a process instance.
ModelDataRepresents Workflow Data for a workflow instance within a process instance.
AgentDataRepresents agent data for a process instance, shared across workflows.
ProcessInstanceDataRepresents process instance data, including Workflow Data, Form Data, System Data, and Agent Data.