DataConnect section
The third section of the Break task properties form is labeled DataConnect. The purpose of the DataConnect section is to specify what happens to the temporary data.
The platform ignores properties in the DataConnect section when the Break task is not used in conjunction with a DataConnect task or when temporary data is not enabled (Use Temporary Data not checked) for the DataConnect task.
- Discard Temporary Data
- When the workflow encounters this Break task:
- None = do not discard temporary data
- Current = discard the temporary data in the current iteration
- All = discard all temporary data.
- Fail Staging Rows
This property is visible only when Discard Temporary Data is Current or All. Select the Fail Staging Rows check box to fail the DataConnect row that the DataConnect task was processing.
When the Fail Staging Rows check box is selected, the system displays Current and All properties for the Fail Staging Rows property. These properties are read-only and mirror the properties in Discard Temporary Data.
If the workflow has multiple DataConnect tasks, one within another, and the Break scope of an inner DataConnect task points to an outer DataConnect task, if Discard Temporary Data is Current, the platform discards the current iteration of the outer DataConnect task (and therefore also discards all the inner DataConnect task iterations).
The shape and color of the Break task changes depending on how it is configured. If there is a red dot inside the Break task, it means the Task Status will be Error if the condition is met. No dot inside the Break task means the Task Status will be Success if the condition is met.
A Break task with a round interior and green color indicates a regular Break or Continue. If the interior is square and the task shape is gold color, the condition is swapped.
Table 1 shows the different shapes for the Break task:
Shape | Description |
---|---|
![]() |
Break |
![]() |
Break with swapped conditions |
![]() |
Break with error status |
![]() |
Break with swapped conditions and error status |
![]() |
Continue |
![]() |
Continue with swapped conditions |
![]() |
Continue with error status |
![]() |
Continue with swapped conditions and error status |
The normal color for a Break task is green. If a Break task is green, it is normal (not swapped) and will break (or continue at the top) when the condition is true. Clicking the Swap action in the task's properties form causes the Break task to turn gold. If the Break task is already gold, clicking the Swap action causes it to turn green.