Marks the method of a step policy that implements on step success,
called after an attempt reported Success. It returns this.keepDefault(),
this.finishWorkflow() or this.failWorkflow(reason).
Error, when the class is defined, if the policy marks another
method with this hook, if the method is marked with another hook too, or
if the compiler option emitDecoratorMetadata is off.
Marks the method of a step policy that implements
on step success, called after an attempt reported Success. It returnsthis.keepDefault(),this.finishWorkflow()orthis.failWorkflow(reason).