Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# proc_audit

The `proc_audit` table stores audit events for a version of a procedure (or sub-procedure or sub-procedure parameter template). An audit event occurs whenever:

| • | a version is created, updated, released or withdrawn,

| • | the procedure definition instance associated with the version is updated. (For example, when a user makes changes to the procedure definition in the iProcess Modeler but does not change the version number).

## Structure

The `proc_audit` table has the following structure:

    TABLE proc_audit(
    	node_id		INTEGER			NOT NULL,
    	proc_id		INTEGER			NOT NULL,
    	major_vers	SMALLINT		NOT NULL,
    	minor_vers	SMALLINT		NOT NULL,
    	pd_version	SMALLINT		NULL,
    	pa_comment	VARCHAR(128)		NULL,
    	pa_event	SMALLINT		NULL,
    	pa_date		DATETIME		NULL,
    	pa_user		VARCHAR(24)		NULL)

Column | Description
`node_id` | ID of the node that this audit event is stored on, as defined in the nodes table.
`proc_id` | Procedure number of the procedure associated with this audit event, as defined in the proc_index table.
`major_vers` | Major version number of the version associated with this audit event, as defined in the proc_version table.
`minor_vers` | Minor version number of the version associated with this audit event, as defined in the proc_version table.
`pd_version` | Instance number of the procedure definition associated with this audit event, as defined in the proc_instance table.
`pa_comment` | Comment describing the audit event.
`pa_event` | The audit event that occurred. Either: Created (`0`), Updated (`1`), Released (`2`) or Withdrawn (`3`).
`pa_date` | Date and time that the audit event occurred.
`pa_user` | Name of the user who performed the audit event, as defined in the user_names table.

## Primary Key

None.

## Triggers

None.

## Indexes

The following index is defined for this table.

Index Name | Column(s) Indexed
`idx_proc_audit_fk` | `node_id proc_id`

## Table Activity

The `proc_audit` table contains one row for every audit event for every version of every procedure (or sub-procedure or sub-procedure parameter template) defined on the system.

Rows are added, updated and deleted in the following situations.

A row is... | When...
added | a version is created, updated, released or withdrawn.
updated | never.
deleted | a procedure or version is deleted.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine