AUDIT_LOG_B view
Use this predefined Business Process Choreographer database view for queries on audit log information for BPEL processes.
Inline tasks are logged in both the AUDIT_LOG_B view and in the TASK_AUDIT_LOG view. For example, claiming an inline participating task results in a TASK_CLAIMED event and an ACTIVITY_CLAIMED event. All other task types are only logged in the TASK_AUDIT_LOG view. Depending on the choices made in IBM® Integration Designer, inline human tasks can also trigger Common Event Infrastructure (CEI) events to be emitted for Business Flow Manager staff activity events and Human Task Manager task events.
Audit events are related to process entities. The audit event types depend on the entity to which the event refers. The audit event types include:
- Process template events (PTE)
- Process instance events (PIE)
- Activity instance events (AIE)
- Events related to variables (VAR)
- Control link events (CLE)
- Scope-related events (SIE).
The following table describes the AUDIT_LOG_B view.
It lists the names of the columns, the event types, and gives a short
description for the column.
| Name | PTE | PIE | AIE | VAR | CLE | SIE | Description |
|---|---|---|---|---|---|---|---|
| AIID | x | The ID of the activity instance that is related to the current event. | |||||
| ALID | x | x | x | x | x | x | Identifier of the audit log entry. |
| EVENT_TIME | x | x | x | x | x | x | Timestamp of when the event occurred in Coordinated Universal Time (UTC) format. |
| EVENT_TIME_UTC | x | x | x | x | x | x | Timestamp of when the event occurred in Coordinated Universal Time (UTC) format. |
| AUDIT_EVENT | x | x | x | x | x | x | The type of event that occurred. |
| ACTIVITY_KIND | x | Kind of the activity on which the event occurred.
Possible values are: KIND_EMPTY 3
KIND_INVOKE 21 KIND_RECEIVE 23 KIND_REPLY 24 KIND_THROW 25 KIND_TERMINATE 26 KIND_WAIT 27 KIND_COMPENSATE 29 KIND_SEQUENCE 30 KIND_SWITCH 32 KIND_WHILE 34 KIND_PICK 36 KIND_FLOW 38 KIND_SCRIPT 42 KIND_STAFF 43 KIND_ASSIGN 44 KIND_CUSTOM 45 KIND_RETHROW 46 KIND_FOR_EACH_SERIAL 47 KIND_FOR_EACH_PARALLEL 49 KIND_REPEAT_UNTIL 52 These are the constants defined for ActivityInstanceData.KIND_* |
|||||
| ACTIVITY_NAME | x | x | Name of the activity on which the event occurred. | ||||
| ACTIVITY_STATE | x | State of the activity that is related to the
event. Possible values are: STATE_INACTIVE 1
STATE_READY 2 STATE_RUNNING 3 STATE_SKIPPED 4 STATE_FINISHED 5 STATE_FAILED 6 STATE_TERMINATED 7 STATE_CLAIMED 8 STATE_TERMINATING 9 STATE_FAILING 10 STATE_WAITING 11 STATE_EXPIRED 12 STATE_STOPPED 13 These are the constants defined for ActivityInstanceData.STATE_* |
|||||
| ADDITIONAL_INFO | x | x | x | The contents of this field depends on the type
of the event:
|
|||
| ATID | x | The ID of the activity template related to the current event. | |||||
| CONTROL_LINK_NAME | x | Name of the link that is related to the current link event. | |||||
| CORR_SET_INFO | x | The string representation of the correlation set that was initialized at process start time. Provided with the processCorrelationSetInitialized event (42027). | |||||
| DESCRIPTION | x | x | x | x | x | Description of activity or process, containing potentially resolved replacement variables. | |
| EXCEPTION_TEXT | x | x | x | Exception message that caused an activity or
process to fail. Applicable for: PROCESS_FAILED
ACTIVITY_FAILED SCOPE_FAILED |
|||
| PARENT_PIID | x | x | x | x | x | Process instance ID of the parent
process, or null if no parent exists. |
|
| PIID | x | x | x | x | x | Process instance ID of the process instance that is related to the current event. | |
| PRINCIPAL | x | x | x | x | x | Name of the principal. This is not set for PROCESS_DELETED events. | |
| PROCESS_APP_ACRONYM | x | x | x | x | x | x | The acronym of the process application if the root container is a process application. This is only set if the BPEL process is deployed from the Workflow Center. |
| PROCESS_TEMPL_NAME | x | x | x | x | x | x | Process template name of the process template that is related to the current event. |
| PTID | x | x | x | x | x | x | Process template ID of the process that is related to the current event. |
| SIID | x | The ID of the scope instance related to the event. | |||||
| SNAPSHOT_ID | x | x | x | x | x | x | The snapshot ID of the root container, which can be either a process application or a toolkit. This is only set if the BPEL process is deployed from the Workflow Center. |
| SNAPSHOT_NAME | x | x | x | x | x | x | The snapshot name of the root container. This is only set if the BPEL process is deployed from the Workflow Center. |
| TOP_LEVEL_PIID | x | x | x | x | x | Identifier of the top-level process that is related to the current event. | |
| USER_NAME | x | x | The name of the user whose work item has been
changed. This is applicable for the following events:
|
||||
| VALID_FROM | x | x | x | x | x | x | Valid-from date of the process template that is related to the current event. |
| VALID_FROM_UTC | x | x | x | x | x | x | Valid-from date of the process template that is related to the current event in Coordinated Universal Time (UTC) format. |
| VARIABLE_DATA | x | Data for variables for variable
updated events. |
|||||
| VARIABLE_NAME | x | The name of the variable related to the current event. |