Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.


Chapter 7 Cases : audit_trail

audit_trail
The audit_trail table holds information about each event that has happened to each case on the system.
Structure
The audit_trail table has the following structure:
TABLE audit_trail (
node_id
number(5) NOT NULL,
proc_id number(5) NOT NULL,
casenum number(20) NOT NULL,
type_id number(3) NOT NULL,
audit_date date NOT NULL,
stepdesc varchar2(24) NULL,
user_name varchar2(64) NULL,
stepname varchar2(8) NULL,
audit_usecs number(6) NOT NULL,
major_vers number(5) NOT NULL,
minor_vers number(5) NOT NULL)
a system-defined audit event (<=255), as defined in the SWDIR\etc\language.lng\audit.mes file.
a custom, application-defined event (256-999), as defined in the SWDIR\etc\language.lng\auditusr.mes file.
Note: See "Defining Audit Trail Entries" in TIBCO iProcess swutil and swbatch Reference Guide for more information about system-defined and application-defined audit trail entries.
Note: The audit_usecs column can be combined with this column to provide resolution to a microsecond.
If type_id is:
<= 255, the step description of the step that this audit event occurred to.
=> 256, a user-defined string, containing for example the description of this audit event.
If type_id is:
<= 255, the name of the user who performed this audit event, as defined in the user_names table.
=> 256, a user-defined string, containing for example the name of the user who performed this audit event.
Number of microseconds since the start of the seconds value specified in the audit_date column.
Note: On systems that have been upgraded from Version 9, for any existing cases the 6 least significant digits of the at_id column are copied into this column to ensure that audit trail entries remain in the correct order.
Primary Key
None.
Foreign Keys
The following foreign key is defined for this table.

1
This key enforces the DELETE CASCADE referential action.

Indexes
The following index is defined for this table.
Storage
The following STORAGE values are defined for this table.
Table Activity
The audit_trail table contains one or more rows for each step of each case on the system. Rows are added, updated and deleted in the following situations.

Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.