Siebel Business Process Framework: Workflow Guide > Example Workflow Processes > Example Workflow Process That Creates an Activity for a Sales Representative >

Testing the Workflow Process


In this topic, you test the workflow process you created in Defining The Workflow Process.

You must prepare this example for testing the workflow process by creating an opportunity that matches the test criteria. You create this opportunity, and note the opportunity record's row ID. This row ID is then used in the workflow process properties to run the test.

To prepare this example for testing

  1. Validate the workflow process.

    For more information, see About the Validate Tool.

  2. Launch the Siebel client, then navigate to the Opportunities list applet.
  3. Add an opportunity using values from the following table:
    Name
    Revenue

    Large Opportunity to Test Workflow

    $400,000

  4. Right-click the record you just created, then choose About Record.
  5. Note the value of the row Id in the Row # field.
  6. In Siebel Tools, in the Process Designer, click the canvas background.

    When you click an empty space on the background in the canvas, the Multi Value Property Window (MVPW) displays the process properties for the workflow process.

  7. In the MVPW, find the Object Id process property, then set the property's Default String argument field to the Opportunity's Row Id you identified in Step 5.

Next, you simulate the process and examine simulation results.

To simulate the process then examine simulation results

  1. Use the Process Simulator to step through the entire workflow process.

    For more information, see Preparing and Using the Process Simulator.

  2. In the Siebel client, navigate to the Opportunities screen.
  3. In the Opportunities list applet, drill down on the Large Opportunity to Test Workflow opportunity name.
  4. Click the Activities view tab.

    A new Activity record should be present, and it should contain the description you specified in Defining Properties and Arguments for a Workflow Process Step. If so, the workflow process simulation finished successfully.

  5. Remove modifications you made for testing:
    1. In Siebel Tools, close the Simulator.
    2. In the WF Process Props OBLE, choose the Object Id process property for your workflow process.
    3. In the Properties window, delete the row ID in the Default String property.
    4. In the WF Process Props OBLE, step off the record to save your changes.

Next, deploy and verify your workflow process.

Siebel Business Process Framework: Workflow Guide Copyright © 2008, Oracle. All rights reserved.