Table of Contents

Class WorkflowDefinition

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

Represents a workflow definition. It defines how workflows work, In Casewhere, all actions that happen around cases require a workflow to execute, whether they're buying parking tickets, applying for jobs, or simply sending newsletters. Casewhere provides two types of workflows: UI workflows: Display data to your users or collect information from them with UI elements.UI workflows are triggered from widgets by end-users.Casewhere provides a workflow definition editor with a form builder to enable you to design complex, rich UI activities. Automatic workflows: Are triggered automatically by an event in the system, a change in the database, or other workflows.Casewhere provides a wide range of workflow triggers, so you have all the necessary flexibilities to design solutions for different sophisticated scenarios.

public class WorkflowDefinition : Entity, IIdentity

Inheritance

objectEntityWorkflowDefinition

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

Constructors

WorkflowDefinition()

public WorkflowDefinition()

Properties

AcceptInput

Gets or sets a value indicating whether this workflow definition accepts input.

public bool AcceptInput { get; set; }

Property Value

bool

AcceptMultipleDataObjects

Gets or sets a value indicating whether this workflow definition accepts multiple data objects.

public bool AcceptMultipleDataObjects { get; set; }

Property Value

bool

BuildRunResult

public WorkflowBuildRun BuildRunResult { get; set; }

Property Value

WorkflowBuildRun

DCReferences

Gets or sets the list of DC references.

public IList<DCReference> DCReferences { get; set; }

Property Value

IList<DCReference>

DataSources

Gets or sets the list of workflow definition data sources.

public IList<WorkflowDefinitionDataSource> DataSources { get; set; }

Property Value

IList<WorkflowDefinitionDataSource>

Description

public string Description { get; set; }

Property Value

string

DisableLogging

public bool DisableLogging { get; set; }

Property Value

bool

DisplayName

Gets or sets the display name of the workflow definition.

public string DisplayName { get; set; }

Property Value

string

EnableInheritedSecurityRules

public bool EnableInheritedSecurityRules { get; set; }

Property Value

bool

HideStepPane

Gets or sets a value indicating whether to hide the step pane.

public bool HideStepPane { get; set; }

Property Value

bool

IsAuto

Gets or sets a value indicating whether this workflow definition is auto.

public bool IsAuto { get; set; }

Property Value

bool

IsLocked

public bool IsLocked { get; set; }

Property Value

bool

IsNonPersistent

public bool IsNonPersistent { get; set; }

Property Value

bool

IsShowAllSteps

public bool IsShowAllSteps { get; set; }

Property Value

bool

IsTest

public bool IsTest { get; set; }

Property Value

bool

IsTransactional

public bool IsTransactional { get; set; }

Property Value

bool

LockButtonDisplayName

Gets or sets the display name of the lock button.

public string LockButtonDisplayName { get; set; }

Property Value

string

Lockable

Gets or sets a value indicating whether this workflow definition is lockable.

public bool Lockable { get; set; }

Property Value

bool

Name

Gets or sets the name of the workflow definition.

public string Name { get; set; }

Property Value

string

ProductId

Gets or sets the product ID.

public Guid ProductId { get; set; }

Property Value

Guid

RequirePrimaryDataObject

Gets or sets a value indicating whether this workflow definition requires a primary data object.

public bool RequirePrimaryDataObject { get; set; }

Property Value

bool

Steps

Gets or sets the list of workflow step definitions.

public IList<WorkflowStepDefinition> Steps { get; set; }

Property Value

IList<WorkflowStepDefinition>

TabPaneMode

public TabPaneMode TabPaneMode { get; set; }

Property Value

TabPaneMode

Tags

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

Property Value

IList<string>

UsedForCreationOfNewCase

Gets or sets a value indicating whether this workflow definition is used for creation of new cases.

public bool UsedForCreationOfNewCase { get; set; }

Property Value

bool

Variables

Gets or sets the list of workflow variables.

public IList<WorkflowVariable> Variables { get; set; }

Property Value

IList<WorkflowVariable>

WindowSize

Gets or sets the window size.

public WindowSize WindowSize { get; set; }

Property Value

WindowSize

Methods

GetResourceName()

Gets the display name of the entity.

public override string GetResourceName()

Returns

string

The display name of the entity.