# Class GetStateBySchemeParams OptimaJet.Workflow.Core.Runtime.GetStateBySchemeParams Represents parameters for getting workflow state information by scheme code. Namespace: [OptimaJet.Workflow.Core.Runtime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/) ```csharp public class GetStateBySchemeParams ``` ## Constructors `public GetStateBySchemeParams(string schemeCode)` Initializes a new instance of the [GetStateBySchemeParams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetStateBySchemeParams/) class. ### Parameters | Name | Type | Description | | --- | --- | --- | | `schemeCode` | `String` | The code of the scheme. | ### Exceptions | Type | Description | | --- | --- | | `ArgumentNullException` | `schemeCode` is [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null). | ## Properties `public string SchemeCode { get; init; }` Gets the scheme code for this request. `public string? TenantId { get; init; }` Gets or sets the tenant identifier for this request. `public CultureInfo? Culture { get; init; }` Gets or sets the culture used to localize state names. [Previous GetInitialCommandsParams](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetInitialCommandsParams/) [Next GetUserByIdentityAsyncDelegate](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/GetUserByIdentityAsyncDelegate/)