Assembly: OptimaJet.Workflow.Core

Class WorkflowRuntimeTenantGlobalParameterExtensions

OptimaJet.Workflow.Core.Runtime.WorkflowRuntimeTenantGlobalParameterExtensions

Extension methods for tenant-bound global parameter operations.

public static class WorkflowRuntimeTenantGlobalParameterExtensions

Methods

public static TenantGlobalParameterApi GetTenantGlobalParameterApi(this WorkflowRuntime runtime, string? tenantId) #
Creates and returns a tenant-bound global parameter API for the runtime.

Parameters

Name
Type
Description
runtime
WorkflowRuntime
Workflow runtime used to create the API.
tenantId
String
Tenant identifier. If null, empty, or whitespace, shared global parameters are used.

Returns

Type
Description
TenantGlobalParameterApi
A TenantGlobalParameterApi instance for the tenant-specific or shared global parameter scope.

Exceptions

Type
Description
ArgumentNullException
runtime cannot be null.