Using the Sun Business Process Manager Worklist Manager for User Activities

Configuring User Activities Inside While Loops

When creating a BP that includes a user activity inside a while loop, you must take a few extra steps. The following procedure provides the steps for configuring a user activity inside a while loop.

ProcedureTo configure a user activity inside a while loop

  1. Create and configure a user activity as normal.

  2. Add a business rule to the link leaving the user activity.

  3. Open the Business Rule Designer and expand the WLVTask.Input node.

  4. Copy a BP attribute from the Output panel to the All panel, as shown in Figure 4.

    This creates an output container.

    Figure 4 Copy BP Attribute

    Figure shows copying a BP attribute in the Business Rule
Designer.

  5. Open the Business Rules panel and click Show Single Mapping, as shown in Figure 5.

    Figure 5 Business Rules Editor

    Figure shows the Business Rule Designer with the Business
Rules Editor displayed.

  6. Right-click the Copy rule and click Reset Destination, as shown in Figure 6.

    Figure 6 Reset Destination

    Figure shows the Rest Destination context menu in the
Business Rules Editor.

  7. On the Enterprise Designer toolbar, click Save.