Spectre Flow Break Process Object
The Spectre Flow Break Process object identifies break levels in the input flow.
A break level is a set of rows that have identical values for a set of break columns. The Break Process object creates up to four new columns that describe the position of each row in the break level. This action allows subsequent calculations to process a row of a break column knowing whether it is the first or last row of the break level. The Break Process object has three sections in the properties panel where you set attributes.
You set attributes for the Break Process object in the
object attributes section.
| Attribute | Description |
|---|---|
| First Column | Specifies the name of a new column that indicates the beginning of a break level. This column has a value of true on the first row of a break level, and false for every other row of the break level. For information about the flow script tag, see first-column. |
| Last Column | Specifies the name of a new column that indicates the end of a break level. This column has a value of true on the last row of a break level, and false for every other row of the break level. For information about the flow script tag, see last-column. |
| Index Column | Specifies the name of a new column that indexes a break level. This column has a value of 1 on the first row of a break level, 2 on the second row, and so on. For information about the flow script tag, see index-column. |
| Level Column |
Specifies the name of a new column that counts the number of break columns having the same values as the previous row:
For information about the flow script tag, see level-column. |
Each object has an area where you can enter comments. It is DI best practice to enter a note for every object in a Spectre Flow script.
Every Spectre Flow node comment area is Markdown-enabled. For more information, see Workbench Markdown Editor.
The Break Process object
column grid section lists the columns from the input files.
| Attribute | Description |
|---|---|
| Name | Displays the name of each input column. This attribute is read-only. |
| Type | Displays the type of each input column. This attribute is read-only. |
| Source Object |
Displays the name and object type of the source object. This attribute is read-only. |
| Break Order | Specifies the break order for the input flow columns. |