Alter the Next Step of a Running Workflow
change_next_workflow_step.Rd
This function allows a running job to alter the workflow sequence by choosing which step to run after the current one.
Arguments
- next_step
A scalar number coercible to integer instructing the workflow system which step to run next
- sbatch_opts
an optional named list of sbatch parameters that would override the ones specified by the
next_step
for the next iteration
Examples
if (FALSE) {
# Instruct the workflow to run the step 3 after this one
change_next_workflow_step(3)
# Instruct the workflow to run the previous step after this one
change_next_workflow_step(get_current_workflow_step() - 1)
}