Skip to main content

Interface: IWorkflowActivationJob

coresdk.workflow_activation.IWorkflowActivationJob

Properties of a WorkflowActivationJob.

Implemented by

Properties

cancelWorkflow

Optional cancelWorkflow: null | ICancelWorkflow

A request to cancel the workflow was received.


doUpdate

Optional doUpdate: null | IDoUpdate

A request to handle a workflow update.


fireTimer

Optional fireTimer: null | IFireTimer

A timer has fired, allowing whatever was waiting on it (if anything) to proceed


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.


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.


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.


resolveActivity

Optional resolveActivity: null | IResolveActivity

An activity was resolved, result could be completed, failed or cancelled


resolveChildWorkflowExecution

Optional resolveChildWorkflowExecution: null | IResolveChildWorkflowExecution

A child workflow was resolved, result could be completed or failed


resolveChildWorkflowExecutionStart

Optional resolveChildWorkflowExecutionStart: null | IResolveChildWorkflowExecutionStart

A child workflow execution has started or failed to start


resolveRequestCancelExternalWorkflow

Optional resolveRequestCancelExternalWorkflow: null | IResolveRequestCancelExternalWorkflow

An attempt to cancel an external workflow resolved


resolveSignalExternalWorkflow

Optional resolveSignalExternalWorkflow: null | IResolveSignalExternalWorkflow

An attempt to signal an external workflow resolved


signalWorkflow

Optional signalWorkflow: null | ISignalWorkflow

A request to signal the workflow was received.


startWorkflow

Optional startWorkflow: null | IStartWorkflow

Begin a workflow for the first time


updateRandomSeed

Optional updateRandomSeed: null | IUpdateRandomSeed

Workflow was reset. The randomness seed must be updated.