webMethods 10.2 | Service Development Help | 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.

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release