Workflow Engine .NET

Assembly: OptimaJet.Workflow.Api

Interface IWorkflowTenant

OptimaJet.Workflow.Api.IWorkflowTenant

Defines a workflow tenant in a Workflow Engine Web API. In a single-tenant setup registered as a single instance with WorkflowApiConstants.SingleTenantId as its only id.

public interface IWorkflowTenant

Properties

Name
Type
Ids #
IReadOnlyCollection<String>
All logical tenant ids that map to this tenant instance.
WorkflowRuntime #
WorkflowRuntime
The workflow runtime instance for this tenant.
DataProvider #
IDataProvider
The data provider for this tenant.
LifecycleOwnership #
WorkflowTenantLifecycleOwnership
Lifecycle ownership of the tenant, indicating whether the tenant is managed by the workflow engine or externally.

Methods

Task StartAsync() #
Starts the tenant lifecycle before the tenant is published in the tenant registry.

Returns

Type
Description
Task
Task ShutdownAsync() #
Gracefully shuts down the tenant after it is removed from the tenant registry and no active snapshot uses it.

Returns

Type
Description
Task

Derived Types