Class: WorkflowActivationJob
coresdk.workflow_activation.WorkflowActivationJob
Represents a WorkflowActivationJob.
Implements
Constructors
constructor
• new WorkflowActivationJob(properties?): WorkflowActivationJob
Constructs a new WorkflowActivationJob.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowActivationJob | Properties to set |
Returns
Properties
cancelWorkflow
• Optional cancelWorkflow: null | ICancelWorkflow
A request to cancel the workflow was received.
Implementation of
IWorkflowActivationJob.cancelWorkflow
doUpdate
• Optional doUpdate: null | IDoUpdate
A request to handle a workflow update.
Implementation of
IWorkflowActivationJob.doUpdate
fireTimer
• Optional fireTimer: null | IFireTimer
A timer has fired, allowing whatever was waiting on it (if anything) to proceed
Implementation of
IWorkflowActivationJob.fireTimer
initializeWorkflow
• Optional initializeWorkflow: null | IInitializeWorkflow
A workflow is starting, record all of the information from its start event
Implementation of
IWorkflowActivationJob.initializeWorkflow
notifyHasPatch
• Optional notifyHasPatch: null | INotifyHasPatch
A patch marker has been detected and lang is being told that change exists. This job is strange in that it is sent pre-emptively to lang without any corresponding command being sent first.
Implementation of
IWorkflowActivationJob.notifyHasPatch
queryWorkflow
• Optional queryWorkflow: null | IQueryWorkflow
A request to query the workflow was received. It is guaranteed that queries (one or more) always come in their own activation after other mutating jobs.
Implementation of
IWorkflowActivationJob.queryWorkflow
removeFromCache
• Optional removeFromCache: null | IRemoveFromCache
Remove the workflow identified by the [WorkflowActivation] containing this job from the cache after performing the activation. It is guaranteed that this will be the only job in the activation if present.
Implementation of
IWorkflowActivationJob.removeFromCache
resolveActivity
• Optional resolveActivity: null | IResolveActivity
An activity was resolved, result could be completed, failed or cancelled
Implementation of
IWorkflowActivationJob.resolveActivity
resolveChildWorkflowExecution
• Optional resolveChildWorkflowExecution: null | IResolveChildWorkflowExecution
A child workflow was resolved, result could be completed or failed
Implementation of
IWorkflowActivationJob.resolveChildWorkflowExecution
resolveChildWorkflowExecutionStart
• Optional resolveChildWorkflowExecutionStart: null | IResolveChildWorkflowExecutionStart
A child workflow execution has started or failed to start
Implementation of
IWorkflowActivationJob.resolveChildWorkflowExecutionStart
resolveNexusOperation
• Optional resolveNexusOperation: null | IResolveNexusOperation
A nexus operation resolved.
Implementation of
IWorkflowActivationJob.resolveNexusOperation
resolveNexusOperationStart
• Optional resolveNexusOperationStart: null | IResolveNexusOperationStart
A nexus operation started.
Implementation of
IWorkflowActivationJob.resolveNexusOperationStart
resolveRequestCancelExternalWorkflow
• Optional resolveRequestCancelExternalWorkflow: null | IResolveRequestCancelExternalWorkflow
An attempt to cancel an external workflow resolved
Implementation of
IWorkflowActivationJob.resolveRequestCancelExternalWorkflow
resolveSignalExternalWorkflow
• Optional resolveSignalExternalWorkflow: null | IResolveSignalExternalWorkflow
An attempt to signal an external workflow resolved
Implementation of
IWorkflowActivationJob.resolveSignalExternalWorkflow
signalWorkflow
• Optional signalWorkflow: null | ISignalWorkflow
A request to signal the workflow was received.
Implementation of
IWorkflowActivationJob.signalWorkflow
updateRandomSeed
• Optional updateRandomSeed: null | IUpdateRandomSeed
Workflow was reset. The randomness seed must be updated.
Implementation of
IWorkflowActivationJob.updateRandomSeed