Method FailActivityAsync
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
instanceIdGuidnodeIdstringctCancellationToken
Returns
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.