Book Image

Oracle Siebel CRM 8 Developer's Handbook

By : Alexander Hansal
Book Image

Oracle Siebel CRM 8 Developer's Handbook

By: Alexander Hansal

Overview of this book

Table of Contents (33 chapters)
Oracle Siebel CRM 8 Developer's Handbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Loops and iterations


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.

Case study example: Iterations on a child record set

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. 1. Check out or lock the AHA Workflows project if necessary.

  2. 2. Create a new workflow process with the following property...