Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 WORKFLOWARGSMAP xml Describes the field mapping between the trigger form 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 TRIGGERFORMINSTANCEID uniqueidentifier   DATAFORMINSTANCECATALOG.ID The instance ID of the data form that will trigger a workflow.
 WORKFLOWID uniqueidentifier   BBWORKFLOWCATALOG.ID The ID of the workflow that will be triggered when the form is saved.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_DATAFORMWORKFLOWTRIGGER_DATEADDED DATEADDED    
 IX_DATAFORMWORKFLOWTRIGGER_DATECHANGED DATECHANGED      
 PK_DATAFORMWORKFLOWTRIGGER ID  
 UIX_DATAFORMWORKFLOWTRIGGER_TRIGGERFORMINSTANCEID_WORKFLOWID TRIGGERFORMINSTANCEID, WORKFLOWID    

Trigger Name Description
 TR_DATAFORMWORKFLOWTRIGGER_AUDIT_UPDATE
 TR_DATAFORMWORKFLOWTRIGGER_AUDIT_DELETE

Entity-Relationship diagram of this table