case_information

The case_information table holds information about every case and sub-case that has been started and not yet purged on the system.

Structure

The case_information table has the following structure:

TABLE case_information (
node_id number(5) NOT NULL,
proc_id number(5) NOT NULL,
casenum number(20) NOT NULL,
starter varchar2(49) NOT NULL,
casedesc varchar2(24) NULL,
procflags number(5) NOT NULL,
next_deadline date,
is_subcase number(1) NOT NULL,
is_dead number(1) NOT NULL,
is_suspended number(1) NOT NULL,
major_vers number(5) NOT NULL,
minor_vers number(5) NOT NULL,
proc_precedence number(5) NOT NULL,
started date NOT NULL,
started_usecs number(6) NOT NULL)
using_blob number(1) )

Column

Description

node_id

ID of the node that this case is hosted on, as defined in the nodes table.

proc_id

ID of the procedure that this case belongs to, as defined in the proc_index table.

casenum

Unique case number for this case, generated from the sequences table.

Note: If the system has been upgraded from a Version 9 Process Engine, any cases that were started before the upgrade do not have a unique case number. (They have a number that is unique to that procedure.)

starter

Name of the user who started this case, as defined in the user_names table.

casedesc

Case description supplied when the case was started.

procflags

The procedure flags that were set at the time the case was started. For internal use only.

Note: These flags are stored to allow consistent operation of the case if the procedure changes status during the lifetime of the case. For example, if the procedure is unreleased when the case is started, but changes to released before the case completes, the case can continue using the original procedure flags.

next_deadline

Date and time that the next deadline expires on this case.

If no deadline is set this value appears as 12/31/3000 11:15:00 PM.

is_subcase

Flag that defines whether this case is a main case (0) or a sub-case (1).

is_dead

Flag that defines whether (1) or not (0) this case has completed.

is_suspended

Flag that defines whether (1) or not (0) the case is currently suspended (from a TIBCO iProcess Objects or SAL application).

major_vers

Major version number of the version of the procedure that this case belongs to, as defined in the proc_version table.

minor_vers

Minor version number of the version of the procedure that this case belongs to, as defined in the proc_version table.

proc_precedence

Stores the procedure precedence settings for opening sub-cases. One of:

32 - Released only.
64 - Unreleased > Released.
96 - Model > Released.
128 - Unreleased > Model > Released.
160 - Model > Unreleased > Released.

started

Date and time that the case was started, to the resolution of a second.

Note: The started_usecs column can be combined with this column to provide resolution to a microsecond.

started_usecs

Number of microseconds since the start of the seconds value specified in the started column.

using_blob

Decides to use the old memo data table or the new one.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

Index Tablespace

pk_case_information

casenum
proc_id
node_id

LARGEINDEXSPACE

Foreign Keys

The following foreign key is defined for this table.

Key Name

Column(s)

Referenced in Table...

fk_case_information1

proc_id
node_id

proc_index

Indexes

The following indexes are defined for this table.

Index Name

Column(s) Indexed

Tablespace

idx_case_information_fk

proc_id
node_id

LARGEINDEXSPACE

idx_ci_casedesc_UC2

UPPER(casedesc)
casenum
proc_id

LARGEINDEXSPACE

Storage

The following STORAGE values are defined for this table.

Value

Definition

Initial

LARGETABLESIZE

Percentage Increase

LARGETABLEPCTINCREASE

Tablespace

LARGETABLESPACE

Table Activity

The case_information table contains one row for every open and closed case and sub-case on the system.

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

A row is...

When...

added

a new case or sub-case is started.

updated

any of the following occur:

a case or sub-case is closed.
a deadline on a case or sub-case is set or expires.
a case or sub-case is suspended or re-opened.
a new version of a procedure is released and the option is chosen to migrate cases (and sub-cases) that use the previously released version to the new version.

deleted

a case is purged.