Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# wait

The `wait` table holds information about each outstanding wait on the system.

## Structure

The `wait` table has the following structure:

    TABLE wait (
    	wait_id		NUMERIC(10) 		NOT NULL,
    	node_id		INTEGER			NOT NULL,
    	proc_id		INTEGER 		NOT NULL,
    	casenum		NUMERIC(20) 		NOT NULL,
    	parentstep	VARCHAR(8),
    	expression	VARCHAR(200),
    	type		SMALLINT		NOT NULL)

Column | Description
`wait_id` | Unique ID for the `wait` table is generated from the sequences table.
`node_id` | ID of the node that the `wait` table is hosted on, as defined in the nodes table.
`proc_id` | ID of the procedure that the `wait` table belongs to, as defined in the proc_index table.
`casenum` | Case number that the `wait` wait belongs to, as defined in the case_information table.
`parentstep` | Step name of the parent step for this wait.
`expression` | Not used. Reserved for possible future use.
`type` | Wait type. Currently the only supported type is a Step wait (`1`), that is, the step is waiting for one or more other steps to be released.

## Primary Key

The following primary key is defined for this table.

Key Name | Column(s)
`pk_wait` | `wait_id node_id`

## Foreign Keys

The following foreign key is defined for this table.

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

## Indexes

The following indexes are defined for this table.

Index Name | Column(s) Indexed
`idx_wait_fk` | `casenum proc_id node_id`
`idx_wait` | `casenum proc_id`

## Table Activity

The `wait` table contains one row for each outstanding wait on the system. An associated record exists in the wait_step table for each step being waited for.

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

A row is... | When...
added | a new wait is triggered.
updated | never.
deleted | a wait is processed.

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