Class WorkflowRuntimeCreationOptions
OptimaJet.Workflow.Api.Options.WorkflowRuntimeCreationOptions
Contains configuration options for the Workflow Engine WorkflowRuntime.
Namespace: OptimaJet.Workflow.Api.Options
public record WorkflowRuntimeCreationOptions : IEquatable<WorkflowRuntimeCreationOptions>Type Hierarchy
- WorkflowRuntimeCreationOptions Current type
- Implemented interfaces
Properties
public Guid RuntimeId { get; set; } #The unique identifier for the Workflow Engine runtime instance.
[JsonIgnore] [JsonIgnore] public Func<IWorkflowProvider?, IPersistenceProvider> PersistenceProviderFactory { get; set; } #A factory method for creating an instance of IPersistenceProvider, serving as an interface for storing process data in the Workflow Engine runtime. The parameter provided to the factory is the default IWorkflowProvider provider specified when creating the tenant or
null if no provider is specified.[JsonIgnore] [JsonIgnore] public Func<IWorkflowProvider?, IWorkflowBuilder> WorkflowBuilderFactory { get; set; } #A factory method for creating an instance of IWorkflowBuilder, serving as a workflow scheme parser for the Workflow Engine runtime. The parameter provided to the factory is the IWorkflowProvider provider specified when creating the tenant or
null if no provider is specified.[JsonIgnore] [JsonIgnore] public Action<WorkflowRuntime> ConfigureWorkflowRuntime { get; set; } #A delegate used to configure the Workflow Engine runtime instance. Called after the IPersistenceProvider and IWorkflowBuilder have been registered.
public bool DisableMigrationsExecution { get; set; } #If set to
true, disables the execution of WorkflowRuntimeExtensions.RunMigrations(WorkflowRuntime) during the initialization of the WorkflowRuntime.public bool DisableRuntimeAutoStart { get; set; } #If set to
true, prevents the WorkflowRuntimeConfigurationExtension.StartAsync(WorkflowRuntime, bool) from automatically starting after initialization.public bool IgnoreNotCompiledGlobalActionsOnStart { get; set; } #If set to
true, the Workflow Engine runtime will ignore any compilation errors that occur in global actions during its startup.