Table of Contents

Method FailActivityAsync

Namespace
Millrace.Workflows
Assembly
Millrace.dll

FailActivityAsync(Guid, string, CancellationToken)

Reacts to an activity that failed past its retry policy: unwinds its saga if it was inside one, and otherwise records the instance as failed.

Task FailActivityAsync(Guid instanceId, string nodeId, CancellationToken ct)

Parameters

instanceId Guid
nodeId string
ct CancellationToken

Returns

Task

Remarks

Enqueued by the substrate atomically with the dead-letter transition, because nothing of the engine is running when a job dies — the activity threw and the worker finished the job on its own.