Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Debugging Flow Services | Stepping Through Flow Services | Stepping Into and Out of a ForEach Mapping
 
Stepping Into and Out of a ForEach Mapping
You can use the step commands to debug an individual mapping step within a ForEach mapping.
*To step into and out of a ForEach Mapping
1. Debug the service as described in Debugging a Flow Service.
2. In Debug view, step to the ForEach mapping.
3. In the selected ForEach mapping, do the following:
a. Select Run > Step Into or click on the Debug view toolbar. Designer opens the ForEach mapping and selects, but does not execute, the first step.
b. To execute the first step within the ForEach mapping, select Run > Step Over or click on the Debug view toolbar. Repeat this step for each step that you want to individually execute within the ForEach mapping. The step within can be a link, transformer, or a nested ForEach mapping.
c. To return to the parent ForEach mapping, select Run > Step Return or click on the Debug view toolbar.
Note:
In the ForEach mapping, if you do not want to step into it a particular step, select Run > Step Over or click on the Debug view toolbar.
4. If you want to return to the parent without stepping through the entire ForEach mapping, select Run > Step Return or click on the Debug view toolbar. This executes the remaining steps (links, transformers, or nested ForEach mappings) in the ForEach mapping, returns to the parent, and selects (but does not execute) the next step in the parent flow service or ForEach mapping.
Note:
If you select Step Return, Designer executes the remaining steps in the ForEach mapping and returns to the parent automatically. However, Designer stops executing if it encounters an enabled breakpoint.
Related Topics
Stepping Into and Out of a MAP Step