A common task for programmers is to create loops or iterations across a record set and operate on each record. The Siebel Workflow Framework supports looping constructs with the Siebel Operation step. The following case study example shall serve as an example of a loop in Siebel Workflow.
AHA managers want to be able to see the currently expected revenue for a customer. The implementation should include a button on the AHA Customer Profile Form Applet that invokes a workflow process. The workflow process should query all opportunities for the account that have a close date in the next 30 days and sum up the expected revenue of these opportunities. A message dialog should then display the result.
The following procedure describes how to implement this requirement using Siebel Operation and Stop steps:
1. Check out or lock the AHA Workflows project if necessary.
2. Create a new workflow process with the following property...