FEEDALERTINSTANCEWORKFLOWTRIGGER

Stores a list of feed alert instances 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 fields in the feed alert instance datalist and the workflow form.
ENABLED bit Default = 1 Indicates whether or not the trigger is enabled
DATELASTPROCESSED datetime yes Indicates the date when the trigger was last processed
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
FEEDALERTINSTANCEID uniqueidentifier FEEDALERTINSTANCE.ID The ID of the feed alert instance that will trigger a workflow.
WORKFLOWID uniqueidentifier BBWORKFLOWCATALOG.ID The ID of the workflow that will be triggered when the feed alert instance is processed.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_FEEDALERTINSTANCEWORKFLOWTRIGGER_DATEADDED DATEADDED yes
IX_FEEDALERTINSTANCEWORKFLOWTRIGGER_DATECHANGED DATECHANGED
PK_FEEDALERTINSTANCEWORKFLOWTRIGGER ID yes yes
UIX_FEEDALERTINSTANCEWORKFLOWTRIGGER_FEEDALERTINSTANCEID_WORKFLOWID FEEDALERTINSTANCEID, WORKFLOWID yes

Triggers

Trigger Name Description
TR_FEEDALERTINSTANCEWORKFLOWTRIGGER_AUDIT_UPDATE
TR_FEEDALERTINSTANCEWORKFLOWTRIGGER_AUDIT_DELETE