BBWORKFLOWDATAITEM (4.0SP20)

Contains arbitrary data payloads that can be associated with a workflow instance for use by the workflow logic

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BBWORKFLOWINSTANCEINFOID

uniqueidentifier

false

FK to BBWORKFLOWINSTANCEINFO

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ITEMKEY

nvarchar(255)

false

''

A unique key to identify this data item in the workflow

DATAITEM

nvarchar(max)

false

''

Arbitrary data for use in the workflow.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BBWORKFLOWDATAITEM_BBWORKFLOWINSTANCEINFOID

BBWORKFLOWINSTANCEINFOID

False

False

False

IX_BBWORKFLOWDATAITEM_DATEADDED

DATEADDED

False

False

True

IX_BBWORKFLOWDATAITEM_DATECHANGED

DATECHANGED

False

False

False

PK_BBWORKFLOWDATAITEM

ID

True

True

False

UIX_BBWORKFLOWDATAITEM_BBWORKFLOWINSTANCEINFOID_ITEMKEY

BBWORKFLOWINSTANCEINFOID

ITEMKEY

True

False

False

Triggers
Trigger Name Description

TR_BBWORKFLOWDATAITEM_AUDIT_UPDATE

TR_BBWORKFLOWDATAITEM_AUDIT_DELETE