The Branch Split operator executes different processes based on your criteria. The Branch Split operator has two different outputs. The Condition determines the output path your data takes. If your input matches your Condition, the operator returns True. From there, your data follows one of the possible paths. If your input does not match, the operator returns False, choosing the second path. Only one process can function at a time, and blocks the other.
The Branch Split operator works best with the Branch Merge operator. The Branch Split operator completes one of two different processes based on your criteria. The Branch Merge operator merges these two processes into a single output. While you can use the Branch Split operator on its own, you'll likely want to pair it with the Branch Merge operator.
For some applications, you might display different information based on end-user input. The Branch Split operator can take end-user input as your criteria. You can then add different content based on whether it does or does not meet the criteria. You'll end each process with the same output using the Branch Merge operator.
You’ll find the Branch Split operator under the Gateways group to the left of the Data Workflow canvas.
Similar Data Workflow Operators
The Branch Split operator is similar to the Decision and Filter operators. Here are the operators compared:
Branch Split operator: Pairs with the Branch Merge operator. Splits a single input into two possible pathways based on criteria. The Branch Split operator only takes one pathway and blocks the other.
Branch Merge operator: Merges the split pathways from the Branch Split operator.
Decision operator: Completes different processes based on criteria, like the Branch Split operator, but the Decision operator does not require a merge operation to combine its pathways into a single output.
Filter operator: Completes different processes based on the criteria. If the input matches the criteria, your data takes one path. If the input does not match the criteria, your data takes a different path. The Filter operator does not block its outputs.
About the Info Window
And here's a breakdown of each setting in the Info window:
Setting | Description |
|---|---|
Category | Grayed out and non-adjustable setting indicating the operation type. |
Label | Sets the label for your operator, displaying below the operator on your Data Workflow canvas. This field is optional, but set a label if you use more than one of the same operator type. A label helps you identify your operators without opening any Info windows. |
Do Not Sanitize Formula | When this checkbox is clear, the operator cleans values coming into or defined in the operator. For example, removing special characters. Some of those special characters include Sanitizing improves performance. But it can also lead to unexpected data behavior. If your Create Field is not behaving as expected, try selecting this box. When selected, the operator uses your values and expressions as-is. This is best when working with complex values or values that should remain unchanged. By default, this setting is selected, which means the operator does not attempt to sanitize. |
Preserve Argument Type | When selected, this setting ensures the argument data type is respected when the operator executes. |
Condition | Use this to define the action of the Branch Split operator. Here, you'll enter an argument ( If the Input meets the Condition, it'll return True. Then, the Branch Split operator passes the input value to the upper-right output node. If the input does not meet the Condition, it'll return False and pass it to the lower-right output node.
|
Adding a Branch Split Operator
In this example, you’ll design a dynamic applicant information form that adapts based on age. The form begins by capturing the applicant’s age and classifying it as either an adult or a minor. The adult and minor are guided through different sets of questionnaires. Once the application is complete, a Submit button is enabled.
Configure an HTML Element Component
In the Module Builder, drag and drop an HTML Element component onto your canvas.
In the Property ID field, enter
formTitle.In the Content field, enter
Application Information Form.In the Tag field, enter
h2.Click Save Component.
Configure Two Text Field Components
Drag and drop two Text Field components onto your canvas, placing them below the
formTitleHTML Element component.In the Property ID and Label Text fields, enter the following for each component:
#
Property ID
Label Text
1
firstName
Applicant First Name
2
lastName
Applicant Last Name
Click Save Component after adding each component.
Configure the Number Component
Drag and drop a Number component onto your canvas, placing it below the
lastNameText Field component.In the Property ID field, enter
age.In the Label Text field, enter
Applicant Age.Click Save Component.
Configure Two Field Group Components
Drag and drop two Field Group components onto your canvas, placing them below the
ageNumber component.In the Property ID and Canvas Label Text fields, enter the following for each component:
#
Property ID
Canvas Label Text
1
fgAdultQuestions
Adult Questionnaire
2
fgMinorQuestions
Minor Questionnaire
Set Hide All Nested Fields to
(ON) for each component.Click Save Component after adding each component.
Configure the fgAdultQuestions Field Group Component
Next, let’s add the input fields that are stored in the fgAdultQuestions Field Group component.
Drag and drop two Radio Buttons components inside the
fgAdultQuestionsField Group component.In the Property ID and Label Text fields, enter the following for each component:
#
Property ID
Label Text
1
employmentStatus
Are you currently employed?
2
financialIndependence
Do you manage your own expenses?
Click Save Component as you add each component.
Drag and drop a Text Area component inside the
fgAdultQuestionsField Group component, placing it below thefinancialIndependenceRadio Buttons component.In the Property ID field,
enter futurePlans.In the Label Text field, enter
Write about your higher education or career plans.Click Save Component.
Configure the fgMinorQuestions Field Group Component
Drag and drop two Text Field components inside the
fgMinorQuestionsField Group component.In the Property ID and Label Text fields, enter the following for each component:
#
Property ID
Label Text
1
educationLevel
What is your current education level?
2
favoriteSubjects
What are your favorite subjects?
Click Save Component as you add each component.
Drag and drop a Text Area component inside the
fgMinorQuestionsField Group component, placing it below thefavoriteSubjectsText Field component.In the Property ID field, enter
aspirations.In the Label Text field, enter
What do you want to do when you graduate high school?.Click Save Component.
Configure a Button Component
Drag and drop a Button component onto the canvas, placing it below the
fgMinorQuestionsField Group component.In the Property ID field, enter
btnSubmit.Set Disable User Input to
(ON).Under the Formatting section, set Button Width as Block.
Click Save Component.
Configure a Data Workflow Component
Drag and drop a Data Workflow component onto the canvas, placing it below the
ageNumber component.In the Property ID and Canvas Label Text fields, enter
dwfAdultOrMinor.
Configure an Input Operator
Drag and drop an Input operator onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Setting
Value
Category
Input
Component
age
Required
Yes
Source
Default
Configure a Branch Split Operator
Drag and drop a Branch Split operator onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Setting
Value
Category
Branch Start
Component
Adult or Minor?
Do Not Sanitize Formula
(checked)Preserve Argument Type
(checked)Condition
A>17
Connect the output port (right) of the
ageInput operator to the input port (left) of theAdult or Minor?Branch Split operator.
Configure Four Set Outputs Operators
Drag and drop two Set Outputs operators onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Component
Action
Set Value
fgAdultQuestions
hidden
false
fgMinorQuestions
visible
false
Connect the upper output port (right) of the
Adult or Minor?Branch Split operator to the input port (left) of thefgAdultQuestionsandfgMinorQuestionsSet Outputs operators.Drag and drop two Set Outputs operators onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Component
Action
Set Value
fgMinorQuestions
hidden
false
fgAdultQuestions
visible
false
Connect the lower output port (right) of the
Adult or Minor?Branch Split operator to the input port (left) of thefgAdultQuestionsandfgMinorQuestionsSet Outputs operators.
Configure a Branch Merge Operator
Drag and drop a Branch Merge operator onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Setting
Value
Category
Branch End
Label
Merge
Preserve Argument Type
(uncheckedConnect the upper output port (right) of the
Adult or Minor?Branch Split operator to the upper input port (left) of themergeBranch Merge operator.Connect the lower output port (right) of the
Adult or Minor?Branch Split operator to the lower input port (left) of themergeBranch Merge operator.
Configure a Set Outputs operator
Drag and drop a Set Outputs operator.
Configure the operator’s Info window as follows:
Setting
Value
Category
Set Outputs
Component
btnSubmit
Action
disabled
Set Value
false
Connect the output port (right) of the
mergeBranch Merge operator to the input port (left) of thebtnSubmitSet Outputs operator.Click Save Component.

Save your module.
Here’s how the completed module looks in the Module Builder:

Preview your module in Express View to view the functionality:
Open the DevTools Console and view the data:


The Branch Split operator executes different processes based on your criteria. The Branch Split operator has two different outputs. The Condition determines the output path your data takes. If your input matches your Condition, the operator returns True. From there, your data follows one of the possible paths. If your input does not match, the operator returns False, choosing the second path. Only one process can function at a time, and blocks the other.
The Branch Split operator works best with the Branch Merge operator. The Branch Split operator completes one of two different processes based on your criteria. The Branch Merge operator merges these two processes into a single output. While you can use the Branch Split operator on its own, you'll likely want to pair it with the Branch Merge operator.
For some applications, you might display different information based on end-user input. The Branch Split operator can take end-user input as your criteria. You can then add different content based on whether it does or does not meet the criteria. You'll end each process with the same output using the Branch Merge operator.
You’ll find the Branch Split operator under the Gateways group to the left of the Data Workflow canvas.
Similar Data Workflow Operators
The Branch Split operator is similar to the Decision and Filter operators. Here are the operators compared:
Branch Split operator: Pairs with the Branch Merge operator. Splits a single input into two possible pathways based on criteria. The Branch Split operator only takes one pathway and blocks the other.
Branch Merge operator: Merges the split pathways from the Branch Split operator.
Decision operator: Completes different processes based on criteria, like the Branch Split operator, but the Decision operator does not require a merge operation to combine its pathways into a single output.
Filter operator: Completes different processes based on the criteria. If the input matches the criteria, your data takes one path. If the input does not match the criteria, your data takes a different path. The Filter operator does not block its outputs.
About the Info Window
And here's a breakdown of each setting in the Info window:
Setting | Description |
|---|---|
Category | Grayed out and non-adjustable setting indicating the operation type. |
Label | Sets the label for your operator, displaying below the operator on your Data Workflow canvas. This field is optional, but set a label if you use more than one of the same operator type. A label helps you identify your operators without opening any Info windows. |
Do Not Sanitize Formula | When this checkbox is clear, the operator cleans values coming into or defined in the operator. For example, removing special characters. Some of those special characters include Sanitizing improves performance. But it can also lead to unexpected data behavior. If your Create Field is not behaving as expected, try selecting this box. When selected, the operator uses your values and expressions as-is. This is best when working with complex values or values that should remain unchanged. By default, this setting is selected, which means the operator does not attempt to sanitize. |
Preserve Argument Type | When selected, this setting ensures the argument data type is respected when the operator executes. |
Condition | Use this to define the action of the Branch Split operator. Here, you'll enter an argument ( If the Input meets the Condition, it'll return True. Then, the Branch Split operator passes the input value to the upper-right output node. If the input does not meet the Condition, it'll return False and pass it to the lower-right output node.
|
Adding a Branch Split Operator
In this example, you’ll design a dynamic applicant information form that adapts based on age. The form begins by capturing the applicant’s age and classifying it as either an adult or a minor. The adult and minor are guided through different sets of questionnaires. Once the application is complete, a Submit button is enabled.
Configure an HTML Element Component
In the Module Builder, drag and drop an HTML Element component onto your canvas.
In the Property ID field, enter
formTitle.In the Content field, enter
Application Information Form.In the Tag field, enter
h2.Click Save & Close.
Configure two Text Field Components
Drag and drop two Text Field components onto your canvas, placing them below the
formTitleHTML Element component.In the Property ID and the Label Text fields, enter the following for each component:
Property ID
Label Text
firstName
Applicant First Name
lastName
Applicant Last Name
Click Save & Close for each component as you add it.
Configure the Number Component
Drag and drop a Number component onto your canvas, place it below the
lastNameText Field component.In the Property ID field, enter
age.In the Label Text field, enter
Applicant Age.Click Save & Close.
Configure Two Field Group Components
Drag and drop two Field Group components onto your canvas, placing them below the
ageNumber component.In the Property ID and Canvas Label Text fields, enter the following for each component:
Property ID
Canvas Label Text
fgAdultQuestions
Adult Questionnaire
fgMinorQuestions
Minor Questionnaire
Set Hide All Nested Fields to
(ON) for each component.Click Save & Close for each component as you add it.
Configure the fgAdultQuestions Field Group Component
Next, let’s add the input fields that are stored in the fgAdultQuestions Field Group component.
Drag and drop two Radio Buttons components inside the
fgAdultQuestionsField Group component.In the Property ID and Label Text fields, enter the following for each component:
#
Property ID
Label Text
1
employmentStatus
Are you currently employed?
2
financialIndependence
Do you manage your own expenses?
Click Save & Close as you add each component.
Drag and drop a Text Area component into the
fgAdultQuestionsField Group component, placing it below thefinancialIndependenceRadio Buttons component.In the Property ID field,
enter futurePlans.In the Label Text field, enter
Write about your higher education or career plans.Click Save & Close.
Configure the fgMinorQuestions Field Group Component
Drag and drop two Text Field components inside the
fgMinorQuestionsField Group component.In the Property ID and Label Text fields, enter the following:
#
Property ID
Label Text
1
educationLevel
What is your current education level?
2
favoriteSubjects
What are your favorite subjects?
Click Save & Close as you add each component.
Drag and drop a Text Area component into the
fgMinorQuestionsField Group component, placing it below thefavoriteSubjectsText Field component.In the Property ID field, enter
aspirations.In the Label Text field, enter
What do you want to do when you graduate high school?.Click Save & Close.
Configure a Button Component
Drag and drop a Button component onto the canvas, placing it below the
fgMinorQuestionsField Group component.In the Property ID field, enter
btnSubmit.Set Disable User Input to
(ON).Under the Formatting section, set Button Width to Block.
Click Save & Close.
Configure a Data Workflow Component
Drag and drop a Data Workflow component onto the canvas, placing it below the
ageNumber component.In the Property ID and Canvas Label Text fields, enter
dwfAdultOrMinor.
Configure an Input Operator
Drag and drop an Input operator onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Setting
Value
Category
Input
Component
age
Required
Yes
Source
Default
Configure a Branch Split Operator
Drag and drop a Branch Split operator onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Setting
Value
Category
Branch Start
Component
Adult or Minor?
Do Not Sanitize Formula
(checked)Preserve Argument Type
(checked)Condition
A>17
Connect the output port (right) of the
ageInput operator to the input port (left) of theAdult or Minor?Branch Split operator.
Configure Four Set Outputs Operators
Drag and drop two Set Outputs operators onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Component
action
setValue
fgAdultQuestions
hidden
false
fgMinorQuestions
visible
false
Connect the upper output port (right) of the
Adult or Minor?Branch Split operator to the input port (left) of thefgAdultQuestionsandfgMinorQuestionsSet Outputs operators.Drag and drop two Set Outputs operators onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Component
action
setValue
fgMinorQuestions
hidden
false
fgAdultQuestions
visible
false
Connect the lower output port (right) of the
Adult or Minor?Branch Split operator to the input port (left) of thefgAdultQuestionsandfgMinorQuestionsSet Outputs operators.
Configure a Branch Merge Operator
Drag and drop a Branch Merge operator onto the Data Workflow canvas.
Configure the operator’s Info window as follows:
Setting
Value
Category
Branch End
Label
Merge
Preserve Argument Type
(uncheckedConnect the upper output port (right) of the
Adult or Minor?Branch Split operator to the upper input port (left) of themergeBranch Merge operator.Connect the lower output port (right) of the
Adult or Minor?Branch Split operator to the lower input port (left) of themergeBranch Merge operator.
Configure a Set Outputs operator
Drag and drop a Set Outputs operator.
Configure the operator’s Info window as follows:
Setting
Value
Category
Set Outputs
Component
btnSubmit
Action
disabled
Set Value
false
Connect the output port (right) of the
mergeBranch Merge operator to the input port (left) of thebtnSubmitSet Outputs operator.Click Save.

Save your module.
Here’s how the completed module looks in the Module Builder:
Preview your module in Express View to view the functionality:
Open the DevTools Console and view the data:
