https://garden.io logo
#🌱|help-and-getting-started
Is there a way to resume a workflow at a certain step?
# 🌱|help-and-getting-started
b

boundless-crowd-66836

01/19/2024, 4:58 PM
I have a workflow with many long-running steps, and occasionally one or two of them will flake out and require me to restart the entire workflow to proceed. Is there any way to resume the workflow at a certain step?
q

quaint-dress-831

01/22/2024, 12:17 PM
Hi @boundless-crowd-66836 although there isn't a method for resuming a particular step, you can use
onError
and
onSuccess
steps to control your pipeline such that later steps will only run on a success or errored steps will trigger other conditional actions. More on that in the docs at https://docs.garden.io/using-garden/workflows#the-skip-and-when-options