This section describes the fields that might be implemented in the class
WorkflowRuntimeSettings and also by
considering possible pre-execution scenarios to managing workflows through Workflow Engine.
In the table below has been included the main values that can be used:
|The order of the Action, Condition, or Rule which is searched by name.
|It enables automatic schema of a process update before getting the commands list if it is allowed in current activity.
|It is optional. In case of you are sure that your schemes do not mention nonexistent Actions, Conditions or Rules, do not use this setting.
|Runtime use UTC date and time if true is set and Local date and time if false.
|Culture is defined for parsing some text parameters from scheme. Default option can be set to: 'InvariantCulture'.
|The way of handling:
System.Threading.CancellationToken, after activity execution.
|The number of retries of a query that is allowed.
|The delay between retries.
|It is the maximum number of activities that can be executed. It can be used to protect your application from infinite loops. Any value less than 1 means unlimited. Unlimited by default.
|The maximum number of transitions during pre-execution mode.
|It works only for licenses with thread limit.
|It is defined as the Timeout of waiting for unblocking (status = not Running) of the root process.
This is the
WorkflowRuntimeSettings class which accepts the described options. This object contains the default values:
ExecutionSearchOrder = ExecutionSearchOrder.LocalGlobalProvider;
IsAutoUpdateSchemeBeforeGetAvailableCommands = false;
IgnoreMissingExecutionItems = false;
UseUtcDateTimeAsRuntimeTime = false;
SchemeParsingCulture = CultureInfo.InvariantCulture;
CancellationTokenHandling = CancellationTokenHandling.Ignore;
PersistenceProviderQueryRetries = 3;
PersistenceProviderQueryRetryDelay = TimeSpan.FromMilliseconds(100);
MaxNumberOfPerformedActivities = Int64.MaxValue;
MaxPreExecutionTransitions = 100;
LicenseSemaphoreTimeout = 10000;
ParentProcessIdledWaitTimeout = 30000;