FEEDALERTINSTANCE

Stores the values for a custom email alert instance.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = ''
PARAMETERDATAFORMITEM xml yes
CONTEXTRECORDID nvarchar(100) Default = ''
ISUSERINSTANCE bit Default = 0 True if the instance was created for a user-level alert, false if the instance was created for a system-wide alert.
ISENABLED bit Default = 1 True if the instance is enabled and will send emails.
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
ALERTTYPEID uniqueidentifier ALERTTYPE.ID The feed alert template for this instance.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_FEEDALERTINSTANCE_DATEADDED DATEADDED yes
IX_FEEDALERTINSTANCE_DATECHANGED DATECHANGED
PK_FEEDALERTINSTANCE ID yes yes
UIX_FEEDALERTINSTANCE_ALERTTYPEID_NAME ALERTTYPEID, NAME yes

Triggers

Trigger Name Description
TR_FEEDALERTINSTANCE_AUDIT_UPDATE
TR_FEEDALERTINSTANCE_AUDIT_DELETE

Referenced by

Referenced by Field
APPUSERFEEDALERTINSTANCE FEEDALERTINSTANCEID
FEEDALERTINSTANCEWORKFLOWTRIGGER FEEDALERTINSTANCEID