Class CommandExecutionResult
OptimaJet.Workflow.Api.Models.CommandExecutionResult
Command Execution Result.
Namespace: OptimaJet.Workflow.Api.Models
public record CommandExecutionResult : IEquatable<CommandExecutionResult>Type Hierarchy
- CommandExecutionResult Current type
- Implemented interfaces
Constructors
public CommandExecutionResult(string CommandName, bool WasExecuted, ProcessInstance ProcessInstance, string? Message, string? LocalizedCommandName = null) #
Command Execution Result.
Parameters
Name
Type
Description
CommandNameStringThe command name.
WasExecutedBooleanWhether the command was executed.
ProcessInstanceProcessInstanceThe process instance.
MessageStringThe message.
LocalizedCommandNameStringThe 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.