I have a requirement:
I want to process something (Send a mail to the user) once a job is finished / cancelled / Errored.
I think one way of doing this is create a new step in the job and process it depending on the status of earlier step (But I doubt whether this can be achieved).
Is there a way of doing conditional exceution of any step (i.e The execution of a step depends on the success/ failure of earlier steps)
Is there a better way of achieving this?