Register a handler to be invoked when an activity completes successfully.
Function called with the activity end payload.
Register a handler to be invoked when an activity completes successfully.