BUSINESSPROCESSINSTANCE (4.0)

The BUSINESSPROCESSINSTANCE table stores business process instances that exist throughout the system.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BUSINESSPROCESSCATALOGID

uniqueidentifier

false

The business process catalog ID for this business process instance.

OWNERID

uniqueidentifier

true

The owner of the business process instance.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

SITEID

uniqueidentifier

true

The site of the business process instance.

Fields
Field Field Type Null Notes Description

BUSINESSPROCESSPARAMETERSETID

uniqueidentifier

false

This is the ID of the parameter set for this business process instance.

SECURITYLEVEL

tinyint

false

0

0 - All roles, 1 - Selected Roles

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BUSINESSPROCESSINSTANCE_BUSINESSPROCESSPARAMETERSETID

BUSINESSPROCESSPARAMETERSETID

False

False

False

IX_BUSINESSPROCESSINSTANCE_DATEADDED

DATEADDED

False

False

True

IX_BUSINESSPROCESSINSTANCE_DATECHANGED

DATECHANGED

False

False

False

PK_BUSINESSPROCESSINSTANCE

ID

True

True

False

UIX_BUSINESSPROCESSINSTANCE_BUSINESSPROCESSCATALOGID_BUSINESSPROCESSPARAMETERSETID

BUSINESSPROCESSCATALOGID

BUSINESSPROCESSPARAMETERSETID

True

False

False

Triggers
Trigger Name Description

TR_BUSINESSPROCESSINSTANCE_AUDIT_UPDATE

TR_BUSINESSPROCESSINSTANCE_AUDIT_DELETE

Referenced by
Referenced by Field

SYSTEMROLEPERM_BUSINESSPROCESSINSTANCE

BUSINESSPROCESSINSTANCEID