Skip to main content

Interface: WorkflowInternalsInterceptor

workflow.WorkflowInternalsInterceptor

Interceptor for the internals of the Workflow runtime.

Use to manipulate or trace Workflow activations.

Methods#

activate#

Optional activate(input, next): Promise<void>

Called when the Workflow runtime runs a WFActivationJob.

Parameters#

NameType
inputActivateInput
nextOmitLastParam<fn>

Returns#

Promise<void>


concludeActivation#

Optional concludeActivation(input, next): ConcludeActivationInput

Called after all WFActivationJobs have been proccesed for an activation.

Can manipulate the commands generated by the Workflow

Parameters#

NameType
inputConcludeActivationInput
nextOmitLastParam<fn>

Returns#

ConcludeActivationInput