RECORDOPERATIONWORKFLOWTRIGGER
Stores a list of record operations that trigger workflows.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
WORKFLOWARGSMAP |
xml |
yes |
|
Describes the field mapping between the record operation and the workflow form. |
ENABLED |
bit |
|
Default = 1 |
Indicates whether or not the trigger is enabled |
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 |
RECORDOPERATIONID |
uniqueidentifier |
|
RECORDOPERATIONCATALOG.ID
|
The ID of the record operation that will trigger a workflow. |
WORKFLOWID |
uniqueidentifier |
|
BBWORKFLOWCATALOG.ID
|
The ID of the workflow that will be triggered when the record operation is executed. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_RECORDOPERATIONWORKFLOWTRIGGER_DATEADDED |
DATEADDED |
|
|
yes |
IX_RECORDOPERATIONWORKFLOWTRIGGER_DATECHANGED |
DATECHANGED |
|
|
|
PK_RECORDOPERATIONWORKFLOWTRIGGER |
ID |
yes |
yes |
|
UIX_RECORDOPERATIONWORKFLOWTRIGGER_RECORDOPERATIONID_WORKFLOWID |
RECORDOPERATIONID, WORKFLOWID |
yes |
|
|
Triggers