Skip to content

Commit

Permalink
Merge pull request #525 from OpenFn/merging
Browse files Browse the repository at this point in the history
branching and skipping steps
  • Loading branch information
aleksa-krolls authored Jul 31, 2024
2 parents b9ea0ca + 0462a21 commit 78a1dac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/build/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ Check out the video overview below to learn how to create a Workflow.

<iframe width="784" height="441" src="https://www.youtube.com/embed/HmE_wp_g1RY?si=Pud7DPS0BevAjStp" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

### Merging branches and Skipping Steps

The workflow builder allows branch merging and skipping steps. To merge two or more steps into one step or to skip some steps:

1. Hover on the step you want to merge or initiate a skip
2. You will see a link 🔗 icon beside the new step icon.
3. Click on the link icon and drag to create a path
4. Drop the new path on the desired step in your workflow

![Merging](/img/workflow_builder_merging.gif)

:::note
Looping workflows are not supported so you have to connect paths to downstream steps.
When using branching and skipping paths, you can use edge conditions like with any other step.
:::

## Run Workflows

To run a Workflow, you can either activate the Trigger (e.g., send a request to
Expand Down
Binary file added static/img/workflow_builder_merging.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 78a1dac

Please sign in to comment.