Skip to main content

Class WorkflowRuntimeSettings

Inheritance

↳ object

    WorkflowRuntimeSettings

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public sealed class WorkflowRuntimeSettings

Constructors

WorkflowRuntimeSettings()

Default runtime settings

Declaration
public WorkflowRuntimeSettings()

Properties

ExecutionSearchOrder

The order of the Action, Condition, or Rule search by name

Declaration
public ExecutionSearchOrder ExecutionSearchOrder { get; set; }
Property value
TypeDescription
ExecutionSearchOrder

IsAutoUpdateSchemeBeforeGetAvailableCommands

Allow automatic schema of a process update before getting the commands list if its allowed in current activity

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

SchemeParsingCulture

Culture for parsing some text parameters from scheme. Default is InvariantCulture

Declaration
public CultureInfo SchemeParsingCulture { get; set; }
Property value
TypeDescription
CultureInfo

UseUtcDateTimeAsRuntimeTime

Runtime use Utc date and time if true and Local date and time if false

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

CancellationTokenHandling

The way of handling System.Threading.CancellationToken after activity execution

Declaration
public CancellationTokenHandling CancellationTokenHandling { get; set; }
Property value
TypeDescription
CancellationTokenHandling

IgnoreMissingExecutionItems

If you are sure that your schemes do not mention nonexistent Actions, Conditions or Rules, do not use this setting. This setting is only for resolving possible compatibility issues and can be removed.

Declaration
[Obsolete("If you are sure that your schemes do not mention nonexistent Actions, Conditions or Rules, do not use this setting. This setting is only for resolving possible compatibility issues and can be removed.")]
public bool IgnoreMissingExecutionItems { get; set; }
Property value
TypeDescription
bool

PersistenceProviderQueryRetries

The number of retries of query that allow retry

Declaration
public int PersistenceProviderQueryRetries { get; set; }
Property value
TypeDescription
int

PersistenceProviderQueryRetryDelay

The delay between retries

Declaration
public TimeSpan PersistenceProviderQueryRetryDelay { get; set; }
Property value
TypeDescription
TimeSpan

MaxNumberOfPerformedActivities

Max number of activities that can be executed. Use this to protect your application from infinite loops. Any value less than 1 means unlimited. Unlimited by default.

Declaration
public long MaxNumberOfPerformedActivities { get; set; }
Property value
TypeDescription
long

MaxPreExecutionTransitions

Maximum number of transitions during pre-execution

Declaration
public int MaxPreExecutionTransitions { get; set; }
Property value
TypeDescription
int

LicenseSemaphoreTimeout

This settings work only for licenses with thread limit

Declaration
public int LicenseSemaphoreTimeout { get; set; }
Property value
TypeDescription
int

ParentProcessIdledWaitTimeout

Timeout of waiting for unblocking (status = not Running) of the root process.

Declaration
public int ParentProcessIdledWaitTimeout { get; set; }
Property value
TypeDescription
int

DisableMultipleProcessActivityChanged

OptimaJet.Workflow.Core.Runtime.WorkflowRuntime.OnProcessActivityChangedAsync?text=OnProcessActivityChangedAsync can be called repeatedly with different parameters. This setting disables this behavior and the event will be called once per activity.

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

Extension Methods