Create Restart Points In a Workflow

Hello Team,

I am designing a workflow wherein I am invoking various workflow files.

The workflow will be:

  1. Start Job A
  2. 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.
  3. 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.
  4. 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

Hi,

Not sure it’s the best idea but I would put an input argument as boolean, something like in_bFailed and if true (so you’ll need to add some If in your program), only job C will be executed.

Maybe there are some other ways!

Good luck,

Best regards

Hi @melanie

Thanks for your response. I will give this a go.