Class WorkflowRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the workflow table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class WorkflowRecordData : Object
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
WorkflowRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the workflow table.
Declaration
public WorkflowRecordData()
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
AssociateId
Associate who owns this workflow
Declaration
public int AssociateId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
BlockLists
Persons in the given selections are not allowed to enter this workflow
Declaration
public int[] BlockLists
Field Value
Type | Description |
---|---|
Int32[] |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Description
Description of the workflow
Declaration
public string Description
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
EnrollmentEnd
Do not enroll more participant after given time, interpreted in stored timezone or as UTC in UTC.
Declaration
public DateTime EnrollmentEnd
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExitFlowId
On exit with no success criteria met, we attempt to add the participant to the given flow
Declaration
public int ExitFlowId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExitSuccessFlowId
On exit with success criteria met, we attempt to add the participant to the given flow
Declaration
public int ExitSuccessFlowId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
GroupId
Group id of original owning associate, so that changes to owner's primary group do not influence group membership of this workflow.
Declaration
public int GroupId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
JumpToFinish
When a goal is reached, contact jumps directly to finished
Declaration
public short JumpToFinish
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Name
Name of the workflow
Declaration
public string Name
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RemoveFromFlows
Workflows to remove the participants from when they are enrolled in this workflow
Declaration
public int[] RemoveFromFlows
Field Value
Type | Description |
---|---|
Int32[] |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
StartOnlyOnce
A contact can start this flow only once
Declaration
public short StartOnlyOnce
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Status
Status of the workflow definition
Declaration
public WorkflowDefinitionStatus Status
Field Value
Type | Description |
---|---|
WorkflowDefinitionStatus |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TzLocationId
Timezone used for this workflows datetimes. If not set, behavior is best guess - databasetime, system time...
Declaration
public int TzLocationId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UseEnrollmentEnd
End enrollment into the workflow at the given time
Declaration
public short UseEnrollmentEnd
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UseWorkflowStart
Start the flow running with enrolled participants at the given time
Declaration
public short UseWorkflowStart
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
VisibleForAll
True if visible for all
Declaration
public short VisibleForAll
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
VisibleForAssociates
Array of references to the visible for associates
Declaration
public int[] VisibleForAssociates
Field Value
Type | Description |
---|---|
Int32[] |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
VisibleForGroups
Array of references to the visible for groups
Declaration
public int[] VisibleForGroups
Field Value
Type | Description |
---|---|
Int32[] |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
WorkflowId
Primary key
Declaration
public int WorkflowId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
WorkflowStart
When to start running the workflow. Until start, any enrolled members are not running through the flow, just waiting. Datetime is interpreted in stored timezone or as UTC in UTC.
Declaration
public DateTime WorkflowStart
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full WorkflowRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding WorkflowTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.