Module 41 Transient Business Components and Branching

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 25

Siebel 8.

0 Essentials

Transient Business Components and Branching

1 of 25

Module 40: Transient Business Components and Branching

Module Objectives
To describe the role of transient business components and task applets To configure branching logic in a task

Transient Business Components and Branching

3 of 25

User-Entered Data
Is typically persistent

Maps immediately to regular business component fields Is written to the database during or at the end of the task flow
May be transient

Is entered and then referenced in a subsequent step in the task flow Does not need to be stored persistently

Transient Business Components and Branching

4 of 25

Transient Business Component (TBC)


Is used to represent user input and other data that does not

need to persist beyond the lifetime of the task


Type is Transient Has one or more single-value fields Does not support joins or multi-value fields Maps to a special table: S_TU_LOG Is based on a special class: CSSBCTaskTransient Stores one record at most

Is managed by the Object Manager

Transient Business Components and Branching

5 of 25

Uses for a Transient Business Component


Capture user selections that control the flow of a task at run-time Collect data that will be incorporated into persistent data later in

the task such as:


Postal code or telephone area code Data that may be conditionally mapped to business component fields in subsequent task steps
Support applets that display data from several business

components
Example: an applet that needs to show some quote and order fields

Transient Business Components and Branching

6 of 25

Task Applet
Is a special type of applet used to display and collect transient

data
Maps to a transient business component Displays data from only that business component
Can be assigned only to a task view

Can appear in a view by itself or with one or more standard applets

Task Applet

Transient Business Components and Branching

7 of 25

Task Applet
Differs from standard applets

Is always a form applet displaying a single record Must be based on grid Web templates Applets do not display an applet title or applet menu Is based on a specialized class: CSSSWEFrameTask

Transient Business Components and Branching

8 of 25

Branching in a Task
Task UI framework supports branching (in a task) based on user

input Input can be persistent data such as the account type Is implemented by configuring a decision point step
Follow the same procedure as in a workflow process

Decision point step from branching Task Flow with branching

Transient Business Components and Branching

9 of 25

Branching in a Task
Input can also be transient data, such as the selection that the

user makes when presented a choice about the next step Requires the use of a transient business component Is implemented by configuring a decision point step

User selection is transient data

Transient Business Components and Branching

10 of 25

Configuring Branching in a Task Using a TBC


1. Modify the Task Flow

2. Create a Picklist
3. Create the Transient Business Component 4. Create the Task Applet 5. Create the Task View 6. Configure the Decision Point Step

7. Complete the Configuration

Transient Business Components and Branching

11 of 25

1. Modify the Task Flow


Add a task view step to the flow to allow the user to make a

choice Add a decision point step to evaluate the users choice Add connectors to implement the desired business flow
Example of direct branching

Task View to allow user to make choice Decision point to evaluate step

Separate Task view for each user choice

Each Branch corresponds to a member in an LOV

Transient Business Components and Branching

12 of 25

1. Modify the Task Flow


Example of iteration

Loop that adds an activity and then asks user to choose again

Each branch corresponds to a user choice

Transient Business Components and Branching

13 of 25

2. Create a Picklist
A picklist is required when the user is presented a set of choices Select an existing picklist if available Alternatively create a new picklist

Represent the choices as members of a List Of Values type Configure the PickList object

Transient Business Components and Branching

14 of 25

3. Create the Transient Business Component


Use the Transient BusComp Wizard to create the transient

business component
Should use the wizard since it assigns required values to multiple TBC properties

Transient Business Components and Branching

15 of 25

3. Create the Transient Business Component


Add one or more fields

Assign name, type, and length as required Do not assign a column Will be assigned automatically after the record is saved
If required, assign the picklist

Create the single-value field pick map

Provides choices for user selection

Assigned automatically by Siebel tools

Transient Business Components and Branching

16 of 25

4. Create the Task Applet


Use the Task Applet Wizard to create the task applet

Identify the transient business component Identify the task in which the applet will be used Select the TBC field(s) that are to be displayed

Transient Business Components and Branching

17 of 25

4. Create the Task Applet


Inspect the applet in the Web Layout Editor For fields with a picklist, the radio button control:

Displays the members of the underlying list of values (LOV) Allows users to select a value by clicking a radio button
For other fields, manually change the HTML type to the desired

value Reposition and/or resize the label and control for each field

Radio Button control (displays the members of LOV)

Transient Business Components and Branching

18 of 25

5. Create the Task View


Use the Task View Wizard to create a new task view

Assign zero or more regular applets as required Assign the task applet Selection is restricted to task applets assigned to the task
Select and position the Playbar applet Alternatively, add the task applet to an existing task view

Drag a Task Applet icon from the Applet pane to an applet

placeholder Select the desired task applet

Transient Business Components and Branching

19 of 25

6. Configure the Decision Point Step


Right-click the decision point step

Set the name property to a meaningful value


Right-click each connector leading from the decision point step

Set the label property to a meaningful value as well

Transient Business Components and Branching

20 of 25

6. Configure the Decision Point Step


Compose the conditions for each connector Right-click each connector leading from the decision point step

and select Edit Conditions Select TBC, field, and desired value for this branch

Field TBC LOV

Transient Business Components and Branching

21 of 25

7. Complete the Configuration


Configure remaining steps (task views, Siebel operation, and so

on) For each task view step, bind the corresponding task view
Remember to set the Forward Button Type to Next
Assign each step to a chapter Compile all new and modified objects

Transient Business Components and Branching

22 of 25

Test the Modified Task


Validate the task Publish and activate the task

Invoke the task in the client and verify that the task applet

appears and branches as desired

Transient Business Components and Branching

23 of 25

Module Highlights
Tasks may include transient data

Data entered by users that does not need to be stored once the task completes
A transient business component is required to store data

entered by a user that is not required after the task completes A task applet is required to display data stored in a transient business component A task can include branching based on user entered values including transient data Branching requires adding a decision point step to the task flow

Transient Business Components and Branching

24 of 25

Lab
In the lab you will:

Extend a task to include branching

Transient Business Components and Branching

25 of 25

You might also like