Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Debugging Flow Services | Modifying the Flow Service Pipeline while Debugging | Changing Variable Values
 
Changing Variable Values
Keep the following points in mind when changing the values of variables while debugging the service:
*When you modify values in the pipeline, the changes only apply to the current debugging session. Neither the service nor launch configuration is permanently changed.
*You can only modify existing variables. You cannot add new variables to the pipeline.
*You cannot modify the values of unconstrained Objects and Object lists. However, you can drop them from the pipeline.
*You cannot modify the values of recursive documents at the top level. However, you can expand the document and set values at the individual element level.
*Variables that contain com.wm.util.Table objects appear as document lists in Variables view.
*You can edit rows and columns for String Table and Document List variables.
*You can use the step tools to step to the location in the service at which you want to change the pipeline. You can also set a breakpoint on the flow step at which you want to change the pipeline values.
*You can only change the pipeline for the top-most stack frame in the debug session.
*To change the value of variable while debugging
1. Debug the service as described in Debugging a Flow Service.
2. In the debug session, use the step command or a breakpoint to reach the step for which you want to change variable values in the flow service.
3. In Variables view, right-click the variable whose value you want to change and select Change Value.
The following table lists where you can find more information about how to update values based on the data type of the variable.
For this type of variable...
See...
String
String List
String Table
Document
Document Reference
Document List
Document Reference List
Object
Object List
4. Continue debugging the service using the step commands or selecting Run > Resume.
Note:
You can also change a variable value by selecting the variable and then modifying the value in the detail pane.