Table of Contents

Class Scheduler

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

Represents a scheduler entity.

public class Scheduler : Entity, IIdentity

Inheritance

objectEntityScheduler

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

Constructors

Scheduler()

public Scheduler()

Properties

IsActive

Gets or sets a value indicating whether the scheduler is active.

public bool IsActive { get; set; }

Property Value

bool

IsLocked

public bool IsLocked { get; set; }

Property Value

bool

Name

Gets or sets the name of the scheduler. Casewhere scheduler is your best solution for handling automated, recurring tasks. You can configure to trigger a workflow at a particular time or interval. It's also possible to specify the time zone in which your scheduler will run.

public string Name { get; set; }

Property Value

string

Priority

Gets or sets the priority of the scheduler's queue.

[JsonConverter(typeof(StringEnumConverter))]
public QueuePriority Priority { get; set; }

Property Value

QueuePriority

ProcessId

Gets or sets the process ID associated with the scheduler. Casewhere.Models.Process

public Guid ProcessId { get; set; }

Property Value

Guid

ProductId

Gets or sets the product ID associated with the scheduler.

public Guid ProductId { get; set; }

Property Value

Guid

Recurrence

Gets or sets the recurrence of the scheduler. Casewhere will execute a workflow every Minute, Hour, Day, Week, Month, or Year.

public Recurrence Recurrence { get; set; }

Property Value

Recurrence

RecurrenceType

Gets the type of the scheduler's recurrence.

public string RecurrenceType { get; }

Property Value

string

Tags

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

Property Value

IList<string>

TimezoneId

Gets or sets the timezone ID of the scheduler. See TimeZoneInfo.FindSystemTimeZoneById

public string TimezoneId { get; set; }

Property Value

string

TriggerDataClassId

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

public Guid TriggerDataClassId { get; set; }

Property Value

Guid

TriggerRule

Gets or sets the trigger rule associated with the scheduler.

public string TriggerRule { get; set; }

Property Value

string

WorkflowDefinitionId

Gets or sets the workflow definition ID associated with the scheduler. Casewhere.Models.WorkflowDefinition

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.