Table of Contents

Class DataTrigger

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

Represents a data trigger. It defines a way Casewhere to execute a workflow when data changes.

public class DataTrigger : Entity, IIdentity

Inheritance

objectEntityDataTrigger

Implements

IIdentity

Inherited Members

Entity.GetResourceName(), Entity.Id, Entity.Version, Entity.CreatedBy, Entity.CreatedAt, Entity.ModifiedBy, Entity.ModifiedAt, 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<DataTrigger>(DataTrigger)

Constructors

DataTrigger()

public DataTrigger()

Properties

DataClassId

Gets or sets the ID of the data class associated with the data trigger.

public Guid DataClassId { get; set; }

Property Value

Guid

DataTriggerVersion

public DataTriggerVersion DataTriggerVersion { get; set; }

Property Value

DataTriggerVersion

Delay

Gets or sets the delay in milliseconds for the data trigger.

public int Delay { get; set; }

Property Value

int

IsActive

Gets or sets a value indicating whether the data trigger is active.

public bool IsActive { get; set; }

Property Value

bool

IsLocked

public bool IsLocked { get; set; }

Property Value

bool

IsSynchronous

public bool IsSynchronous { get; set; }

Property Value

bool

IsTrackingDataChanges

public bool IsTrackingDataChanges { get; set; }

Property Value

bool

Name

Gets or sets the name of the data trigger.

public string Name { get; set; }

Property Value

string

Priority

Gets or sets the priority of the data trigger.

public WorkflowPriority Priority { get; set; }

Property Value

WorkflowPriority

ProcessIds

Gets or sets the list of process IDs associated with the data trigger.

public IList<Guid> ProcessIds { get; set; }

Property Value

IList<Guid>

ProductId

public Guid ProductId { get; set; }

Property Value

Guid

Rule

Gets or sets the rule associated with the data trigger.

public string Rule { get; set; }

Property Value

string

Tags

public IList<string> Tags { get; set; }

Property Value

IList<string>

WorkflowDefinitionId

Gets or sets the ID of the workflow definition associated with the data trigger.

public Guid WorkflowDefinitionId { get; set; }

Property Value

Guid

Methods

GetResourceName()

Gets the display name of the entity.

public override string GetResourceName()

Returns

string

The display name of the entity.