I’m running batch jobs. Is it possible, in a task configured with a
poststop lifecycle hook, to receive/forward status from the main task execution’s result?
When the main task fails, send a message to notify that this specific task is in error.
Docs currently mention that poststop task can be used to “recover from failure”:
They are useful for performing post-processing that isn’t available in the main tasks or for recovering from failures in the main tasks.
But I’m not sure to understand how failures can be distinguished from success, in this case.
Any help much appreciated!