Siebel Business Process Framework: Workflow Guide > Example Workflow Processes > Defining a Workflow Process That Traverses a Record Set to Close Service Requests >

Creating the Child Business Component


This task is a step in Defining a Workflow Process That Traverses a Record Set to Close Service Requests.

This workflow process must do the following work:

  • Process a record from the primary business component. For more information, see Defining the Primary Business Component.
  • Process a batch of records. It must loop through the records only of a nonprimary business component. This nonprimary business component must reference the same business object that the workflow process references. This example uses the Service Request business object.
  • Configure the nonprimary business component as a child of the business object that references the primary business component.

The Service Request business component is the primary business component of the Service Request business object. To satisfy these requirements, you create a new, nonprimary business component named Service Request No Link. This new business component is a child of the primary Service Request business component.

The child business component includes the minimum number of fields to meet the business requirement. These fields reference the same table columns as their corresponding fields in the primary business component. If Siebel CRM modifies a field in the child business component, then it modifies the corresponding field in the primary business component. The child business component and the primary business component modify the same record.

To create a relationship between the child business component and the business object, you define the child as a business object component in the business object that references the primary business component.

To create the child business component

  1. In the Object Explorer, click Business Component.
  2. In the Business Component list, right-click, and then click New Record.
  3. Define properties for the new business component using values from the following table.
    Property
    Value

    Name

    Service Request No Link

    Project

    Workflow Examples

    Class

    CSSBCBase

    Table

    S_SRV_REQ

  4. Make sure Service Request No Link is chosen in the Business Components list.
  5. In the Object Explorer, expand the Business Component tree, and then click Field.
  6. In the Field list, right-click, and then click New Record to add fields to the Service Request No Link business component. Add four new fields using values in the following table.
    Name
    Column
    Text Length
    Type

    Status

    SR_STAT_ID

    30

    DTYPE_TEXT

    Sub-Status

    SR_SUB_STAT_ID

    30

    DTYPE_TEXT

    Closed Date

    ACT_CLOSE_DT

    (Leave this field empty.)

    DTYPE_UTCDATETIME

    Description

    DESC_TEXT

    2,000

    DTYPE_TEXT

    Siebel Tools adds the Created field, which is a system field. You do not explicitly define it as a field on the primary business component or on the child business component.

    TIP:   To reduce the number keystrokes you must perform, you can define the Column property first. If you define the Column property, and then step out of the Column field in the list, then Siebel Tools updates the Text Length and Type properties.

Siebel Business Process Framework: Workflow Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.