-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to Build section in v2 docs - new pages and videos
- Loading branch information
1 parent
21819eb
commit fd9ad17
Showing
22 changed files
with
777 additions
and
1,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: Paths & Path Conditions | ||
sidebar_label: Paths | ||
--- | ||
|
||
A Path is both a visual and functional indication defining the sequence of Steps | ||
the Workflow follows when executed. Read on more on the different types of Paths | ||
and configuration tips. | ||
|
||
## Path Conditions | ||
|
||
There are 4 types of Path Conditions that define whether the Workflow will | ||
proceed to the next Step when executed: | ||
|
||
1. Always (the next Step will always run after the execution of the prior Step | ||
is completed) | ||
2. On Success (the next Step will run only if the execution of the prior Step | ||
_succeeded_) | ||
3. On Failure (the next Step will run only if the execution of the prior Step | ||
_failed_) | ||
4. Matches a JavaScript Expression (the next Step will only run if the condition | ||
or custom expression evaluates to be true) | ||
|
||
 | ||
|
||
## Writing JavaScript Expressions for Custom Path Conditions | ||
|
||
Write your own JavaScript expression if you want to define a **custom | ||
condition** that evaluates the initial state of the step. | ||
|
||
The workflow will only continue to the next step if if the JavaScript expression | ||
evaluates to be true. | ||
|
||
 | ||
|
||
## Disable Paths to deactivate | ||
|
||
To "deactivate" part of your Workflow and the Steps that follow a specific Path | ||
sequence: | ||
|
||
1. Click on the `Path` you want to deactive | ||
2. Select the `Disable this path` checkbox |
Oops, something went wrong.