Class Command
OptimaJet.Workflow.Core.Model.ApprovalMap.Command
Represents one command in an ordered batch executed through OfflineApi.
Namespace: OptimaJet.Workflow.Core.Model.ApprovalMap
public class CommandConstructors
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
nameStringThe command name supplied when selecting an available WorkflowCommand. A nonempty value is matched case-sensitively against WorkflowCommand.CommandName.
identityIdStringThe 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.
dateTimeDateTimeThe date and time used to order the command among commands executed for the same process.
processIdGuidThe 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.