Building a Section with a Logic Block
Regardless of where a Logic block is used in your workflow, there are only two places within a Section that it can be added: as the final block in a section containing other blocks, or as a separate section with no additional blocks. This is because each logic option will send the agent down a distinct path, and a new section must follow. In the example below, we will add a Logic block to the end of section.
Adding a Logic Block to the End of a Section
1
When all of your blocks are created, go to the
Builder icon on the left side of your screen, and select
Sections.
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5cf57bad2c7d3a3837130ba4/images/645bd4181140db1f380b7e15/file-5ipxkNo4uK.png)
2
The
Section bank contains all existing sections, whether active or inactive. The
Block bank contains all existing blocks, including those that are currently unassigned.
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5cf57bad2c7d3a3837130ba4/images/60804bbd8af76a714bfd9769/file-NTsOAwMefO.png)
We'll be using some of our Unassigned Blocks to create a new section.
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5cf57bad2c7d3a3837130ba4/images/60804c958af76a714bfd976d/file-8ie9UuKz5R.png)
3
From the
Unassigned Blocks list, click and drag your first block to the center of your section. When you see the blue highlight, drop the block into place.
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5cf57bad2c7d3a3837130ba4/images/60804d3d8996210f18bd5962/file-hmhvWd45tY.png)
4
Continue dragging over the necessary blocks, and be sure to end with the
Logic block.
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5cf57bad2c7d3a3837130ba4/images/60804dbaf8c0ef2d98df4ad5/file-uqLfUZ5m6t.png)
5
After you've added your blocks, add a
Section name that will identify the purpose of this script path, and select a
Color to help differentiate it from other sections in your workflow.
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5cf57bad2c7d3a3837130ba4/images/60804ed9e0324b5fdfd0d325/file-0k5BkgiejD.png)
6
When you are finished, click
Save in the upper right corner.
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5cf57bad2c7d3a3837130ba4/images/60804f0ee0324b5fdfd0d326/file-PETy8ay47o.png)
Now that your section is created, it's time to add it to your Workflow! Check out
this article for instructions on how to build an SAS Flex script workflow.