Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# proc_version

The `proc_version` table holds information that is specific to a version of a procedure (or sub-procedure or sub-procedure parameter template).

Note | Data that is specific to a procedure or to an instance of a procedure is not held in this table. See the proc_index and proc_instance tables instead.

## Structure

The `proc_version` table has the following structure:

    TABLE proc_version(
    	node_id		INTEGER				NOT NULL,
    	proc_id		INTEGER				NOT NULL,
    	major_vers	SMALLINT			NOT NULL,
    	minor_vers	SMALLINT			NOT NULL,
    	pd_version	INTEGER			NULL,
    	pv_status	SMALLINT			NULL,
    	pv_user		VARCHAR(49)		NULL,
    	pv_comment	VARCHAR(128)		NULL,
    	pv_created	DATETIME		NULL,
    	pv_modified	DATETIME		NULL,
    	pv_released	DATETIME		NULL,
    	pv_withdrawn	DATETIME		NULL,
    	pv_is_subproc	SMALLINT			NULL)

Column | Description
`node_id` | ID of the node that this procedure is stored on, as defined in the nodes table.
`proc_id` | Procedure number of the procedure associated with this version, as defined in the proc_index table.
`major_vers` | Major version number of this version.
`minor_vers` | Minor version number of this version.
`pd_version` | Instance number of the procedure definition that corresponds to this version, as defined in the proc_instance table.
`pv_status` | Status of this version. Either: Released (`0`), Incomplete (`1`), Unreleased (`2`), Model (`3`) or Withdrawn (`14`).
`pv_user` | Name of the user who created this version, as defined in the user_names table.
`pv_comment` | The comment that describes this version.
`pv_created` | Date and time that this version was created.
`pv_modified` | Date and time that this version was last modified.
`pv_released` | Date and time that this version was released.
`pv_withdrawn` | Date and time that this version was withdrawn.
`pv_is_subproc` | Flag that defines whether (`1`) or not (0) this version is a sub-procedure.

## Primary Key

The following primary key is defined for this table.

Key Name | Column(s)
`pk_proc_version` | `node_id proc_id major_vers minor_vers`

## Triggers

None.

## Indexes

None.

## Table Activity

The `proc_version` table contains one row 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 added when a new procedure or version is created

| • | A row is updated when a version's details are updated

| • | A row is deleted when 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