Table of Contents

Class ActivityDefinition

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

Represents an abstract activity definition. It is used in Workflow Definition and can be these types: FormActivityDefinition, LoopActivityDefinition, ScriptedActivityDefinition, WorkflowActivityDefinition.

public abstract class ActivityDefinition

Inheritance

objectActivityDefinition

Derived

FormActivityDefinition, LoopActivityDefinition, LoopActivityDefinitionV2, ScriptedActivityDefinition, StopActivityDefinition, WorkflowActivityDefinitionBase

Inherited Members

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<ActivityDefinition>(ActivityDefinition)

Constructors

ActivityDefinition()

protected ActivityDefinition()

Properties

AuditEventName

Gets or sets the name of the audit event.

public string AuditEventName { get; set; }

Property Value

string

AutoCommitChanges

Gets or sets a value indicating whether changes should be automatically committed.

public bool AutoCommitChanges { get; set; }

Property Value

bool

CompletionRules

Gets or sets the completion rules of the activity definition.

public IList<CompletionRuleDefinition> CompletionRules { get; set; }

Property Value

IList<CompletionRuleDefinition>

ConcurrencyTimeout

public string ConcurrencyTimeout { get; set; }

Property Value

string

EnableAuditLog

Gets or sets a value indicating whether audit logging is enabled.

public bool EnableAuditLog { get; set; }

Property Value

bool

EnableConcurrencyLocking

public bool EnableConcurrencyLocking { get; set; }

Property Value

bool

Id

Gets or sets the ID of the activity definition.

public Guid Id { get; set; }

Property Value

Guid

InclusionRule

Gets or sets the inclusion rule of the activity definition.

public InclusionRuleDefinition InclusionRule { get; set; }

Property Value

InclusionRuleDefinition

LockContextRuleExpression

public string LockContextRuleExpression { get; set; }

Property Value

string

Name

Gets or sets the name of the activity definition.

public string Name { get; set; }

Property Value

string

RequireRule

Gets or sets the require rule of the activity definition.

public RequireRuleDefinition RequireRule { get; set; }

Property Value

RequireRuleDefinition

SequenceNumber

Gets or sets the sequence number of the activity definition.

public int SequenceNumber { get; set; }

Property Value

int

Methods

GetConcurrencyTimeoutFormat()

public TimeSpan GetConcurrencyTimeoutFormat()

Returns

TimeSpan

GetLockContextRuleDefinition()

public LockContextRuleDefinition GetLockContextRuleDefinition()

Returns

LockContextRuleDefinition