Table of Contents

Class LoopActivityDefinition

Namespace: Casewhere.Models
Assembly: Casewhere.Models.dll

Represents a loop activity definition. It contains information to loop through the data objects filtered by a given condition and trigger a new workflow per data object

public class LoopActivityDefinition : ActivityDefinition

Inheritance

objectActivityDefinitionLoopActivityDefinition

Inherited Members

ActivityDefinition.GetLockContextRuleDefinition(), ActivityDefinition.GetConcurrencyTimeoutFormat(), ActivityDefinition.Id, ActivityDefinition.Name, ActivityDefinition.SequenceNumber, ActivityDefinition.CompletionRules, ActivityDefinition.InclusionRule, ActivityDefinition.RequireRule, ActivityDefinition.AutoCommitChanges, ActivityDefinition.EnableAuditLog, ActivityDefinition.AuditEventName, ActivityDefinition.EnableConcurrencyLocking, ActivityDefinition.ConcurrencyTimeout, ActivityDefinition.LockContextRuleExpression, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<LoopActivityDefinition>(LoopActivityDefinition)

Constructors

LoopActivityDefinition()

public LoopActivityDefinition()

Properties

BreakWhenErrorOccur

Gets or sets a value indicating whether the loop activity should break when an error occurs.

public bool? BreakWhenErrorOccur { get; set; }

Property Value

bool?

CompleteWhenAllTriggeredWorkflowsComplete

Gets or sets a value indicating whether the loop activity should complete when all triggered workflows complete.

public bool CompleteWhenAllTriggeredWorkflowsComplete { get; set; }

Property Value

bool

Context

Gets or sets the loop activity context.

public LoopActivityContext Context { get; set; }

Property Value

LoopActivityContext

DataClassId

Gets or sets the data class ID.

public Guid DataClassId { get; set; }

Property Value

Guid

FilterExpression

Gets or sets the filter expression.

public string FilterExpression { get; set; }

Property Value

string

QueueWorkflow

Gets or sets a value indicating whether the workflow should be queued.

public bool QueueWorkflow { get; set; }

Property Value

bool

TriggeredProcessId

Gets or sets the ID of the triggered process.

public Guid? TriggeredProcessId { get; set; }

Property Value

Guid?

TriggeredWorkflowDefinitionId

Gets or sets the ID of the triggered workflow definition.

public Guid TriggeredWorkflowDefinitionId { get; set; }

Property Value

Guid