Assembly: OptimaJet.Workflow.Core

Class WorkflowRuntimeSettings

OptimaJet.Workflow.Core.Runtime.WorkflowRuntimeSettings

Represents configurable runtime behavior used by WorkflowRuntime.

public sealed class WorkflowRuntimeSettings

Constructors

public WorkflowRuntimeSettings() #
Initializes a new instance with default runtime settings.

Properties

public ExecutionSearchOrder ExecutionSearchOrder { get; set; } #
Gets or sets the lookup order for actions, conditions, and rules by name. The default value is ExecutionSearchOrder.LocalGlobalProvider.
public bool IsAutoUpdateSchemeBeforeGetAvailableCommands { get; set; } #
Gets or sets whether an obsolete process scheme is automatically updated before available commands are retrieved when the current activity allows automatic scheme updates. The default value is false.
public CultureInfo SchemeParsingCulture { get; set; } #
Gets or sets the culture used to parse textual values from a scheme, including timer dates. The default value is CultureInfo.InvariantCulture.
public bool UseUtcDateTimeAsRuntimeTime { get; set; } #
Gets or sets whether runtime time is based on UTC (DateTime.UtcNow) or local time (DateTime.Now). The default value is false, which uses local time.
public CancellationTokenHandling CancellationTokenHandling { get; set; } #
Gets or sets how the runtime handles CancellationToken after activity execution. The default value is CancellationTokenHandling.Ignore.
public int PersistenceProviderQueryRetries { get; set; } #
Gets or sets the maximum number of retry attempts after the initial persistence provider operation fails with a retryable exception. The default value is 3.
public TimeSpan PersistenceProviderQueryRetryDelay { get; set; } #
Gets or sets the initial delay between persistence provider retry attempts. The default value is 100 milliseconds.
public long MaxNumberOfPerformedActivities { get; set; } #
Gets or sets the maximum number of activities that can be executed during one execution cycle. A value less than or equal to 0 disables the limit. The default value is long.MaxValue.
public int MaxPreExecutionTransitions { get; set; } #
Gets or sets the maximum number of transitions processed while calculating a pre-execution path. The default value is 100.
public int LicenseSemaphoreTimeout { get; set; } #
Gets or sets the timeout, in milliseconds, for waiting to enter the license concurrency semaphore. This setting applies when the license limits the number of concurrent execution threads. The default value is 10000 milliseconds.
public int ParentProcessIdledWaitTimeout { get; set; } #
Gets or sets the timeout, in milliseconds, for waiting for a parent process to reach the Idled or Finalized status while a subprocess is being merged. The default value is 30000 milliseconds.
public bool DisableMultipleProcessActivityChanged { get; set; } #
Gets or sets whether repeated WorkflowRuntime.OnProcessActivityChangedAsync notifications are suppressed so that the notification is raised once per activity. The default value is false.
public int ProcessExistenceCheckIterationsCount { get; set; } #
Gets or sets the number of execution-loop iterations counted before the runtime checks whether the process still exists. The default value is 100.
public int DesignerProcessHistoryPageSize { get; set; } #
Gets or sets the number of process history rows loaded per page when generating the state displayed in the Workflow Designer. The default value is 10.
public bool ObsoleteSubprocessParametersInitializationBehavior { get; set; } #
Gets or sets whether a newly created subprocess initializes persistence parameters with scheme default values before parent process parameters are copied. This enables the legacy parameter initialization behavior. The default value is false.