Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class ProcessStatus

Represent a stage of a life cycle of a process

Inheritance

↳ object

    ↳ ProcessStatus

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Persistence

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public sealed class ProcessStatus

Properties

Id

Declaration
public byte Id { get; }
Property value
TypeDescription
byte

Name

Declaration
public string Name { get; }
Property value
TypeDescription
string

IsAllowedToChangeStatus

Declaration
public bool IsAllowedToChangeStatus { get; set; }
Property value
TypeDescription
bool

IsAllowedToExecuteCommand

Declaration
public bool IsAllowedToExecuteCommand { get; set; }
Property value
TypeDescription
bool

IsNotRunning

Declaration
public bool IsNotRunning { get; }
Property value
TypeDescription
bool

Fields

NotFound

Status of a processes which are not exists in persistence store

Declaration
public static readonly ProcessStatus NotFound
Returns
TypeDescription
ProcessStatus

Unknown

Status of a processes which are exists in persistence store but theirs status is not defined

Declaration
public static readonly ProcessStatus Unknown
Returns
TypeDescription
ProcessStatus

Initialized

Status of a processes which was created just now

Declaration
public static readonly ProcessStatus Initialized
Returns
TypeDescription
ProcessStatus

Running

Status of a processes which are executing at current moment

Declaration
public static readonly ProcessStatus Running
Returns
TypeDescription
ProcessStatus

Idled

Status of a processes which are not executing at current moment and awaiting an external interaction

Declaration
public static readonly ProcessStatus Idled
Returns
TypeDescription
ProcessStatus

Finalized

Status of a processes which was finalized

Declaration
public static readonly ProcessStatus Finalized
Returns
TypeDescription
ProcessStatus

Terminated

Status of a processes which was terminated with an error

Declaration
public static readonly ProcessStatus Terminated
Returns
TypeDescription
ProcessStatus

Error

Status of a processes which had an error but not terminated

Declaration
public static readonly ProcessStatus Error
Returns
TypeDescription
ProcessStatus

All

Declaration
public static readonly IEnumerable<ProcessStatus> All
Returns
TypeDescription
IEnumerable<ProcessStatus>

Extension Methods