# Namespace OptimaJet.Workflow.Core.Runtime ## Classes - [ActorsApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ActorsApi/) Provides APIs for resolving workflow participant identities and associated commands from workflow actor rules for a specific [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) instance. - [AggregatingActionProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/AggregatingActionProvider/) Combines registered [IWorkflowActionProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowActionProvider/) implementations into one provider and resolves duplicate action and condition names by registration priority. - [AggregatingDesignerAutocompleteProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/AggregatingDesignerAutocompleteProvider/) Combines suggestions from every applicable [IDesignerAutocompleteProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerAutocompleteProvider/) implementation. - [AggregatingDesignerParameterFormatProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/AggregatingDesignerParameterFormatProvider/) Combines registered [IDesignerParameterFormatProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerParameterFormatProvider/) implementations into one provider and selects a single structured parameter format by registration priority. - [AggregatingExternalParametersProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/AggregatingExternalParametersProvider/) Combines registered [IWorkflowExternalParametersProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowExternalParametersProvider/) implementations into one provider and routes external parameter operations by parameter ownership and access mode. - [AggregatingRuleProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/AggregatingRuleProvider/) Combines registered [IWorkflowRuleProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowRuleProvider/) implementations into one provider and resolves duplicate rule names by registration priority. - [BaseAggregatingProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/BaseAggregatingProvider-T/) Stores providers registered either globally or for specific schemes and exposes the applicable providers in registration order. - [BeforeActivityExecutionEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/BeforeActivityExecutionEventArgs/) Provides event data for [WorkflowRuntime.OnBeforeActivityExecution](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) and [WorkflowRuntime.OnBeforeActivityExecutionAsync](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [BulkCreateInstancePrams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/BulkCreateInstancePrams/) Represents information required for bulk process instance creation. - [BulkOperationOptions](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/BulkOperationOptions/) Provides optional parameters used by workflow runtime bulk APIs. - [CodeActionsCompiledEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/CodeActionsCompiledEventArgs/) Provides event data for [WorkflowRuntime.GlobalCodeActionsCompiled](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [CommandExecutionResult](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/CommandExecutionResult/) Represents the outcome of a workflow command execution. - [CommandParameter](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/CommandParameter/) Represents a command parameter for use in an application. - [CreateInstanceParams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/CreateInstanceParams/) Provides parameters for creating a process instance. - [DeactivatedDesignerAutocompleteProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/DeactivatedDesignerAutocompleteProvider/) Wraps an [IDesignerAutocompleteProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerAutocompleteProvider/) and allows it to be enabled or disabled dynamically. - [DeactivatedDesignerParameterFormatProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/DeactivatedDesignerParameterFormatProvider/) Wraps an [IDesignerParameterFormatProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerParameterFormatProvider/) and allows it to be enabled or disabled dynamically. - [DeactivatedWorkflowActionProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/DeactivatedWorkflowActionProvider/) Wraps an [IWorkflowActionProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowActionProvider/) and allows it to be enabled or disabled dynamically. - [DeactivatedWorkflowRuleProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/DeactivatedWorkflowRuleProvider/) Wraps an [IWorkflowRuleProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowRuleProvider/) and allows it to be enabled or disabled dynamically. - [DefaultRuntimeIdProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/DefaultRuntimeIdProvider/) Provides a default [IRuntimeIdProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IRuntimeIdProvider/) implementation that persists a generated runtime identifier in a file. - [EmptyDesignerAutocompleteProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/EmptyDesignerAutocompleteProvider/) Provides the empty fallback implementation of [IDesignerAutocompleteProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerAutocompleteProvider/), representing the absence of Designer autocomplete suggestions. - [EmptyDesignerParameterFormatProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/EmptyDesignerParameterFormatProvider/) Provides the empty fallback implementation of [IDesignerParameterFormatProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerParameterFormatProvider/), representing the absence of Designer parameter format definitions. - [EmptyWorkflowActionProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/EmptyWorkflowActionProvider/) Provides the empty fallback implementation of [IWorkflowActionProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowActionProvider/), representing the absence of configured workflow actions and conditions. - [EmptyWorkflowExternalParametersProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/EmptyWorkflowExternalParametersProvider/) Provides the empty fallback implementation of [IWorkflowExternalParametersProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowExternalParametersProvider/), representing the absence of configured external parameters. - [EmptyWorkflowRuleProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/EmptyWorkflowRuleProvider/) Provides the empty fallback implementation of [IWorkflowRuleProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowRuleProvider/), representing the absence of configured workflow rules. - [GetInitialCommandsParams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetInitialCommandsParams/) Represents the parameters used to retrieve initial commands for a workflow process scheme. - [GetStateBySchemeParams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetStateBySchemeParams/) Represents parameters for getting workflow state information by scheme code. - [OfflineApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/OfflineApi/) Provides API operations for building approval maps and executing ordered batches of workflow commands. - [ParametersSerializer](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ParametersSerializer/) Provides JSON serialization helpers for process parameter values persisted by the Workflow Engine runtime. - [ProcessActivityChangedEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ProcessActivityChangedEventArgs/) Provides event data for [WorkflowRuntime.OnProcessActivityChanged](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) and [WorkflowRuntime.OnProcessActivityChangedAsync](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [ProcessHistoryItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ProcessHistoryItem/) Represents a persisted process history entry for a transition or process initialization. - [ProcessStatusChangedEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ProcessStatusChangedEventArgs/) Provides event data for [WorkflowRuntime.OnProcessStatusChanged](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) and [WorkflowRuntime.OnProcessStatusChangedAsync](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [ProcessStatusWait](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ProcessStatusWait/) Acquires exclusive execution access to a process by changing its persisted status to [ProcessStatus.Running](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/ProcessStatus/), waiting and retrying when the process is already being executed. - [ProcessTimer](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ProcessTimer/) Represents a process timer. - [ResumeParams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ResumeParams/) Provides parameters for resuming a process from a specific activity. - [ResumeResult](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ResumeResult/) Represents the result of a process resume execution. - [RuntimeStartEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/RuntimeStartEventArgs/) Provides event data for runtime startup notifications raised by [WorkflowRuntime.OnRuntimeStart](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) and [WorkflowRuntime.OnRuntimeStartAsync](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [SchemaWasChangedEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/SchemaWasChangedEventArgs/) Provides event data for [WorkflowRuntime.OnSchemaWasChanged](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) and [WorkflowRuntime.OnSchemaWasChangedAsync](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [SetStateParams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/SetStateParams/) Provides parameters for setting a process state. - [StartingTransitionNotFoundEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/StartingTransitionNotFoundEventArgs/) Provides event data for [WorkflowRuntime.OnStartingTransitionNotFound](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) and [WorkflowRuntime.OnStartingTransitionNotFoundAsync](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [TimerToExecute](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/TimerToExecute/) Represents a workflow timer to execute and identifies its owning process tree. - [TimerToRegister](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/TimerToRegister/) Represents a timer registration entry that is persisted in a timer store. - [UserIdentity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/UserIdentity/) Associates an application-defined workflow participant identity with a user name. - [WorkflowCommand](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowCommand/) Represents a workflow command for use in an application. - [WorkflowErrorEventArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowErrorEventArgs/) Provides event data for [WorkflowRuntime.OnWorkflowError](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) and [WorkflowRuntime.OnWorkflowErrorAsync](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) Provides the main API for configuring Workflow Engine and working with [ProcessInstance](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ProcessInstance/) objects. - [WorkflowRuntimeBulkApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeBulkApi/) Runtime extension API for creating process instances in bulk. - [WorkflowRuntimeConfigurationExtension](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeConfigurationExtension/) Provides fluent configuration methods for [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [WorkflowRuntimeGetActorsApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeGetActorsApi/) Provides extension methods on [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) for resolving workflow participant identities assigned to command transitions by actor restrictions. - [WorkflowRuntimeGetActorsWithCommandsApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeGetActorsWithCommandsApi/) Provides [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) extension methods for resolving workflow participant identities and associated commands from actor restrictions on command transitions. - [WorkflowRuntimeSettings](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeSettings/) Represents configurable runtime behavior used by [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/). - [WorkflowRuntimeStartResult](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeStartResult/) Represents the result of a [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) start operation that may include global code action compilation errors. - [WorkflowRuntimeTenantGlobalParameterExtensions](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeTenantGlobalParameterExtensions/) Extension methods for tenant-bound global parameter operations. - [WorkflowRuntimeTimeExtensions](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeTimeExtensions/) Provides extension methods for converting dates and times to runtime time. - [WorkflowState](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowState/) Represents the state of a process used by the Workflow Engine runtime. ## Interfaces - [ICustomActivityProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ICustomActivityProvider/) Provides custom workflow activities to the runtime. - [IDesignerAutocompleteProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerAutocompleteProvider/) Provides autocomplete suggestions for design-time inputs shown in the Workflow Designer UI. - [IDesignerParameterFormatProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IDesignerParameterFormatProvider/) Supplies the Workflow Designer with metadata used to build structured editors for the parameters of named workflow actions, conditions, and rules. - [ILocalizationProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ILocalizationProvider/) Provides access to localized text resources used by workflow runtime and designer logic. - [IRuntimeIdProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IRuntimeIdProvider/) Provides a runtime identifier that is used to initialize a [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) instance. - [ITimerManager](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ITimerManager/) Defines services for initializing and managing workflow timers at runtime. - [IWorkflowActionProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowActionProvider/) Provides workflow actions and conditions from runtime definitions. - [IWorkflowExternalParametersProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowExternalParametersProvider/) Provides access to workflow external parameters for a specific process instance. - [IWorkflowRuleProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/IWorkflowRuleProvider/) Defines named authorization rules used to evaluate workflow participant identities for transition restrictions. ## Enums - [CancellationTokenHandling](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/CancellationTokenHandling/) Specifies whether workflow execution checks a [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) at the post-activity checkpoint before continuing the process. - [ExecutionSearchOrder](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ExecutionSearchOrder/) Defines the lookup order used by the runtime when resolving actions, conditions, and rules by name. - [NamesSearchType](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/NamesSearchType/) Specifies the filtering strategy for action and condition name queries in workflow providers. - [SuggestionCategory](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/SuggestionCategory/) Identifies the context for autocomplete suggestions requested by the Workflow Designer. ## Delegates - [GetCustomTimerValueAsyncDelegate](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetCustomTimerValueAsyncDelegate/) Asynchronous delegate used to resolve a custom [TimerDefinition.Value](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/TimerDefinition/) into its execution time. - [GetUserByIdentityAsyncDelegate](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetUserByIdentityAsyncDelegate/) Asynchronous delegate used to resolve the user name associated with a workflow participant identity. - [GetUsersWithIdentitiesAsyncDelegate](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetUsersWithIdentitiesAsyncDelegate/) Asynchronous delegate used to retrieve [UserIdentity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/UserIdentity/) associations between user names and application-defined workflow participant identities. ## Sub-namespaces - [Bulk](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Bulk/) - [Calendars](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Calendars/) - [CodeAutocomplete](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.CodeAutocomplete/) - [ProcessRestoring](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.ProcessRestoring/) - [ServiceRunners](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.ServiceRunners/) - [Settings](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/) - [Timers](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Timers/)