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		number(5)			NOT NULL,
    	proc_id		number(5)			NOT NULL,
    	major_vers	number(5)			NOT NULL,
    	minor_vers	number(5)			NOT NULL,
    	pd_version	number(7)			,
    	pv_status	number(2)			,
    	pv_user		varchar2(49)			,
    	pv_comment	varchar2(128)			NULL,
    	pv_created	date				,
    	pv_modified	date				,
    	pv_released	date				,
    	pv_withdrawn	date				,
    	pv_is_subproc	number(1)			)

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) | Index Tablespace
`pk_proc_version` | `node_id proc_id major_vers minor_vers` | BIGINDEXSPACE

## Foreign Keys

The following foreign key is defined for this table.

Key Name | Column(s) | Referenced in Table...
`fk_proc_version` 1 This key enforces the DELETE CASCADE referential action. | `node_id proc_id` | proc_index

## Indexes

The following index is defined for this table.

Index Name | Column(s) Indexed | Tablespace
`idx_proc_version_fk` | `node_id proc_id` | BIGINDEXSPACE

## Storage

The following STORAGE values are defined for this table.

Value | Definition
Initial | BIGTABLESIZE
Percentage Increase | BIGTABLEPCTINCREASE
Tablespace | BIGTABLESPACE

## 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