Class AgentRunCompensation
One completed workflow step whose effect is undone if the run fails: recorded when the step
completes, played (its compensate steps) when the workflow fails for good, in the reverse
order of completion. Its status is checkpointed, so a run interrupted while compensating finishes
the compensations left and never plays one twice.
public sealed class AgentRunCompensation
- Inheritance
-
AgentRunCompensation
- Inherited Members
Fields
- Done
A compensation played to its end.
- Failed
A compensation whose steps failed: an operator settles what it could not undo.
- Pending
A compensation not played yet.
Properties
- CompletedUtc
Gets or sets when the step completed.
- Error
Gets or sets why the compensation failed; null unless it did.
- StepId
Gets or sets the id of the completed step.
- StepKey
Gets or sets the position of the completed step (a step inside a loop or an item is named with its pass).