# Class WorkflowRuntimeSettings OptimaJet.Workflow.Core.Runtime.WorkflowRuntimeSettings Represents configurable runtime behavior used by [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). Namespace: [OptimaJet.Workflow.Core.Runtime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/) ```csharp 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](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ExecutionSearchOrder/). `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](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool). `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](https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.invariantculture). `public bool UseUtcDateTimeAsRuntimeTime { get; set; }` Gets or sets whether runtime time is based on UTC ([DateTime.UtcNow](https://learn.microsoft.com/dotnet/api/system.datetime.utcnow)) or local time ([DateTime.Now](https://learn.microsoft.com/dotnet/api/system.datetime.now)). The default value is [false](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool), which uses local time. `public CancellationTokenHandling CancellationTokenHandling { get; set; }` Gets or sets how the runtime handles [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) after activity execution. The default value is [CancellationTokenHandling.Ignore](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/CancellationTokenHandling/). `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](https://learn.microsoft.com/dotnet/api/system.int64.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](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) notifications are suppressed so that the notification is raised once per activity. The default value is [false](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool). `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](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool). [Previous WorkflowRuntimeGetActorsWithCommandsApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeGetActorsWithCommandsApi/) [Next WorkflowRuntimeStartResult](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeStartResult/)