
ACTIVITY view
Use this predefined Business Process Choreographer database view for queries on activities.
| Column name | Type | Comments |
|---|---|---|
| PIID | ID | The process instance ID. |
| AIID | ID | The activity instance ID. |
| PTID | ID | The process template ID. |
| ATID | ID | The activity template ID. |
| SIID | ID | The scope instance ID. |
| STID | ID | The ID of the scope of the template. |
| EHIID | ID | The ID of the event handler instance if this activity is part of an event handler. |
| ENCLOSING_FEIID | ID | The ID of the enclosing forEach activity if this activity is nested in another forEach activity. |
| KIND | Integer | The kind of activity. Possible
values are: KIND_INVOKE (21) |
| COMPLETED | Timestamp | The time the activity is completed. |
| ACTIVATED | Timestamp | The time the activity is activated. |
| FIRST_ACTIVATED | Timestamp | The time at which the activity was activated for the first time. |
| STARTED | Timestamp | The time the activity is started. |
| PREVIOUS_EXPIRATION_TIME | Timestamp | The previous expiration time for the activity. |
| STATE | Integer | The state of the activity. Possible
values are: STATE_INACTIVE (1) |
| SUBSTATE | Integer | The
substate of the activity when the process instance was migrated. Possible
values are:
SUB_STATE_NONE (0) |
| STOP_REASON | Integer | The reason why the activity
stopped. Possible values are:
STOP_REASON_UNSPECIFIED (1) |
| OWNER | String | Principal ID of the owner. |
| DESCRIPTION | String | If the activity template description contains placeholders, this column contains the description of the activity instance with the placeholders resolved. |
| TEMPLATE_NAME | String | Name of the associated activity template. |
| TEMPLATE_DESCR | String | Description of the associated activity template. |
| BUSINESS_RELEVANCE | Boolean | Specifies whether the activity is business relevant.
Possible values are:
|
| EXPIRES | Timestamp | The date and time when the activity is due to expire. If the activity has expired, the date and time when this event occurred. |
| INVOKED_INST_ID | Integer | The instance ID of the invoked process or task. You can use the value of the INVOKED_INSTANCE_TYPE column to determine the instance type. |
| INVOKED_INST_TYPE | Integer | The type of the instance ID in the INVOKED_INST_ID
column. Possible values are: INVOKED_INSTANCE_TYPE_NOT_SET (0) |
| SKIP_REQUESTED | Boolean | Specifies whether the activity is marked for skipping. |
| CONTINUE_ON_ERROR | Boolean | Specifies what happens to a process if an unexpected
fault is raised and a fault handler is not defined for that fault.
This column is Initialized with the corresponding value from the activity
template but can be overwritten by the forceComplete and forceRetry APIs. Possible values are:
|