Skip to main content

Interface: $Properties

Properties of a WorkflowActivationJob.

Extended by​

Properties​

cancelWorkflow?​

optional cancelWorkflow?: $Properties | null

A request to cancel the workflow was received.


doUpdate?​

optional doUpdate?: $Properties | null

A request to handle a workflow update.


fireTimer?​

optional fireTimer?: $Properties | null

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


initializeWorkflow?​

optional initializeWorkflow?: $Properties | null

A workflow is starting, record all of the information from its start event


notifyHasPatch?​

optional notifyHasPatch?: $Properties | null

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?: $Properties | null

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?: $Properties | null

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?: $Properties | null

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


resolveChildWorkflowExecution?​

optional resolveChildWorkflowExecution?: $Properties | null

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


resolveChildWorkflowExecutionStart?​

optional resolveChildWorkflowExecutionStart?: $Properties | null

A child workflow execution has started or failed to start


resolveNexusOperation?​

optional resolveNexusOperation?: $Properties | null

A nexus operation resolved.


resolveNexusOperationStart?​

optional resolveNexusOperationStart?: $Properties | null

A nexus operation started.


resolveRequestCancelExternalWorkflow?​

optional resolveRequestCancelExternalWorkflow?: $Properties | null

An attempt to cancel an external workflow resolved


resolveSignalExternalWorkflow?​

optional resolveSignalExternalWorkflow?: $Properties | null

An attempt to signal an external workflow resolved


signalWorkflow?​

optional signalWorkflow?: $Properties | null

A request to signal the workflow was received.


updateRandomSeed?​

optional updateRandomSeed?: $Properties | null

Workflow was reset. The randomness seed must be updated.


variant?​

optional variant?: "initializeWorkflow" | "fireTimer" | "updateRandomSeed" | "queryWorkflow" | "cancelWorkflow" | "signalWorkflow" | "resolveActivity" | "notifyHasPatch" | "resolveChildWorkflowExecutionStart" | "resolveChildWorkflowExecution" | "resolveSignalExternalWorkflow" | "resolveRequestCancelExternalWorkflow" | "doUpdate" | "resolveNexusOperationStart" | "resolveNexusOperation" | "removeFromCache"

WorkflowActivationJob variant