Using the Process Simulator
This task is a step in Process of Testing a Workflow Process.
The following procedure describes how to run the Process Simulator on a Workflow Process. For more information about:
-
Using the simulator, see About Simulating an Interactive Workflow Process
-
Usage guidelines, see Guidelines for Using the Process Simulator.
-
Watch Window, see Using the Watch Window in the Process Simulator
-
Examples that use the Process Simulator, see Preparing Example Data for the Simulation.
To use the Process simulator
-
Close every Siebel client session.
To avoid encountering a multiple client session error, you must close every client session before you start the Process Simulator. If a Siebel client session is running, then you cannot start the Process Simulator.
-
Make sure the Microsoft Taskbar does not include any Siebel client icons.
-
In the Process Designer, locate and select the Workflow Process that you want to simulate.
-
Do one of the following, as required:
-
(Siebel Tools) Right-click the Workflow Process and then select the Simulate Workflow Process option.
-
(Web Tools) Select the Workflow Process and then click Simulate Workflow Process (the Simulate icon) on the applet banner.
In the read-only version of the Workflow Process that opens in the Simulator, the start step is highlighted. The Start Simulation button on the Simulator toolbar is also activated.
-
-
Click Start Simulation on the Simulator toolbar.
The simulator starts a new instance of the Siebel client according to the debug settings you entered in Preparing to Use the Process Simulator. You use this Siebel client instance as the runtime environment for the simulation. You are not required to do any other work in this Siebel client instance unless the simulated Workflow Process is an interactive Workflow Process. For more information, see About Simulating an Interactive Workflow Process.
After the Siebel client starts and the Simulation In Progress dialog box closes, control passes back to the Process Simulator, the start step runs and control pauses at the next step in the Workflow Process. If the first step runs as expected, then the next step in the Workflow Process is highlighted in the Process Simulator view.
Note: The Simulation In Progress dialog box appears only in Siebel Tools - it does not appear in Web Tools. -
Click Simulate Next on the Simulator toolbar to run the highlighted step.
As you step through the Workflow Process, you can examine the results of each step (Process Properties and Business Component values) in the Watch Window until the Workflow Process finishes. For more information, see Using the Watch Window in the Process Simulator.
Note: In Web Tools, the Watch Window is called Workflow Process Data. -
Continue clicking Simulate Next until the last step finishes.
After the last step in the Workflow Process runs, the simulation automatically ends. You can also click Stop Simulation on the Simulator toolbar to stop the simulation before the last step runs.
-
If the Workflow Process does not run as expected, then correct the problem and restart the simulation.
For more information, see Troubleshooting Problems That Occur During Simulation.
Note: Any changes made to a Workflow Process definition during execution requires a restart. -
(Optional) Examine the test results in the Siebel client.
If the Workflow Process modifies record data, you can examine test results in the Siebel client. For an example, see Simulating the Workflow Process.
-
Close the Simulator window.