Assembly: OptimaJet.Workflow.Core

Class Command

OptimaJet.Workflow.Core.Model.ApprovalMap.Command

Represents one command in an ordered batch executed through OfflineApi.

public class Command

Constructors

public Command(string name, string identityId, DateTime dateTime, Guid processId = default) #
Initializes a new Command for an ordered batch executed through OfflineApi.

Parameters

Name
Type
Description
name
String
The command name supplied when selecting an available WorkflowCommand. A nonempty value is matched case-sensitively against WorkflowCommand.CommandName.
identityId
String
The workflow participant identity whose permissions are evaluated when selecting an available WorkflowCommand. The same identity initiates command execution and is the workflow participant identity on whose behalf the command is executed.
dateTime
DateTime
The date and time used to order the command among commands executed for the same process.
processId
Guid
The ProcessInstance.ProcessId used to group the command with other commands for the same process. The default is Guid.Empty.

Properties

public string Name { get; set; } #
Gets or sets the command name supplied when selecting an available WorkflowCommand. A nonempty value is matched case-sensitively against WorkflowCommand.CommandName.
public DateTime DateTime { get; set; } #
Gets or sets the date and time used to order this command among commands executed for the same process.
public Guid ProcessId { get; set; } #
Gets or sets the ProcessInstance.ProcessId used to group this command with other commands for the same process when OfflineApi executes a batch without a separate Process ID.
public string IdentityId { get; set; } #
Gets or sets the workflow participant identity whose permissions are evaluated when selecting an available WorkflowCommand. The same identity initiates command execution and is the workflow participant identity on whose behalf the command is executed.