Hello Team,
I am designing a workflow wherein I am invoking various workflow files.
The workflow will be:
- Start Job A
- Check if job A is successful. If yes then start job B & if not then alert the team to fix the issue and restart the job.
- Check if job B is successful. If yes then start job C & if not then alert the team to fix the issue and restart the job.
- Check if job C is successful. If yes then log success message & if not then alert the team to fix the issue and restart the job.
I am running this job from the orchestrator and have set a trigger to start it every weekend.
My problem here is if Job C fails, and once we fix the issue, I will have to run the entire workflow from the beginning which is undesirable as we cannot have the jobs which are successful to be run again.
Is there a way I can design a restart mechanism so that the workflow execution starts from the point of failure and continues from there. So if job C fails and I restart the automation job from the orchestrator, it should continue from Job C execution and shouldn’t run the previous jobs which are already successful.
I would highly appreciate any ideas/ suggestions on this.
Kind Regards,
Pranav