# Class WorkflowCommand OptimaJet.Workflow.Api.Models.WorkflowCommand Workflow Command. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record WorkflowCommand : IEquatable ``` ## Type Hierarchy - WorkflowCommand Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `[JsonConstructor] [JsonConstructor] public WorkflowCommand(Guid processId, string name, string validForActivityName)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `processId` | `Guid` | | | `name` | `String` | | | `validForActivityName` | `String` | | ## Properties ### `public Guid ProcessId { get; init; }` Gets the process id value. ### `public string Name { get; init; }` Gets the name value. ### `public string? LocalizedName { get; init; }` Gets the localized name value. ### `public List? Parameters { get; init; }` Gets the parameters value. ### `public string ValidForActivityName { get; init; }` Gets the valid for activity name value. ### `public string? ValidForStateName { get; init; }` Gets the valid for state name value. ### `public bool IsForSubprocess { get; init; }` Gets the is for subprocess value. ### `[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public TransitionClassifier? Classifier { get; init; }` Gets the classifier value. ### `public List? Identities { get; init; }` Gets the identities value. ### `public string? LocalizedValidForStateName { get; init; }` Gets the localized value of the original name using the request culture. [Previous UpdateSchemeIfObsoleteResponse](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/UpdateSchemeIfObsoleteResponse/) [Next WorkflowState](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/WorkflowState/)