BUSINESSPROCESSINSTANCE
The BUSINESSPROCESSINSTANCE table stores business process instances that exist throughout the system.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| BUSINESSPROCESSPARAMETERSETID |
uniqueidentifier |
|
|
This is the ID of the parameter set for this business process instance. |
| SECURITYLEVEL |
tinyint |
|
Default = 0 |
0 - All roles, 1 - Selected Roles |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| BUSINESSPROCESSCATALOGID |
uniqueidentifier |
|
BUSINESSPROCESSCATALOG.ID
|
The business process catalog ID for this business process instance. |
| OWNERID |
uniqueidentifier |
yes |
APPUSER.ID
|
The owner of the business process instance. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site of the business process instance. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_BUSINESSPROCESSINSTANCE_BUSINESSPROCESSPARAMETERSETID |
BUSINESSPROCESSPARAMETERSETID |
|
|
|
| IX_BUSINESSPROCESSINSTANCE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_BUSINESSPROCESSINSTANCE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_BUSINESSPROCESSINSTANCE |
ID |
yes |
yes |
|
| UIX_BUSINESSPROCESSINSTANCE_BUSINESSPROCESSCATALOGID_BUSINESSPROCESSPARAMETERSETID |
BUSINESSPROCESSCATALOGID, BUSINESSPROCESSPARAMETERSETID |
yes |
|
|
Triggers
Referenced by