Skip to main content

Interface: IWorkflowCommand

coresdk.workflow_commands.IWorkflowCommand

Properties of a WorkflowCommand.

Implemented by

Properties

cancelChildWorkflowExecution

Optional cancelChildWorkflowExecution: null | ICancelChildWorkflowExecution

WorkflowCommand cancelChildWorkflowExecution


cancelSignalWorkflow

Optional cancelSignalWorkflow: null | ICancelSignalWorkflow

WorkflowCommand cancelSignalWorkflow


cancelTimer

Optional cancelTimer: null | ICancelTimer

WorkflowCommand cancelTimer


cancelWorkflowExecution

Optional cancelWorkflowExecution: null | ICancelWorkflowExecution

WorkflowCommand cancelWorkflowExecution


completeWorkflowExecution

Optional completeWorkflowExecution: null | ICompleteWorkflowExecution

WorkflowCommand completeWorkflowExecution


continueAsNewWorkflowExecution

Optional continueAsNewWorkflowExecution: null | IContinueAsNewWorkflowExecution

WorkflowCommand continueAsNewWorkflowExecution


failWorkflowExecution

Optional failWorkflowExecution: null | IFailWorkflowExecution

WorkflowCommand failWorkflowExecution


modifyWorkflowProperties

Optional modifyWorkflowProperties: null | IModifyWorkflowProperties

WorkflowCommand modifyWorkflowProperties


requestCancelActivity

Optional requestCancelActivity: null | IRequestCancelActivity

WorkflowCommand requestCancelActivity


requestCancelExternalWorkflowExecution

Optional requestCancelExternalWorkflowExecution: null | IRequestCancelExternalWorkflowExecution

WorkflowCommand requestCancelExternalWorkflowExecution


requestCancelLocalActivity

Optional requestCancelLocalActivity: null | IRequestCancelLocalActivity

WorkflowCommand requestCancelLocalActivity


respondToQuery

Optional respondToQuery: null | IQueryResult

WorkflowCommand respondToQuery


scheduleActivity

Optional scheduleActivity: null | IScheduleActivity

WorkflowCommand scheduleActivity


scheduleLocalActivity

Optional scheduleLocalActivity: null | IScheduleLocalActivity

WorkflowCommand scheduleLocalActivity


setPatchMarker

Optional setPatchMarker: null | ISetPatchMarker

WorkflowCommand setPatchMarker


signalExternalWorkflowExecution

Optional signalExternalWorkflowExecution: null | ISignalExternalWorkflowExecution

WorkflowCommand signalExternalWorkflowExecution


startChildWorkflowExecution

Optional startChildWorkflowExecution: null | IStartChildWorkflowExecution

WorkflowCommand startChildWorkflowExecution


startTimer

Optional startTimer: null | IStartTimer

WorkflowCommand startTimer


updateResponse

Optional updateResponse: null | IUpdateResponse

WorkflowCommand updateResponse


upsertWorkflowSearchAttributes

Optional upsertWorkflowSearchAttributes: null | IUpsertWorkflowSearchAttributes

WorkflowCommand upsertWorkflowSearchAttributes


userMetadata

Optional userMetadata: null | IUserMetadata

User metadata that may or may not be persisted into history depending on the command type. Lang layers are expected to expose the setting of the internals of this metadata on a per-command basis where applicable.