# Class ExecuteCommandResponse OptimaJet.Workflow.Api.Models.ExecuteCommandResponse Execute Command Response. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record ExecuteCommandResponse : IEquatable ``` ## Type Hierarchy - ExecuteCommandResponse Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public ExecuteCommandResponse(string CommandName, bool WasExecuted, ProcessInstance ProcessInstance, string? Message, string? LocalizedCommandName = null)` Execute Command Response. ### Parameters | Name | Type | Description | | --- | --- | --- | | `CommandName` | `String` | The command name. | | `WasExecuted` | `Boolean` | Whether the command was executed. | | `ProcessInstance` | `ProcessInstance` | The process instance. | | `Message` | `String` | The message. | | `LocalizedCommandName` | `String` | The command name localized using the request culture. | ## Properties ### `public string CommandName { get; init; }` The command name. ### `public bool WasExecuted { get; init; }` Whether the command was executed. ### `public ProcessInstance ProcessInstance { get; init; }` The process instance. ### `public string? Message { get; init; }` The message. ### `public string? LocalizedCommandName { get; init; }` The command name localized using the request culture. [Previous ExecuteCommandRequest](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ExecuteCommandRequest/) [Next Filter](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Filter-TField/)