Select a different process to synchronize with the process deployed to the server. If this invoke activity is defined with a BPEL process, you can step into it during simulation.
A subprocess is a BPEL process that is invoked by another BPEL process. You can create one BPEL process, deploy it, and then use the resulting service's operation to create an invoke activity.
During simulation, you can use the invoke activity's simulation property, subprocess, to select a BPEL process. By making this selection, you can step into the subprocess and simulate it when you step to the invoke activity. For details on creating a subprocess, see
Creating a BPEL Process as a Service for Another BPEL Process
.
To select an invoke subprocess for simulation:
Select an invoke activity that calls a BPEL process.
In the Properties view, select All.
In the Simulation category, select Subprocess.
At the end of the row, click the Dialog button to open the
Process Selection
dialog.
Select a process from the workspace.
If the sub-process has a process-level compensation handler, be sure to set a breakpoint on an activity in the compensation handler. If you do not have a breakpoint set on the compensation handler, simulation steps over it rather than into it.
Note that during simulation, depending on your process logic, you can go back and forth for execution steps between the main process and the subprocess. In the Debug view, select the execution thread that you wish to execute next.