Show / Hide Table of Contents

Class WorkflowRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the workflow table.

Inheritance
object
WorkflowRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOfficeCRMRows
Assembly: SoDataBase.dll
Syntax
public class 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.

Constructors

WorkflowRecordData()

Declaration
public WorkflowRecordData()

Fields

AssociateId

Associate who owns this workflow

Declaration
public int AssociateId
Field Value
Type Description
int

BlockLists

Persons in the given selections are not allowed to enter this workflow

Declaration
public int[] BlockLists
Field Value
Type Description
int

Description

Description of the workflow

Declaration
public string Description
Field Value
Type Description
string

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

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
int

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
int

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
int

JumpToFinish

When a goal is reached, contact jumps directly to finished

Declaration
public short JumpToFinish
Field Value
Type Description
short

Name

Name of the workflow

Declaration
public string Name
Field Value
Type Description
string

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int

RemoveFromFlows

Workflows to remove the participants from when they are enrolled in this workflow

Declaration
public int[] RemoveFromFlows
Field Value
Type Description
int

StartOnlyOnce

A contact can start this flow only once

Declaration
public short StartOnlyOnce
Field Value
Type Description
short

Status

Status of the workflow definition

Declaration
public WorkflowDefinitionStatus Status
Field Value
Type Description
WorkflowDefinitionStatus

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
int

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short

UseEnrollmentEnd

End enrollment into the workflow at the given time

Declaration
public short UseEnrollmentEnd
Field Value
Type Description
short

UseWorkflowStart

Start the flow running with enrolled participants at the given time

Declaration
public short UseWorkflowStart
Field Value
Type Description
short

VisibleForAll

True if visible for all

Declaration
public short VisibleForAll
Field Value
Type Description
short

VisibleForAssociates

Array of references to the visible for associates

Declaration
public int[] VisibleForAssociates
Field Value
Type Description
int

VisibleForGroups

Array of references to the visible for groups

Declaration
public int[] VisibleForGroups
Field Value
Type Description
int

WorkflowId

Primary key

Declaration
public int WorkflowId
Field Value
Type Description
int

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

Extension Methods

EnumUtil.MapEnums<From, To>(From)
WorkflowRecordDataExtensions.ToInsertAsync(WorkflowRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top