Show / Hide Table of Contents

Class WorkflowInstanceRecordData

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

Inheritance
object
WorkflowInstanceRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class WorkflowInstanceRecordData
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

WorkflowInstanceRecordData()

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

Declaration
public WorkflowInstanceRecordData()
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

ContactId

Contact ID of contact contact going through the flow

Declaration
public int ContactId
Field Value
Type Description
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

CurrentStep

Next step to be executed when conditions are met

Declaration
public int CurrentStep
Field Value
Type Description
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DropoutReason

Reason for dropout/failure

Declaration
public string DropoutReason
Field Value
Type Description
string
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LastCommunicationStep

Last completed step with email/sms to customer

Declaration
public int LastCommunicationStep
Field Value
Type Description
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PersonId

Person ID of person going through the flow

Declaration
public int PersonId
Field Value
Type Description
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo 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 WorkflowInstanceRow 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 WorkflowInstanceTableInfo 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
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo 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 instance

Declaration
public WorkflowInstanceStatus Status
Field Value
Type Description
WorkflowInstanceStatus
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

StepLevel

Some steps have multiple levels, this indicates what level is reached

Declaration
public int StepLevel
Field Value
Type Description
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

StepStarted

The currently executing step was started at this time

Declaration
public DateTime StepStarted
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo 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 WorkflowInstanceRow 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 WorkflowInstanceTableInfo 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
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo 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
short
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Variables

Instance data and variables

Declaration
public string Variables
Field Value
Type Description
string
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

WaitUntil

Don't evaluate conditions until given time (set by a waiting step, and status Suspended). An event may change the wait_until or status to Running.

Declaration
public DateTime WaitUntil
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

WorkflowId

The flow this instance belongs to

Declaration
public int WorkflowId
Field Value
Type Description
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

WorkflowInstanceId

Primary key

Declaration
public int WorkflowInstanceId
Field Value
Type Description
int
Remarks

Please use this class instead of a full WorkflowInstanceRow 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 WorkflowInstanceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
WorkflowInstanceRecordDataExtensions.ToInsertAsync(WorkflowInstanceRecordData, 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