1248
Siebel 8.0 Essentials Volume I Student Guide D46318GC10 Edition 1.0 April 2007 D49908 ® Oracle Internal & Oracle Academy Use Only

Siebel 8.0 Essentials

Embed Size (px)

DESCRIPTION

Siebel 8.0 EssentialsVolume I • Student Guide

Citation preview

Page 1: Siebel 8.0 Essentials

Siebel 8.0 Essentials

Volume I • Student Guide

D46318GC10

Edition 1.0

April 2007

D49908

®

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 2: Siebel 8.0 Essentials

Copyright © 2007, Oracle. All rights reserved.

Disclaimer

This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle.

The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free.

Restricted Rights Notice

If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTSThe U.S. Government’s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract.

Trademark Notice

Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

AuthorSiebel CurriculumDevelopment Team

Technical Contributors and ReviewersSiebel Review Team

PublisherJoseph Fernandez

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 3: Siebel 8.0 Essentials

iii

Contents

Module i: Siebel 8.0 Essentials Training Module 1: Introducing Siebel Applications Module 2: Using the Siebel Web Client Module 3: Working With Siebel Data Module 4: Responsibilities and Views Module 5: Users, Positions, and Organizations Module 6: Controlling Access to Customer Data Module 7: Catalogs and Master Data Module 8: The Siebel Web Architecture Module 9: Server Components and Parameters Module 10: Server Management Module 11: Siebel Client Types Module 12: Securing Access to the Application Module 13: Installing Siebel Applications Module 14: Siebel Application Architecture Module 15: Using Siebel Tools to Examine Object Definitions Module 16: The Siebel Data Model Module 17: Siebel Business Components Module 18: Siebel Party Business Components Module 19: Siebel Business Objects Module 20: Configuration Strategy Module 21: The Configuration Process Module 22: Managing Object Definitions Module 23: Editing and Compiling Object Definitions Module 24: UI Layer Configuration: Web Templates Module 25: UI Layer Configuration: Applets Module 26: UI Layer Configuration: Applications, Screens, and Views Module 27: UI Layer Configuration: Drilldowns Module 28: Business Layer Configuration: Joins Module 29: Business Layer Configuration: Existing Business Components and Fields

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 4: Siebel 8.0 Essentials

iv

Module 30: Business Layer Configuration: New Business Components and Fields Module 31: Business Layer Configuration: Picklists Module 32: Configuring Multi-Value Groups Module 33: Data Layer Configuration Module 34: Siebel Business Services Module 35: Building Siebel Workflow Processes Module 36: Testing and Deploying Workflow Processes Module 37: Executing Workflow Processes Module 38: Using Workflow Policies Module 39: Siebel Task UI Module 40: Task UI: Creating a Task Module 41: Transient Business Components and Branching Module 42: Siebel Business Rules Module 43: Creating Business Rules Module 44: Introducing Siebel Assignment Manager Module 45: Creating Assignment Rules Module 46: Tailoring Assignment Manager Behavior Module 47: Invoking Siebel Assignment Manager Module 48: State Models Module 49: Introducing Enterprise Integration Manager Module 50: Creating Data Maps Module 51: Running Enterprise Integration Manager Module 52: Introducing Application Deployment Manager Module 53: Deploying Application Customizations

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 5: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.1

Siebel 8.0 Essentials

iCopyright © 2007, Oracle. All rights reserved.

Module i: Siebel 8.0 Essentials Training

Siebel 8.0 Essentialsi

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 6: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.2

Siebel 8.0 Essentials

2 of 18Copyright © 2007, Oracle. All rights reserved.

Module Agenda

This module provides an introduction to the: Instructor and class participantsTraining site informationCourse:

AudiencePrerequisitesGoalObjectivesMethodologyMaterialsAgenda

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 7: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.3

Siebel 8.0 Essentials

3 of 18Copyright © 2007, Oracle. All rights reserved.

Instructor and Class Participants

Who are you?NameCompanyRole

What is your prior experience?Siebel ApplicationsRelational database

How do you expect to benefit from this course?

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 8: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.4

Siebel 8.0 Essentials

4 of 18Copyright © 2007, Oracle. All rights reserved.

Training Site Information

Bathrooms

Telephones

Fire Exits

Class duration and breaks

Meals and refreshments

Questions?

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 9: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.5

Siebel 8.0 Essentials

5 of 18Copyright © 2007, Oracle. All rights reserved.

Course Audience

This course is designed for implementation teamsApplication developersSystem architects and configurators Database administrators Systems administrators

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 10: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.6

Siebel 8.0 Essentials

6 of 18Copyright © 2007, Oracle. All rights reserved.

Course Prerequisites

Basic Windows or NT navigation and file-management skillsUnderstanding of basic relational database conceptsFamiliarity with application developmentFamiliarity with Web-based and client/server applications

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 11: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.7

Siebel 8.0 Essentials

7 of 18Copyright © 2007, Oracle. All rights reserved.

Course Goal

To enable participants to identify and perform tasks required for an initial Siebel 8 Application deployment

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 12: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.8

Siebel 8.0 Essentials

8 of 18Copyright © 2007, Oracle. All rights reserved.

Course Objectives

Navigate the Siebel application user interfaceSecure access to Siebel applications and dataDefine your company structureDescribe the Siebel application architectureDescribe the steps required to install Siebel application software to set up your enterpriseConfigure a Siebel applicationAutomate business rules in your Siebel applicationPopulate and migrate data into the Siebel databaseMigrate data between environments

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 13: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.9

Siebel 8.0 Essentials

9 of 18Copyright © 2007, Oracle. All rights reserved.

Course Methodology

Subject matter is delivered via: Lecture and slide presentations Software demonstrations Class discussionsHands-on labs

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 14: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.10

Siebel 8.0 Essentials

10 of 18Copyright © 2007, Oracle. All rights reserved.

Course Materials

Student GuideAll slides presented during lectureNotes that point to Siebel Bookshelf references

Lab GuideHands-on lab exercises and solutions

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 15: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.11

Siebel 8.0 Essentials

11 of 18Copyright © 2007, Oracle. All rights reserved.

Overview of Course Flow

4.Installation

andSecurity

2.Access

Control andOrganization

Setup

3.Physical

Architectureand

Management

5. Siebel

ApplicationArchitecture

7. Siebel

Workflow

8.Configuring

BusinessLogic

9.Data

Loads

1.UsingSiebelCRM

6.Application

Configuration

10.ApplicationDeployment

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 16: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.12

Siebel 8.0 Essentials

12 of 18Copyright © 2007, Oracle. All rights reserved.

Course Agenda

Using Siebel CRM1: Introducing Siebel Applications2: Using the Siebel Web Client3: Working with Siebel Data

Access Control and Organization Setup4: Responsibilities and Views5: Users, Positions, and Organizations6: Controlling Access to Customer Data7: Catalogs and Master Data

Physical Architecture and Management8: The Siebel Web Architecture9: Server Components and Parameters10: Server Management11: Siebel Client Types

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 17: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.13

Siebel 8.0 Essentials

13 of 18Copyright © 2007, Oracle. All rights reserved.

Course Agenda Continued

Installation and Security12: Securing Access to the Application13: Installing Siebel Applications

Siebel Application Architecture14: Siebel Application Architecture15: Using Siebel Tools to Examine Object Definitions16: The Siebel Data Model17: Siebel Business Components18: Siebel Party Business Components19: Siebel Business Objects20: Configuration Strategy21: The Configuration Process

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 18: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.14

Siebel 8.0 Essentials

14 of 18Copyright © 2007, Oracle. All rights reserved.

Course Agenda Continued

Application Configuration22: Managing Object Definitions23: Editing and Compiling Object Definitions24: UI Layer Configuration: Web Templates25: UI Layer Configuration: Applets26: UI Layer Configuration: Applications, Screens, and Views27: UI Layer Configuration: Drilldowns28: Business Layer Configuration: Joins29: Business Layer Configuration: Existing Business Components and Fields30: Business Layer Configuration: New Business Components and Fields31: Business Layer Configuration: Picklists32: Configuring Multi-Value Groups33: Data Layer Configuration

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 19: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.15

Siebel 8.0 Essentials

15 of 18Copyright © 2007, Oracle. All rights reserved.

Course Agenda Continued

Siebel Workflow34: Siebel Business Services35: Building Siebel Workflow Processes36: Testing and Deploying Workflow Processes37: Executing Workflow Processes38: Using Workflow Policies

Configuring Business Logic39: Siebel Task UI40: Task UI: Creating a Task41: Transient Business Components and Branching42: Siebel Business Rules43: Creating Business Rules44: Introducing Siebel Assignment Manager45: Creating Assignment Rules46: Tailoring Assignment Manager Behavior

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 20: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.16

Siebel 8.0 Essentials

16 of 18Copyright © 2007, Oracle. All rights reserved.

Course Agenda Continued

Configuring Business Logic (Continued)47: Invoking Siebel Assignment Manager48: State Models

Data Loads49: Introducing Enterprise Integration Manager50: Creating Data Maps51: Running Enterprise Integration Manager

Application Deployment52: Introducing Application Deployment Manager53: Deploying Application Customizations

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 21: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.17

Siebel 8.0 Essentials

17 of 18Copyright © 2007, Oracle. All rights reserved.

Summary

This module provides an introduction to the: Instructor and class participantsTraining site informationCourse:

AudiencePrerequisitesGoalObjectivesMethodologyMaterialsAgenda

i

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 22: Siebel 8.0 Essentials

Siebel 8.0 Essentials Training i.18

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 23: Siebel 8.0 Essentials

Introducing Siebel Applications 1.1

Siebel 8.0 Essentials

1Copyright © 2007, Oracle. All rights reserved.

Module 1: Introducing Siebel Applications

Siebel 8.0 Essentials

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 24: Siebel 8.0 Essentials

Introducing Siebel Applications 1.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe Siebel Customer Relationship Management (CRM) applications and how they are classifiedIdentify the common business entities found in Siebel CRM applications

Why you need to know:You need to be familiar with Siebel applications to understand the context of this course

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 25: Siebel 8.0 Essentials

Introducing Siebel Applications 1.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Siebel Customer Relationship Management (CRM)

Enables you to manage interactions with customers, partners, and employees

Typically deployed as a single application with broad functionalitySupports multiple communication channels

Web and emailCall centerField service

Uses a single database to: Allow all users access to the same set of data

Example: The correct customer order status is seen by all relevant users

Ensure changes to data are made once and only once Example: An address needs to be updated in only one place

Is a packaged application with built-in best practices

Comprehensive documentation on Siebel applications is available in Siebel Bookshelf, which is available in book form and online on the Siebel support Web site. Access to the online version requires a SupportWeb login. References in this course materiel refer to Siebel Bookshelf titles.

Siebel Bookshelf

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 26: Siebel 8.0 Essentials

Introducing Siebel Applications 1.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Siebel CRM Applications

Are available tailored for:Different types of customer, partner, or employee interactions and channels (horizontal applications)Different industries (industry applications)

Examples:Horizontal applications

Siebel SalesSiebel Call CenterSiebel Partner PortalSiebel Remote

Industry applicationsSiebel FinanceSiebel Consumer Goods

Siebel Bookshelf includes titles on horizontal applications, such as Siebel Field Service Guide, as well as titles for industry applications, such as Siebel Finance Guide.

References

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 27: Siebel 8.0 Essentials

Introducing Siebel Applications 1.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Types of Siebel Enterprise Applications

Employee applicationsAre used by internal employees Examples include:

Siebel Call CenterSiebel Sales

Customer and partner applicationsAre used by customers and partners Examples include:

Siebel eSalesSiebel Partner Portal

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 28: Siebel 8.0 Essentials

Introducing Siebel Applications 1.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Employee Application: Siebel Sales

Siebel Sales may be used by a company’s sales representatives and managers to manage accounts, sales opportunities, and contacts

Siebel Sales Opportunities screen

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 29: Siebel 8.0 Essentials

Introducing Siebel Applications 1.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Employee Application: Siebel Call Center

Siebel Call Center may be used by a company’s telesales and service representatives

Siebel Call Center service screen

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 30: Siebel 8.0 Essentials

Introducing Siebel Applications 1.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Customer Application: Siebel eSales

May be used by customers to purchase products over the WebIncludes an interactive product catalog, search and product comparison mechanisms, and online ordering capabilities

Shopping cartProduct catalog

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 31: Siebel 8.0 Essentials

Introducing Siebel Applications 1.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Partner Application: Siebel Partner Portal

May be used by a company’s partners to communicate, collaborate, and conduct business with a Web-based interface

Partner Portal opportunities screen

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 32: Siebel 8.0 Essentials

Introducing Siebel Applications 1.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Comparison of Siebel CRM Applications

Siebel functionality is delivered as separate horizontal or vertical applications that:

Have the same user interface and navigationAre based on the same underlying application architectureUse the same underlying technologies for automation, integration, and so onShare many of the same application screens

Applications use the same executable, but use different configuration and input files

Configuration files are used to specify application parametersUse Siebel Tools to generate input files that control behavior

This course will teach you how to modify these files to meet thespecific requirements of your business

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 33: Siebel 8.0 Essentials

Introducing Siebel Applications 1.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Siebel User Interface (UI) Modes0/2

High Interactivity Mode

Standard Interactivity Mode

The Siebel UI is rendered in one of two modes:

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 34: Siebel 8.0 Essentials

Introducing Siebel Applications 1.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

High Interactivity Mode

Is available for employee applications, supporting highly interactive usersUses additional code, such as Active X controls, to provide extra functionality

Drag-and-drop for setting column widthsExplorer-like hierarchy viewsMenu bar and tool barsSaving records by moving off the current line

Requires Internet Explorer (check documentation for versions)

1/2

System Requirements and Supported PlatformsReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 35: Siebel 8.0 Essentials

Introducing Siebel Applications 1.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

Standard Interactivity Mode

Is available for customer and employee applicationsDesigned to be less browser-dependent

Behaves like a typical HTML-based Web applicationAvailable on a wide variety of browsers (check documentation for supported browsers)

2/2

System Requirements and Supported PlatformsReference

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 36: Siebel 8.0 Essentials

Introducing Siebel Applications 1.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Common Siebel Application Business Entities

Siebel applications use common business entitiesA business entity is something of business interest in the real world

Siebel applications refer to these entities as business componentsExamples:

AccountsContactsOpportunitiesService requestsAssets

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 37: Siebel 8.0 Essentials

Introducing Siebel Applications 1.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Common Siebel Business Components0/7

Service Requests

Contacts

Opportunities

Accounts

Assets

0/5

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 38: Siebel 8.0 Essentials

Introducing Siebel Applications 1.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

Accounts

Are businesses external to your companyRepresent a current or potential client, a business partner, or a competitorAre associated with a team

1/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 39: Siebel 8.0 Essentials

Introducing Siebel Applications 1.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

Contacts

Are people with whom you do businessCan be public or marked as personalAre associated with a team (public contacts) or a user (personalcontacts)

2/5

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 40: Siebel 8.0 Essentials

Introducing Siebel Applications 1.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Opportunities

Are potential revenue-generating eventsHave the following characteristics:

A possible association with an accountA probability of completionA close date

Are associated with a team

3/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 41: Siebel 8.0 Essentials

Introducing Siebel Applications 1.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Service Requests

Are requests from customers or prospects for information or assistance with your products or services Have the following characteristics:

A statusA severity level A priority level

Are associated with a single owner

4/5

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 42: Siebel 8.0 Essentials

Introducing Siebel Applications 1.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Assets

Are instances of purchased products Have the following characteristics:

An asset number A product and part numberA status level

5/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 43: Siebel 8.0 Essentials

Introducing Siebel Applications 1.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel CRM applications allow you to manage all customer points of contactTypes of Siebel CRM enterprise applications are:

Employee applications: Siebel Call Center, Siebel Sales, and so onCustomer applications: Siebel eSales, Siebel Partner Portal, and so on

Common Siebel business components include:AccountsContactsOpportunitiesService requestsAssets

1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 44: Siebel 8.0 Essentials

Introducing Siebel Applications 1.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 45: Siebel 8.0 Essentials

Using the Siebel Web Client 2.1

Siebel 8.0 Essentials

2Copyright © 2007, Oracle. All rights reserved.

Module 2: Using the Siebel Web Client

Siebel 8.0 Essentials

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 46: Siebel 8.0 Essentials

Using the Siebel Web Client 2.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Start and log in to a Siebel applicationNavigate screens and views in the applicationIdentify major user interface (UI) features in a Siebel CRM application

Why you need to know:Understanding the UI enables you to effectively use and configure Siebel applications

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 47: Siebel 8.0 Essentials

Using the Siebel Web Client 2.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Logging In to a Siebel Application

Start a Siebel application in a Web browser by entering the application’s URLLog in using assigned user ID and password

User ID and password

Application URL

Siebel FundamentalsReference

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 48: Siebel 8.0 Essentials

Using the Siebel Web Client 2.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Application URLs

A Siebel application’s URL is formed from :Application’s Web server name Application nameSuffix identifying the application language

Examples:http://AppServer0.MyCompany.com/callcenter_enuWeb server name: Appserver0.MyCompany.comApplication name: callcenter (Siebel Call Center)Language suffix: _enu (American English)http://public.MyCompany.com/esales_fraWeb server name: public.MyCompany.comApplication name: esales (Siebel eSales)Language suffix: _fra (French)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 49: Siebel 8.0 Essentials

Using the Siebel Web Client 2.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Application Home Page

Displayed after log-in to a Siebel application

Personalized data provides direct links

to common tasks

Personalize home page by clicking Edit Layout

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 50: Siebel 8.0 Essentials

Using the Siebel Web Client 2.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Siebel Application User Interface

Siebel applications consist of Web pagesEach page displays Siebel data surrounded by tabs, toolbars and a top-level menu

Application-level menu helps navigation and

manipulating data

Global toolbar provides quick

access to common tasks

Tabs provide easy navigation to related data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 51: Siebel 8.0 Essentials

Using the Siebel Web Client 2.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

Help Menu: Online Help and Technical Support

The application-level Help menu offers Online HelpDocuments common end-user tasks

Technical Support… in the Help menu identifies useful technical information

Includes current user ID and support contact information 2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 52: Siebel 8.0 Essentials

Using the Siebel Web Client 2.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

Global Toolbar: iHelp and Reports

Access context-sensitive tasks and reports associated with the current screen

Click the How Do I button to access iHelp, which provides

guidance with tasks

Click the Reports button to access reports for the

screen you are working in

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 53: Siebel 8.0 Essentials

Using the Siebel Web Client 2.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Global Toolbar: Site Map

Access a list of all application areas available to the user

Site Map lists application

areas

Site Map button

Drilling down on an area shows

detailed navigation

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 54: Siebel 8.0 Essentials

Using the Siebel Web Client 2.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Screens

Represent groups of related data for a functional business area,such as accounts, contacts, or opportunities

Screen tab

Link bar has links to other account-

related data

The screen tabs that are visible are typically a subset of those available from the Site Map.

Screen Tabs

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 55: Siebel 8.0 Essentials

Using the Siebel Web Client 2.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

Screen Home Pages

Some screens have home pages that provide quick access to common end-user tasks and data

Links to different sets

of records

Guided help with common tasks

Links to recent

records

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 56: Siebel 8.0 Essentials

Using the Siebel Web Client 2.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

Navigating

Click the different UI elements to navigate to different data

Link bar

View tabs

Row indicator

Screen tabs

Selected record

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 57: Siebel 8.0 Essentials

Using the Siebel Web Client 2.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

Views

A view consists of one or more applets displaying records

View tab

View

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 58: Siebel 8.0 Essentials

Using the Siebel Web Client 2.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

Drop-Down Menu Screen and View Navigation

Access additional tabs and links using drop-down arrowsAvailable if needed for screen tabs, link bar, and view tabs

Click drop-down to display more

choices

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 59: Siebel 8.0 Essentials

Using the Siebel Web Client 2.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

Drill down on a hyperlink to see more information

Hyperlinks

...navigates you to the Account Detail -Contacts view

Clicking account hyperlink…

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 60: Siebel 8.0 Essentials

Using the Siebel Web Client 2.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

List Applets and Form Applets

Views are made up of one or more appletsList applet displays records in rowsForm applet displays a single record in a two-dimensional layout

List applet

Formapplet

Selected record

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 61: Siebel 8.0 Essentials

Using the Siebel Web Client 2.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

Navigating List Applets and Form Applets

Use the Menu button or scroll bars and arrows

Right-click for context menu

Form applet navigation arrows

Applet-specific menu items

Standard applet buttons

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 62: Siebel 8.0 Essentials

Using the Siebel Web Client 2.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

Freezing List Columns

Freeze position in list columnsFreeze columns by double-clicking column headers within list applets

Enhances ability to work effectively with lists that contain many columns of data

Drag and drop columns in and out of the frozen area

Double-click column header to freeze (or unfreeze) columns

Scrolling horizontally through columns

leaves frozen columns in place

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 63: Siebel 8.0 Essentials

Using the Siebel Web Client 2.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

Changing Columns Displayed

Click the Menu button, or right-click and select Columns Displayed

Click to add or remove

columns from applet

Columns visible in

the applet

Columns available to be used in the

applet

Click buttons to sequence

columns

Right-click and select Columns Displayed

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 64: Siebel 8.0 Essentials

Using the Siebel Web Client 2.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

Displaying More Records

Click the Show More button in the top-right corner of a list applet to toggle display of more records

… to see more records

Click Show More ...

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 65: Siebel 8.0 Essentials

Using the Siebel Web Client 2.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

Setting User Preferences

Allows users to set individual preferences for some application features

Set time zone preferencesSet a startup viewChange default spell check optionsCustomize aspects of the calendar Select User Preferences

from the application-level Tools menu

New screen tab appears

Link bar categorizes preferences

2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 66: Siebel 8.0 Essentials

Using the Siebel Web Client 2.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A Siebel application consists of Web pages that display dataA screen is a grouping of views in a major application functional areaA view consists of one or more applets as well as links and tabsused to navigate within the viewA list applet displays multiple records in table formA form applet displays a single record

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 67: Siebel 8.0 Essentials

Using the Siebel Web Client 2.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Practice navigating in Siebel Call Center

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 68: Siebel 8.0 Essentials

Using the Siebel Web Client 2.24

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 69: Siebel 8.0 Essentials

Working With Siebel Data 3.1

Siebel 8.0 Essentials

3Copyright © 2007, Oracle. All rights reserved.

Module 3: Working With Siebel Data

Siebel 8.0 Essentials

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 70: Siebel 8.0 Essentials

Working With Siebel Data 3.2

Siebel 8.0 Essentials

2 of 28Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create, modify, and delete recordsQuery for records in a Siebel CRM application

Why you need to know:Knowing these skills is important for understanding and configuring Siebel applications

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 71: Siebel 8.0 Essentials

Working With Siebel Data 3.3

Siebel 8.0 Essentials

3 of 28Copyright © 2007, Oracle. All rights reserved.

Working with Data in the Siebel User Interface (UI)

Modifying and Saving Data

Using Picklists and Multi-Value Groups

Sorting Data

Creating Data

0/5

Deleting Data

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 72: Siebel 8.0 Essentials

Working With Siebel Data 3.4

Siebel 8.0 Essentials

4 of 28Copyright © 2007, Oracle. All rights reserved.

Creating Data

Select Menu > New Record or click the New button to create a new record

1/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 73: Siebel 8.0 Essentials

Working With Siebel Data 3.5

Siebel 8.0 Essentials

5 of 28Copyright © 2007, Oracle. All rights reserved.

Creating Data Continued

Enter data in list or form appletSome fields are required:

Marked with a red asterisk in a form appletDefault value may be provided automatically

1/5

Required field indicated by red

asterisk

Required field populated with default value

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 74: Siebel 8.0 Essentials

Working With Siebel Data 3.6

Siebel 8.0 Essentials

6 of 28Copyright © 2007, Oracle. All rights reserved.

Modifying and Saving Data

Modify dataSelect field in the list or form and change it

Save data implicitlyStep off the record in a list or a form to commit it to the databaseAvailable in High Interactivity interface

Save data explicitly Click Menu and select Save RecordKeyboard: CTRL+S

Explicit save

2/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 75: Siebel 8.0 Essentials

Working With Siebel Data 3.7

Siebel 8.0 Essentials

7 of 28Copyright © 2007, Oracle. All rights reserved.

Text Editor

Is an editable text area used to create, edit, or view large amounts of textIs accessed by clicking the Text Editor button in the top-right corner of a text field

2/5

Text Editor button

Enter text and click OK

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 76: Siebel 8.0 Essentials

Working With Siebel Data 3.8

Siebel 8.0 Essentials

8 of 28Copyright © 2007, Oracle. All rights reserved.

Attachments

Are files created in other applications that can be associated to records in Siebel applicationsCan be related to records wherever the Attachments view is available within a screen

Drag and drop a file into the Attachments list view, orUse the New File or New URL button

2/5

Use New File or New URL to create an

attachmentDrag and drop file to create an attachment

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 77: Siebel 8.0 Essentials

Working With Siebel Data 3.9

Siebel 8.0 Essentials

9 of 28Copyright © 2007, Oracle. All rights reserved.

Using Picklists3/5

Picklists allow user to select a field value from a listTwo types of picklist:

Static: User selects a value from a fixed drop-down listDynamic: User selects a value from list of changing values

Examples: Accounts, Opportunities, Contacts

Dynamic picklist

Select button opens pick applet

Static picklist uses drop-down

list

A picklist may be constrained, only allowing users to enter values that appear in the drop-down list or pick applet, or unconstrained, where the user is free to add any value.

Constrained vs. Unconstrained Picklists

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 78: Siebel 8.0 Essentials

Working With Siebel Data 3.10

Siebel 8.0 Essentials

10 of 28Copyright © 2007, Oracle. All rights reserved.

Multi-value groups (MVGs) assign one or more values to a field in a recordOnly the primary value will be displayed in a list or form

Using Multi-Value Groups3/5

MVG Select button

Associate members to the account team

Primary

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 79: Siebel 8.0 Essentials

Working With Siebel Data 3.11

Siebel 8.0 Essentials

11 of 28Copyright © 2007, Oracle. All rights reserved.

Sorting Data

Click a column header to sort data in ascending or descending order

Click the column header for ascending (A – Z) or descending (Z – A) order

4/5

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 80: Siebel 8.0 Essentials

Working With Siebel Data 3.12

Siebel 8.0 Essentials

12 of 28Copyright © 2007, Oracle. All rights reserved.

Select Menu > Advanced Sort to sort using values of up to three columns at once

Sorting Data Continued

4/5

Select sort columns and

order

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 81: Siebel 8.0 Essentials

Working With Siebel Data 3.13

Siebel 8.0 Essentials

13 of 28Copyright © 2007, Oracle. All rights reserved.

Deleting Data

Delete a record by:Select Menu > Delete RecordClick Delete buttonCTRL+D

Some records may be read-only

5/5

Confirm delete

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 82: Siebel 8.0 Essentials

Working With Siebel Data 3.14

Siebel 8.0 Essentials

14 of 28Copyright © 2007, Oracle. All rights reserved.

Querying for Data in the Siebel UI

Using the Query Assistant

Querying an MVG Field

Refining a Query

Running and Executing a Query

Saving a Query

0/6

Executing Predefined and Saved Queries

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 83: Siebel 8.0 Essentials

Working With Siebel Data 3.15

Siebel 8.0 Essentials

15 of 28Copyright © 2007, Oracle. All rights reserved.

Running and Executing a Query

Query for records inline within a form or list applet using one of the following methods:

Query button on an appletQuery from applet-level and application-level menusRun Query item in context menu (accessed by right-click)

1/6

Right-click for context menu

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 84: Siebel 8.0 Essentials

Working With Siebel Data 3.16

Siebel 8.0 Essentials

16 of 28Copyright © 2007, Oracle. All rights reserved.

Wildcards

Wildcards can be used to search for matching characters* is a substitute for zero or more characters in a string query

* cannot be used in date or numeric fieldsExamples:

Ma* matches “Madrid”, but not “San Mateo”*Ma* matches “Madrid” and “San Mateo”

? Is a substitute for exactly one character in a string query? cannot be used in date or numeric fieldsExamples:

st?r matches star and stir, but not stair*st?r matches monster and rock star, but not tastier

1/6

Default behavior for queries in list and form applets is to insert a trailing *. Example: A query for “Ma”, without an asterisk, would match Madrid.

Default Query Behavior

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 85: Siebel 8.0 Essentials

Working With Siebel Data 3.17

Siebel 8.0 Essentials

17 of 28Copyright © 2007, Oracle. All rights reserved.

Query Operators

Relational operators can be used on numeric or date fields< (less than)> (greater than)= (equal to)<= (less than or equal to)>= (greater than or equal to)

<> (not equal to) can be used on all fieldsExample:

Find dates on or after 1/1/2006Date field in query is set to: >= 1/1/2006

1/6

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 86: Siebel 8.0 Essentials

Working With Siebel Data 3.18

Siebel 8.0 Essentials

18 of 28Copyright © 2007, Oracle. All rights reserved.

Query Operators Continued

OR allows match on any one of multiple values for a fieldAND allows match on all of multiple values for a fieldOther operators include

NOT“ ”IS NULLIS NOT NULL

Examples:Find service requests with no description entered

Use IS NULL in Description field of service requestFind dates on or between 1/1/2006 and 1/7/2006

In date field of query: >=1/1/2006 AND <= 1/7/2006

1/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 87: Siebel 8.0 Essentials

Working With Siebel Data 3.19

Siebel 8.0 Essentials

19 of 28Copyright © 2007, Oracle. All rights reserved.

Record Count

Provides the total number of matching records in the query

1/6

Select Record Countfor count of records in

current query

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 88: Siebel 8.0 Essentials

Working With Siebel Data 3.20

Siebel 8.0 Essentials

20 of 28Copyright © 2007, Oracle. All rights reserved.

Using the Query Assistant

Provides a simplified way for users to execute queries from anywhere in a Siebel application

Guides users through creating a queryUsers do not have to be familiar with query syntax or operators

Click Query Assistant button after clicking Query in a form or list

Select any field from the current

screen

2/6

Select fields and operators using drop-down lists

Two expressions combined with AND to

form the query

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 89: Siebel 8.0 Essentials

Working With Siebel Data 3.21

Siebel 8.0 Essentials

21 of 28Copyright © 2007, Oracle. All rights reserved.

Querying an MVG Field

Use EXISTS() to search for matches in multi-value groups (MVGs)

Only way to query all child records in an MVG Example: Searching for the string “*Street” in the address of anaccount

An account can have multiple addressesQuery matches all accounts with one or more addresses ending with the sub-string “Street”

MVG indicator

Search criterion

3/6

A related issue involves queries on a field whose values are populated using a drop-down list. Best practice is to enter the value to be queried using the drop-down list, rather than typing this value.

Queries Using Drop-Down Lists

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 90: Siebel 8.0 Essentials

Working With Siebel Data 3.22

Siebel 8.0 Essentials

22 of 28Copyright © 2007, Oracle. All rights reserved.

Querying an MVG Field Continued

Search results show records where at least one value in an MVG matches the search criteria

Example:Search results include accounts with string “*Street” in at least one address

These accounts all have addresses that

match the query

Record detail for

Ace Properties

3/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 91: Siebel 8.0 Essentials

Working With Siebel Data 3.23

Siebel 8.0 Essentials

23 of 28Copyright © 2007, Oracle. All rights reserved.

Use Refine Query to modify an existing query

Refining a Query

1. Select Refine Query

3. Query results reflect original and modified criteria

4/6

2. Enter additional or modified criteria Original criterion

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 92: Siebel 8.0 Essentials

Working With Siebel Data 3.24

Siebel 8.0 Essentials

24 of 28Copyright © 2007, Oracle. All rights reserved.

Saving a Query

Use the application-level Query menu to save a query

1. Select Query > Save Query As

2. Name the query and click OK

5/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 93: Siebel 8.0 Essentials

Working With Siebel Data 3.25

Siebel 8.0 Essentials

25 of 28Copyright © 2007, Oracle. All rights reserved.

Executing Predefined and Saved Queries

Predefined queries are provided by an application administratorCannot be deleted by an end user

Additional saved queries are created and saved by the userAll saved and predefined queries appear in the Saved Queries drop-down list

6/6

Created and saved by user

Predefined and saved queries in

alphabetical order

3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 94: Siebel 8.0 Essentials

Working With Siebel Data 3.26

Siebel 8.0 Essentials

26 of 28Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Creating and editing data may involve using:Required and optional fieldsDrop-down listsMVG fieldsAttachments

Siebel applications support complex queries on data with:WildcardsLogical and numerical operatorsSupport for searching multi-value group (MVG) fields

The Query Assistant helps end users form complex queriesCommonly-executed queries may be saved

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 95: Siebel 8.0 Essentials

Working With Siebel Data 3.27

Siebel 8.0 Essentials

27 of 28Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create, modify, and delete recordsUse basic querying skills

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 96: Siebel 8.0 Essentials

Working With Siebel Data 3.28

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 97: Siebel 8.0 Essentials

Responsibilities and Views 4.1

Siebel 8.0 Essentials

4Copyright © 2007, Oracle. All rights reserved.

Module 4: Responsibilities and Views

Siebel 8.0 Essentials

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 98: Siebel 8.0 Essentials

Responsibilities and Views 4.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the purpose of a responsibilityCreate a new responsibility Modify an existing responsibility

Why you need to know:Access to views within the application is controlled by responsibilitiesUnderstanding responsibilities is required to properly configure users within the application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 99: Siebel 8.0 Essentials

Responsibilities and Views 4.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Large-scale enterprise applications should not grant all users access to the entire application, for example:

Most users should not have access to system administration viewsMost users should not have access to all data in the application, for example:

Employee salaries, sales contracts, and other sensitive dataData not related to the employee’s job function

Application administrators require a mechanism to restrict access to views and data

Ideally, the restriction mechanisms should be independent of oneanother:

One mechanism to restrict access to viewsA separate mechanism to restrict access to data

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 100: Siebel 8.0 Essentials

Responsibilities and Views 4.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Business Solution: Access Control

Siebel applications provide mechanisms known as Access Control to restrict views and data seen by users

Responsibilities control access to viewsSubject of this module

Positions control access to dataSubject of subsequent module

These Access Control mechanisms are independent of one another

Positions will be discussed in a subsequent modulePositions

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 101: Siebel 8.0 Essentials

Responsibilities and Views 4.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Views and Job Functions

Users should see only those views required to perform their job functions

Improves efficiency for the userImproves business security by preventing unauthorized access to sensitive or administrative views

The System Administrator has many more administrative views than a Call Center Agent. Notice that even the set of screen tabs is different

System Administrator Call Center Agent

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 102: Siebel 8.0 Essentials

Responsibilities and Views 4.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Responsibilities

Are collections of views associated with a job functionAll of the views necessary to perform that particular job function

Are assigned to users according to their job functionsUsers may have more than one job function, hence may have more than one responsibility

UsersResponsibilitiesViews

Responsibilities contain one or

more views

Assign users one or more

responsibilities

Siebel Security Guide: Configuring Access ControlReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 103: Siebel 8.0 Essentials

Responsibilities and Views 4.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Properties of Responsibilities

A view may be contained in multiple responsibilitiesFor example, the Home Page View of an application should be included in every responsibility used to access that application

Multiple users may share the same responsibilityFor example, Call Center agents

UsersResponsibilitiesViews

The same view may be contained by multiple

responsibilities

Multiple users may share the same

responsibility4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 104: Siebel 8.0 Essentials

Responsibilities and Views 4.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Seed Responsibilities

Are a set of responsibilities provided with the Siebel applicationAutomatically created during application installation

Cannot be modified or deletedMay be copied to create new, editable responsibilities

Seed responsibilities are created when the application is installed

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 105: Siebel 8.0 Essentials

Responsibilities and Views 4.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Creating New Responsibilities

If the existing seed responsibilities are not sufficient for your business requirements, create new responsibilities as required

New responsibilities may be edited or deleted

Create new responsibilities for customized, editable

responsibilities 4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 106: Siebel 8.0 Essentials

Responsibilities and Views 4.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Assigning Responsibilities to Users

Assign responsibilities to users according to their job role(s)Users with multiple responsibilities see the union of the viewsUsers with no responsibilities see nothing

Critical to remember to assign responsibilities to partners and Web customers

CCHENG has many responsibilities, and is able to see

all of the views in all of them

Click the Select button to bring up the Responsibilities list

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 107: Siebel 8.0 Essentials

Responsibilities and Views 4.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Primary Responsibilities

Assign each user a primary responsibilityDetermines the initial tab layout when the user logs in

Administrator determines the initial layoutUser can edit personal preferences to create a different layout

CCHENG’s primary responsibility is Universal Agent (B2B+B2C),

so she initially sees the tab layout for that responsibility

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 108: Siebel 8.0 Essentials

Responsibilities and Views 4.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Creating a Responsibility0/3

1. Copy or Create a Responsibility

2. Add or Remove Views

3. Test the Responsibility

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 109: Siebel 8.0 Essentials

Responsibilities and Views 4.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

1. Copy or Create a Responsibility

Navigate to the Administration – Application > Responsibilities viewCopy an existing responsibility with a set of views similar to your requirementsAlternatively, create a new responsibility to start without any views

1/3

Right-click and select Copy Record to create a duplicate responsibility

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 110: Siebel 8.0 Essentials

Responsibilities and Views 4.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

1. Copying or Creating Responsibilities

Copying seed responsibilities:Provides a “quick start” in creating responsibilities with largenumbers of viewsMay provide far more views than your business logic requires

Seed responsibilities frequently contain hundreds of viewsInefficient for inexperienced usersMay include inappropriate administrative views

Creating new responsibilities:Allows fine-tuning of application logic to exactly match business requirements

Users see only those views that your company has decided they require to perform their job functions

Requires determining exactly which views a user may require and adding those views to the responsibility

1/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 111: Siebel 8.0 Essentials

Responsibilities and Views 4.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

2. Add or Remove Views

Add or remove views from the responsibility as necessaryA pick applet provides querying functionality and improves efficiency when selecting views

2/3

1. Click Add to add views to a responsibility

2. Pick applet supports querying for and adding multiple views at once

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 112: Siebel 8.0 Essentials

Responsibilities and Views 4.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

2. Read-Only Views

After editing the set of views for the responsibility, mark views as read-only for that responsibility if desired

Allows different responsibilities to have different levels of access to the same view

2/3

Mark views as Read Only Views to prevent editing

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 113: Siebel 8.0 Essentials

Responsibilities and Views 4.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

2. Clear the Cache

Clear the responsibility cache to ensure that users will see their updated responsibilities the next time they log in

2/3

Click Clear Cache to clear the responsibility cache after creating

or modifying responsibilities

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 114: Siebel 8.0 Essentials

Responsibilities and Views 4.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

3. Test the Responsibility

Assign the responsibility to a sample userUse the Administration – User > Users view

Log in as that user and verify the available views from the SiteMap

Users only see references to views that are contained in their responsibilities

3/3

Examine the Site Map to confirm that only views associated with the

responsibility are shown

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 115: Siebel 8.0 Essentials

Responsibilities and Views 4.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Additional Features

Use responsibilities to restrict access to business services, business processes, and tasks

This prevents unauthorized users from invoking them

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 116: Siebel 8.0 Essentials

Responsibilities and Views 4.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Responsibilities are collections of views used to limit the views visible to a userResponsibilities have a M:M relationship with views and users Create responsibilities by copying and editing seed responsibilities or by creating new responsibilitiesAssign responsibilities to a user and clear the responsibility cache before testing a responsibility

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 117: Siebel 8.0 Essentials

Responsibilities and Views 4.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Explore seed responsibilitiesCreate and test a new responsibility

4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 118: Siebel 8.0 Essentials

Responsibilities and Views 4.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 119: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.1

Siebel 8.0 Essentials

5Copyright © 2007, Oracle. All rights reserved.

Module 5: Users, Positions, and Organizations

Siebel 8.0 Essentials

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 120: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe how data access is controlled by users, positions, and organizationsImplement the company structure using divisions, organizations, positions, users, and employees

Why you need to know:Access to some data within the application is controlled by users, positions, and organizationsImplementing your company's structure enables role- and organization-specific functionality in Siebel CRM

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 121: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Large-scale enterprise applications should not grant all users access to all of the data within the application

For example, sales representatives should see their own sales quota attainment, but no one else’sOn the other hand, sales managers should see all of their reports’ quota attainments

System administrators require a mechanism to restrict access to data within the application

This mechanism should be independent of the mechanism to restrict access to views

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 122: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Business Solution: Access Control

Siebel applications allow different users to see different data based on their user ID, position, or organization within the company

Data access control is independent of responsibilities and viewsExample: Ted Arnold and Casey Cheng can access the same view based on their responsibilities, but see different data in the view

Siebel Security Guide: Configuring Access ControlReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 123: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Users

Are individuals who use the Siebel applicationMay be employees, customers, or partners

Require unique user IDsRequire at least one responsibility to see views in the application

Note that multiple users can have the same name as long

as their user ID is different

Users must have at least one

responsibility or they will see no views

Developing and Deploying Siebel Business Applications: Required Application Administration Tasks

Reference

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 124: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Users

Employees

Are a special type of user representing employees of the company

Employees have one or more positions within the companyEach position belongs to an organization within the company

Employees

Employees are users who have positions that belong to organizations

ResponsibilitiesAll users have

responsibilities, whether or not they are employees

OrganizationsPositions

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 125: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Positions

Positions are used to control access to data within the application

For example, a sales representative’s accounts are only visible to members of his or her sales team

Employees may have one or more positionsOne position is designated as the primary position, and is the position employees occupy when they log inEmployees only see data for their current positionEmployees may change positions once they have logged in

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 126: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Changing Positions

If an employee has more than one position, he or she can change position during a session

From the application-level Tools menu, select User Preferences > Change PositionBecomes the Active Position for that session

Changing the default login (primary) position for an employee isan administrator function

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 127: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Position Hierarchy

Positions are arranged in a hierarchyDefines a reporting structure that allows managers to see data from their direct and indirect reportsThe Administration – Group > Positions view shows this hierarchy

Also shows the primary for each position

The VP of Sales position can see data for the Eastern Sales Manager

and Eastern Sales Rep positions

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 128: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Divisions and Organizations

A company is divided into divisions representing lines of business, regions, or departmentsDivisions are arranged in a hierarchyOrganizations are a special type of division used to restrict data access within that division

Data is shared among divisions within an organization

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 129: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Example: MegaCorp Organizational Structure

Here is a sample organizational structure of a sample company, MegaCorp

MegaCorp Training

MegaCorp HQ

MegaCorp Sales

NA Sales EMEA Sales

Internal Training

Customer Training

Financial Services

Public Sector

Telecoms & Media

Partner Sales

European Partners

ASIA/PAC Partners

DivisionLEGEND

MegaCorp Consulting

Default Organization

Organization

Default Organization is the root of the

hierarchy

Partner organizations created to segregate

data

All divisions belonging to Default Organization share

the same data access

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 130: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Positions and Divisions

A position is assigned to one, and only one, divisionA position is associated with one, and only one, organization:

The organization to which the division belongs

This position is associated with the MegaCorp East Sales

division, which belongs to the Default Organization

The Eastern Sales Manager position is assigned to the

MegaCorp East Sales division

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 131: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

MegaCorp East SalesMegaCorp West Sales

Example: NA Sales with Positions and Users

The NA Sales division (part of Default Organization) might have users and positions that look something like this:

Eastern Sales Manager

Peter Summers

Western Sales Rep 1Todd Oleak

Western Sales Rep 2Marion May

MegaCorp NA Sales

Western Sales Manager

Sean Murphy

LEGEND

Position

Division

Eastern Sales Rep 1Kelly Wilson

Eastern Sales Rep 2

Wasaka Takuda

VP of SalesChris Miller Organization

MegaCorp West Sales MegaCorp East Sales

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 132: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Implementing the Company Structure0/5

1. Create Divisions and Division Hierarchy

2. Label Some Divisions as Organizations

3. Create Positions

4. Create Employees

5. Create Users

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 133: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

1. Create Divisions and Division Hierarchy

Create divisions in the Administration – Group > Internal Divisions view

Required fields are division name and currencyBe careful: Once divisions are created they cannot be deleted

1/5

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 134: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

2. Label Some Divisions as Organizations

Label divisions as organizations by clicking the Organization Flag check box

Be careful: This cannot be undone

2/5

Organization Flag check box

Default Organization is one of the seed organizations in the Siebel application. Because much of the seed data is assigned to Default Organization, it should not be modified.

Default Organization

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 135: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

3. Create Positions

Create Positions on the Administration – Group > Positions viewPositions require a name and a division

Siebel applications provide some seed positions such as Siebel AdministratorRecommended practice: Do not delete positions, as they are related to data

3/5

The Siebel application has four seed positions, including Siebel Administrator

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 136: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

4. Create Employees

Use the Administration – User > Employees view to create employees

Employee will also appear as a userRequired fields are First Name, Last Name, User ID, Position, and OrganizationBy default, new employee records are in the same organization as the person creating the record

Used for access control of visibility of employee recordsCan be changed to reflect appropriate access control

4/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 137: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

5. Create Users

Some users will not be employeesFor examples, customers and partners

Create them in the Administration – Users > Users viewCustomers and partners require responsibilities, but not positions

5/5

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 138: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Users are individuals who log in to the applicationRequire responsibilities

Employees are special users representing employees of the company

Hold at least one positionBelong to at least one organization

Positions are similar to job titles, and are used to determine what data an employee can seeDivisions represent divisions within the company Organizations are specialized divisions used to limit data visibility

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 139: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Implement a company structure, including divisions, organizations, positions, and employees

5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 140: Siebel 8.0 Essentials

Users, Positions, and Organizations 5.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 141: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.1

Siebel 8.0 Essentials

6Copyright © 2007, Oracle. All rights reserved.

Module 6: Controlling Access to Customer Data

Siebel 8.0 Essentials

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 142: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.2

Siebel 8.0 Essentials

2 of 26Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the difference between customer and master data in Siebel applicationsDescribe the different Access Control mechanisms used to restrict access to data in Siebel applicationsIdentify the different view types used for different types of users

Why you need to know:To effectively use and administer Siebel applications, you need to understand how access to data is controlledUnderstanding view types is essential to properly assigning them to responsibilities

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 143: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.3

Siebel 8.0 Essentials

3 of 26Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Users often perform the same job functions but on different setsof data

For example, sales representatives need access to the records for their own accounts, but not each others’

Access to some data in the enterprise needs to be restrictedUsers should only see records they need to do their jobUsers should easily locate records of interest

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 144: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.4

Siebel 8.0 Essentials

4 of 26Copyright © 2007, Oracle. All rights reserved.

Business Solution: Access Control for Data

Siebel applications provide mechanisms to restrict access to certain records based on:

The employeeThe employee's positionThe position’s organization

Limited access to data:Increases business securityIncreases user productivity

Siebel Security Guide: Configuring Access ControlReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 145: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.5

Siebel 8.0 Essentials

5 of 26Copyright © 2007, Oracle. All rights reserved.

Relationship Between Views and Data

Access to views is independent of access to dataBut the view defines the Access Control mechanism that will be used to access data

Data displayed within a view is based on the Access Control mechanism for the view

Example: Ted Arnold and Casey Cheng can access the same view based on their responsibilities, but see different data in the view

Casey Cheng (CCHENG) sees

only her own service requests

Ted Arnold (TARNOLD) can

access the same view but sees only his own service requests there

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 146: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.6

Siebel 8.0 Essentials

6 of 26Copyright © 2007, Oracle. All rights reserved.

Data Classification

Data in a Siebel Enterprise is classified as either customer data or master dataCustomer data:

Consists of dynamic, transactional data such as service requestsand opportunitiesIs typically created and managed by users of the applicationHas access controlled at the record level according to employee,position, organization, or a combination thereof

Master data:Includes static, referential data such as products and literatureIs created and maintained by administratorsCan be grouped into categories and catalogsHas access controlled according to catalog and category

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 147: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.7

Siebel 8.0 Essentials

7 of 26Copyright © 2007, Oracle. All rights reserved.

Accessing Customer Data

Individual records may be restricted by employee, position, organization, or a combination thereof

Data visibility is determined by Siebel-set properties of the underlying business component (BC)Visibility may be restricted to an individual employee, position, or organization, or multiple employees, positions, or organizations

Employees are assigned to

positions. Each position is

assigned to one and only one organization

Record visibility is restricted by a combination of employee, position, and organization, depending on the underlying BC

Records

Employee

Position

Organization

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 148: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.8

Siebel 8.0 Essentials

8 of 26Copyright © 2007, Oracle. All rights reserved.

Viewing Customer Data

For customer data that is access controlled, visibility is determined using the following drop-down visibility filters:

My viewsMy Team’s viewsAll viewsAll Across My Organizations viewsAll Across Organizations views

Assigning the appropriate views to the appropriate responsibilities is critical for data access control

The visibility filter drop-down list shows the views available according to the

user’s responsibilities

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 149: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.9

Siebel 8.0 Essentials

9 of 26Copyright © 2007, Oracle. All rights reserved.

My Views

My views show records where you or your position is directly associated with the record

For example, My Accounts or My ContactsFor some records such as Accounts or Opportunities there is a team of positions associated with each record

The record appears in My View if your position is on the team

A sales agent only sees accounts for which the sales

agent’s position is on the account team

In order for a team-controlled record to be visible in the My views, a primary team member must be specified.

Primaries

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 150: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.10

Siebel 8.0 Essentials

10 of 26Copyright © 2007, Oracle. All rights reserved.

My Personal Views

Are used to display records directly owned by you or your positionAre special-case views that are rarely used (for example, with Contacts)

A sales agent only sees contacts for which he or she is the direct owner

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 151: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.11

Siebel 8.0 Essentials

11 of 26Copyright © 2007, Oracle. All rights reserved.

My Team’s Views

Are an additional view for managers that allow them to see records assigned to their direct and indirect reports

For records with teams of positions, only records where the primary is the direct or indirect report are displayedManager does not have to be assigned to the record

Are typically assigned only to manager responsibilitiesAre implemented using the position hierarchy

Manager sees only the accounts for which the manager’s direct

or indirect reports are the primary position on the account

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 152: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.12

Siebel 8.0 Essentials

12 of 26Copyright © 2007, Oracle. All rights reserved.

All Views

Are used to show all records belonging to your current organization

The organization of your current positionNot related to My or My Team’s views, which are person or position oriented

A service agent sees all the service requests

assigned to his or her organization,

regardless of the owner

In order for a team-controlled record to be visible in the All views, a primary team member must be specified.

Primaries

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 153: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.13

Siebel 8.0 Essentials

13 of 26Copyright © 2007, Oracle. All rights reserved.

Customer Data and Organizations

By default, when a record is created it is associated with the organization of the creator’s current positionTo change the organization associated with a record, use the More Info view

Records may be associated with multiple organizations

A record’s Organization is usually shown under the More

Info tab in the detail view

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 154: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.14

Siebel 8.0 Essentials

14 of 26Copyright © 2007, Oracle. All rights reserved.

All Across My Organizations Views

Are used to display all data from an organization and its child organizations

Based on the relationships specified by the organizational hierarchy

Are typically restricted to users who need to access records at the enterprise level

Mid-level executivesPartners

Are typically used for only a few types of recordsFor example, opportunitiesIn the All Opportunities Across My Organizations view, a sales manager sees all opportunities in his or her organization and all of its child organizations

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 155: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.15

Siebel 8.0 Essentials

15 of 26Copyright © 2007, Oracle. All rights reserved.

All Across Organizations Views

Are used to show all records in the enterprise that are assignedan organizationAre typically restricted to only those users who need to access records across the whole company

Top-level executives

A vice president of sales can see all

service requests that have been assigned

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 156: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.16

Siebel 8.0 Essentials

16 of 26Copyright © 2007, Oracle. All rights reserved.

Administration Views

Are used to display all database records, even those without a valid owner

For example, records that have just been imported but not yet assigned or records where the primary position has been deleted

Are accessed from the Administration views for each major entityShould be restricted to a few users in the enterprise as they display all records in the database

Administration views are separate from the visibility

filter drop-down list

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 157: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.17

Siebel 8.0 Essentials

17 of 26Copyright © 2007, Oracle. All rights reserved.

Summary: Types of Views

Displays records directly assigned to you based on user ID or active positionMy View

Allows managers to see records assigned to their direct and indirect reports that are the primary owner based on reporting structure

My Team’s View (Manager’s View)

Displays all records associated with the user’s organizationAll View

Displays records that are assigned to the user’s organization and its child organizationsAll Across My Organizations View

Display all records in the database, even those without a valid organizationAdministration Views

Displays all records in the enterprise with a valid organizationAll Across Organizations View

Only displays records you directly ownMy Personal View

DescriptionViews

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 158: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.18

Siebel 8.0 Essentials

18 of 26Copyright © 2007, Oracle. All rights reserved.

Best Practices for Views

My Views:Individual contributors should always have access

Allows them to see records directly associated with them or their position

Managers and executives may or may not require accessRequire access if they might be on a team associated with a recordDo not require access if they will never be associated with a record

My Team’s Views:Individual contributors should not have access unless they have people who report to themManagers should have access

Allows them to see records associated with their reportsExecutives may or may not require access

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 159: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.19

Siebel 8.0 Essentials

19 of 26Copyright © 2007, Oracle. All rights reserved.

Best Practices for Views Continued

All Views:Individual contributors may or may not need access

Call center agents should be able to see all of a company’s service requests, hence should have an All Service Requests viewSales representatives may or may not need to see all opportunities within their organization, depending on the business model

All views are typically restricted to users who need to access records at the organization level

Executives, administratorsService agents who need to access all service requests

All Across Organizations Views:These views are usually reserved for upper managers and executives

Exception: Call center agents may need to see all service requests filed by a customer worldwide, hence may need access to these views

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 160: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.20

Siebel 8.0 Essentials

20 of 26Copyright © 2007, Oracle. All rights reserved.

Review: Access to Customer Data

Can be restricted by assigning individual records to: Employees (specified by employee’s user ID)PositionsOrganizations

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 161: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.21

Siebel 8.0 Essentials

21 of 26Copyright © 2007, Oracle. All rights reserved.

Using Multiple Access Control Mechanisms

A record can be restricted by more than one Access Control mechanism

Mechanisms are not mutually exclusiveEach view is preconfigured to use only one mechanism at a time

If you want to use another mechanism, you create and configure another view

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 162: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.22

Siebel 8.0 Essentials

22 of 26Copyright © 2007, Oracle. All rights reserved.

Examples

An employee’s position may be assigned to an account that is not assigned to that employee’s organization

Employee sees the account in the My ViewEmployee does not see the account in the All View

Contacts have multiple access mechanisms: public (team-based), private (position- or employee-based), and manager

Employee sees public contacts in the My ViewEmployee sees private contacts in the My Personal ViewManager sees contacts for self and subordinates in the My Team’sView

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 163: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.23

Siebel 8.0 Essentials

23 of 26Copyright © 2007, Oracle. All rights reserved.

Summary of Record Assignment

Standard Siebel business entities can be assigned to single or multiple employees, positions, or organizations

AccountsOpportunitiesQuotes

AssetsConsumersForecasts

Organizations

AccountsContactsOpportunities

ForecastsQuotes

Positions

AssetsActivities

Service requestsExpense reportsContacts

Employees

Multi-Valued Access

Single-Valued AccessAccess Method

Team Access Control

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 164: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.24

Siebel 8.0 Essentials

24 of 26Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Access to records may be restricted by employee, position, organization, or a combination thereofWhich records are shown depends on the view selected from the visibility filter drop-down listMultiple Access Control mechanisms may be in place for a single record

For example, both position-based and organization-based Access Control

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 165: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.25

Siebel 8.0 Essentials

25 of 26Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Explore record visibility in the applicationAdd a position to a user an examine how it affects the various visibility filters

6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 166: Siebel 8.0 Essentials

Controlling Access to Customer Data 6.26

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 167: Siebel 8.0 Essentials

Catalogs and Master Data 7.1

Siebel 8.0 Essentials

7Copyright © 2007, Oracle. All rights reserved.

Module 7: Catalogs and Master Data

Siebel 8.0 Essentials

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 168: Siebel 8.0 Essentials

Catalogs and Master Data 7.2

Siebel 8.0 Essentials

2 of 26Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Identify how master data is organized into catalogs and categoriesIdentify how users are organized into access groups

Why you need to know:Administering master data requires an understanding of catalogs,categories, and access groups

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 169: Siebel 8.0 Essentials

Catalogs and Master Data 7.3

Siebel 8.0 Essentials

3 of 26Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Companies have large amounts of data that must be:Classified, so that it is easy to organize, administer, navigate, and searchControlled, so that users only have access to appropriate data

Example: Companies want different sales divisions to have access to different product lists

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 170: Siebel 8.0 Essentials

Catalogs and Master Data 7.4

Siebel 8.0 Essentials

4 of 26Copyright © 2007, Oracle. All rights reserved.

Business Solution

Siebel applications provide mechanisms for:Organizing and classifying large amounts of static, referential dataOrganizing users into groups for appropriate access to data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 171: Siebel 8.0 Essentials

Catalogs and Master Data 7.5

Siebel 8.0 Essentials

5 of 26Copyright © 2007, Oracle. All rights reserved.

Master Data

Is static, referential data managed by administratorsProductsSolutionsLiteratureResolution itemsAuction itemsEventsDecision issuesCompetitorsTraining courses

Has its visibility controlled by:CatalogsCategoriesAccess groups

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 172: Siebel 8.0 Essentials

Catalogs and Master Data 7.6

Siebel 8.0 Essentials

6 of 26Copyright © 2007, Oracle. All rights reserved.

Catalogs

Are containers for hierarchies of categoriesDo not contain master data themselves

Are created to contain a specific subset of the master dataFor example, customer documentation for credit card accounts

Category A Category B Category C

Catalog A

• Product 4• Product 5

Subcategory A

Subcategory A

Subcategory B• Literature Item 1

• Product 1• Product 2• Product 3• Literature Item 1

• Product 2• Literature Item 2

• Product 3• Product 6

Siebel Order Management Guide: Creating and Managing CatalogsReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 173: Siebel 8.0 Essentials

Catalogs and Master Data 7.7

Siebel 8.0 Essentials

7 of 26Copyright © 2007, Oracle. All rights reserved.

Catalogs Continued

May be declared public or privatePublic catalogs are visible to all users

Categories within public catalogs may still be marked privatePrivate catalogs have their visibility limited to privileged groups known as access groups

For example, a credit card documentation catalog might be public to allow users to see the service agreements and benefitsHowever, a customer service documentation catalog might be private to restrict visibility to those with service agreements

Catalog A (Public) Catalog B (Private)

A public catalog is visible to all users; individual categories within that

catalog may still be marked private

Categories within private catalogs are private

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 174: Siebel 8.0 Essentials

Catalogs and Master Data 7.8

Siebel 8.0 Essentials

8 of 26Copyright © 2007, Oracle. All rights reserved.

Catalog Types

Are assigned to catalogsCatalogs should have a catalog typeSeed catalog types include:

InfocenterBuyingPartnereService FAQCustomerMultiselect CheckboxTrainingPartner ProgramTraining Curriculum

Are used when querying for master data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 175: Siebel 8.0 Essentials

Catalogs and Master Data 7.9

Siebel 8.0 Essentials

9 of 26Copyright © 2007, Oracle. All rights reserved.

Categories

Are nodes in a catalog that contain:Master dataOther categories

Are not shared between catalogsHowever, multiple catalogs may contain categories with the same name

May be declared public or privateIf a category is declared private, all of its subcategories are also privatePrivate categories also have their visibility limited to specified access groups

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 176: Siebel 8.0 Essentials

Catalogs and Master Data 7.10

Siebel 8.0 Essentials

10 of 26Copyright © 2007, Oracle. All rights reserved.

Categories: Example

Even though Category B and Category C both contain subcategories named Subcategory A, these two subcategories are distinctSince Category B is private, its Subcategory A is also private

Category A Category B Category C

Catalog A

• Product 4• Product 5

Subcategory A

Subcategory A

Subcategory B• Literature Item 1

• Product 1• Product 2• Product 3• Literature Item 1

• Product 2• Literature Item 2

• Product 3• Product 6

Category B has been marked as private

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 177: Siebel 8.0 Essentials

Catalogs and Master Data 7.11

Siebel 8.0 Essentials

11 of 26Copyright © 2007, Oracle. All rights reserved.

Access Groups

Are collections of positions, organizations, user lists, and households used to access private catalogs and categoriesCannot contain individuals such as employees and users

To add an individual, create a user list with that individual as the only member

Create User Lists in the Administration – Group > User Lists screen and add

them to access groups

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 178: Siebel 8.0 Essentials

Catalogs and Master Data 7.12

Siebel 8.0 Essentials

12 of 26Copyright © 2007, Oracle. All rights reserved.

Access Group Hierarchies

Access groups can be organized into a hierarchyChild access groups inherit all of the access granted to their parents, hence have more privileges than their parentsUseful for giving more privileged users greater access

Parent access group

Child access groups

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 179: Siebel 8.0 Essentials

Catalogs and Master Data 7.13

Siebel 8.0 Essentials

13 of 26Copyright © 2007, Oracle. All rights reserved.

Access Control

Assign access groups to catalogs or categoriesUnlike customer data, individual records are not controlled

Access groups must be assigned to every catalog or category to which they need access

Access is not inherited along the category hierarchy

Category A Category B Category C

Catalog A

• Product 4• Product 5

Subcategory A

Subcategory A

Subcategory B• Literature Item 1

• Product 1• Product 2• Product 3• Literature Item 1

• Product 2• Literature Item 2

• Product 3• Product 6

Assign Access Group X to Category B

Also assign Access Group X to subcategory A if access is required

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 180: Siebel 8.0 Essentials

Catalogs and Master Data 7.14

Siebel 8.0 Essentials

14 of 26Copyright © 2007, Oracle. All rights reserved.

Access Control Continued

An access group can only be added to a category if:The access group is also assigned to the category’s parent, orThe access group is a child of an access group assigned to the parent

Category A Category B Category C

Catalog A

• Product 4• Product 5

Subcategory A

Subcategory A

Subcategory B• Literature Item 1

• Product 1• Product 2• Product 3• Literature Item 1

• Product 2• Literature Item 2

• Product 3• Product 6

Cannot assign Access Group Y to Subcategory

A unless…

… Access Group Y is assigned to Category B, or…

… Access Group Y is the child of an access group assigned to Category B

Assign any access group to Category B because its parent (Catalog A) is public

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 181: Siebel 8.0 Essentials

Catalogs and Master Data 7.15

Siebel 8.0 Essentials

15 of 26Copyright © 2007, Oracle. All rights reserved.

Access Control Continued

Removing a parent access group from a category also removes all child access groups from all subcategoriesExample: Suppose Access Group Y is a child of Access Group X

Category A Category B Category C

Catalog A

• Product 4• Product 5

Subcategory A

Subcategory A

Subcategory B• Literature Item 1

• Product 1• Product 2• Product 3• Literature Item 1

• Product 2• Literature Item 2

• Product 3• Product 6

… removes Access Group Y from Subcategory A

Removing Access Group X from Category B…

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 182: Siebel 8.0 Essentials

Catalogs and Master Data 7.16

Siebel 8.0 Essentials

16 of 26Copyright © 2007, Oracle. All rights reserved.

Building a Catalog0/6

1. Create the Catalog

2. Add Categories to the Catalog

3. Associate Master Data with Categories

4. Declare Catalogs or Categories Private

5. Create Access Groups

6. Assign Access Groups

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 183: Siebel 8.0 Essentials

Catalogs and Master Data 7.17

Siebel 8.0 Essentials

17 of 26Copyright © 2007, Oracle. All rights reserved.

1. Create the Catalog

Navigate to Administration – Catalog > CatalogsCreate a new catalog

Specify a nameSpecify a catalog typeSpecify other options

1/6

By default, the catalog is active; mark it as inactive to

make it unavailable, for example, during updates

Specify sequence numbers to change the order in which

catalogs appear

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 184: Siebel 8.0 Essentials

Catalogs and Master Data 7.18

Siebel 8.0 Essentials

18 of 26Copyright © 2007, Oracle. All rights reserved.

2. Add Categories to the Catalog

Drill down on the catalog name in the Catalog view to navigate to the Categories viewAdd categories to the catalog

2/6

Use buttons to promote and

demote subcategories

Drill down on a catalog to see its categories

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 185: Siebel 8.0 Essentials

Catalogs and Master Data 7.19

Siebel 8.0 Essentials

19 of 26Copyright © 2007, Oracle. All rights reserved.

3. Associate Master Data with Categories

Select the appropriate tab in the Categories view to add master data to a category

3/6

For example, select the

Literature tab to add product

literature

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 186: Siebel 8.0 Essentials

Catalogs and Master Data 7.20

Siebel 8.0 Essentials

20 of 26Copyright © 2007, Oracle. All rights reserved.

4. Declare Catalogs or Categories Private

Set the Private flag at the catalog or category level to restrict data access

Subcategories are automatically marked as private

4/6

Marking the Gold category as private

automatically causes the Premium and Regular

Customers categories to be marked as Private

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 187: Siebel 8.0 Essentials

Catalogs and Master Data 7.21

Siebel 8.0 Essentials

21 of 26Copyright © 2007, Oracle. All rights reserved.

5. Create Access Groups

Navigate to Administration – Group > Access GroupsCreate the access group hierarchy as required

Create parents, then childrenSpecify parents for child records

5/6

Specify the parent access group when creating the child access group; this

requires creating the parent first

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 188: Siebel 8.0 Essentials

Catalogs and Master Data 7.22

Siebel 8.0 Essentials

22 of 26Copyright © 2007, Oracle. All rights reserved.

5. Create Access Groups Continued

Add positions, organizations, or user lists to access groups

5/6

Click New to add parties to an access group

Group type can be Position, Organization, User List, or Household

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 189: Siebel 8.0 Essentials

Catalogs and Master Data 7.23

Siebel 8.0 Essentials

23 of 26Copyright © 2007, Oracle. All rights reserved.

6. Assign Access Groups

Assign access groups to catalogs or categoriesUse the Cascade button to automatically assign an access group to all child categories

6/6

Add access groups using the Access Group tab under

Categories or Catalogs Select an Access Group and click Cascade to assign that access

group to all child categories

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 190: Siebel 8.0 Essentials

Catalogs and Master Data 7.24

Siebel 8.0 Essentials

24 of 26Copyright © 2007, Oracle. All rights reserved.

Access Control Summary

ViewsDetermined by Responsibility

Master DataDetermined by

Access GroupsCatalogs &Categories

Examples:ProductsLiterature

Competitorsetc.

PositionsDetermined by

Position

Examples: Accounts

OpportunitiesContacts

Campaigns

Access ControlControls access to

Data

Customer Data

Master Data• Is static, read-only material to the end user• Is created and maintained by company

administrators• Access is controlled at the Catalog and

Category level

Customer Data• Is dynamic and transactional (can be updated)• Is created and managed by users of the

application• Access is controlled at the record level

Personal OwnershipDetermined by

UserID

Examples: Service RequestsProduct Defects

Activities

OrganizationsDetermined by Organization

Examples: Accounts

OpportunitiesContacts

Campaigns

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 191: Siebel 8.0 Essentials

Catalogs and Master Data 7.25

Siebel 8.0 Essentials

25 of 26Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Master data is static, referential data such as product catalogsor product documentationCatalogs are containers for categories

Mark catalogs as private to restrict access to specific access groups

Categories contain master dataArranged in a hierarchy within the catalogMark categories as private to restrict access to specific accessgroups

7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 192: Siebel 8.0 Essentials

Catalogs and Master Data 7.26

Siebel 8.0 Essentials

26 of 26Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Navigate catalogs, categories, and access groupsRestrict access to master data contained in categories

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 193: Siebel 8.0 Essentials

The Siebel Web Architecture 8.1

Siebel 8.0 Essentials

8Copyright © 2007, Oracle. All rights reserved.

Module 8: The Siebel Web Architecture

Siebel 8.0 Essentials

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 194: Siebel 8.0 Essentials

The Siebel Web Architecture 8.2

Siebel 8.0 Essentials

2 of 20Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Identify the pieces that make up the Siebel Web architectureIdentify the role of each piece of the architectureDescribe how Siebel requests are processed

Why you need to know:Provides a foundation for understanding the relationship betweenthe Siebel software components

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 195: Siebel 8.0 Essentials

The Siebel Web Architecture 8.3

Siebel 8.0 Essentials

3 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel Web Architecture Overview

At a high level, the Siebel Web architecture consists of:Siebel Web Clients that access and display the business dataA Gateway Name Server that stores configuration informationA Web server that handles interactions with the Web Clients and distributes requests to the Siebel ServersServers that manage the business data and provide batch and interactive services for clientsA relational database and file system that store business data

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

Siebel Deployment Planning Guide: Siebel Architecture OverviewReference

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 196: Siebel 8.0 Essentials

The Siebel Web Architecture 8.4

Siebel 8.0 Essentials

4 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel Web Client

Displays the interactive Siebel application used to manage the Siebel dataRuns in a variety of environments

Web browsers, Wireless Markup Language (WML) devices such as mobile phones, and personal digital assistants (PDAs)

Siebel Web Client

Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 197: Siebel 8.0 Essentials

The Siebel Web Architecture 8.5

Siebel 8.0 Essentials

5 of 20Copyright © 2007, Oracle. All rights reserved.

Web Server

Identifies and passes Siebel requests from Siebel Web Clients to the Siebel ServersPasses completed HTML application pages back to Siebel Web ClientsProvides load balancing for multi-server installations

Supports either built-in or third-party load balancing

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 198: Siebel 8.0 Essentials

The Siebel Web Architecture 8.6

Siebel 8.0 Essentials

6 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel Gateway Name Server

Is a Windows service or UNIX daemon processStores component definitions and assignments, operational parameters, and connectivity information

For example, connect strings to query servers for server/component availabilityInformation stored in siebns.dat file on Gateway Name Server

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 199: Siebel 8.0 Essentials

The Siebel Web Architecture 8.7

Siebel 8.0 Essentials

7 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel Enterprise

Is a logical collection of Siebel Servers that support users andaccess a single database server and the Siebel file systemLogically groups Siebel Servers for common administration via Siebel Server Manager Supports sharing of common configuration information

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

In Siebel 8, the file system may be partitioned over multiple directories and machines.

File System Partitioning

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 200: Siebel 8.0 Essentials

The Siebel Web Architecture 8.8

Siebel 8.0 Essentials

8 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel Servers

Execute tasks to manage the business dataPrograms known as server components perform specific functions or jobs for the serverFor example:

Importing and exporting dataConfiguring the database to monitor for user-defined conditionsProcessing of client requests

Tasks may run interactively, in the background, or as batch jobs

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

Batch jobs run once, either when scheduled or when invoked by anadministrator, for example, to perform data imports or exports.

Batch Jobs

Background tasks always show as running and periodically perform system functions, such as invoking workflows or performing assignments.

Background Tasks

Interactive tasks wait for input from the user, such as the Siebel Web Client running Siebel Call Center.

Interactive Tasks

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 201: Siebel 8.0 Essentials

The Siebel Web Architecture 8.9

Siebel 8.0 Essentials

9 of 20Copyright © 2007, Oracle. All rights reserved.

Examples of Server Components

The application object manager (OM) is a server component that provides the environment in which Siebel user sessions run

Users interact with an application-specific OM; for example, the Siebel Call Center Object Manager (SCCObjMgr)Runs in interactive mode

The Workflow Monitor Agent periodically checks the system to determine whether workflows or assignments need to be run

Runs in background modeEnterprise Integration Manager performs data imports and exports

Runs in batch mode

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 202: Siebel 8.0 Essentials

The Siebel Web Architecture 8.10

Siebel 8.0 Essentials

10 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel File System

Is one or more shared directories that store files used by Siebel applications

Files are compressed in a proprietary format to save space and provide securityExamples: Product literature, sales tools, presentations, user profiles

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 203: Siebel 8.0 Essentials

The Siebel Web Architecture 8.11

Siebel 8.0 Essentials

11 of 20Copyright © 2007, Oracle. All rights reserved.

Database Server

Stores data used by Siebel applications in a predefined database schema

Single database for Enterprise provides data consistency for usersData is accessed by components through a data manager layer

Supports a variety of third-party relational database management systems (RDBMS)

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

See the Siebel System Requirements and Supported Platforms document for a list of supported RDBMSs.

Supported RDBMSes

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 204: Siebel 8.0 Essentials

The Siebel Web Architecture 8.12

Siebel 8.0 Essentials

12 of 20Copyright © 2007, Oracle. All rights reserved.

Web Usage Login Scenario

Siebel Web Client (browser) sends the URL to the Web serverURL specifies:

Either HTTP or HTTPS protocolWeb server machine nameApplication and language

URL initially connects to a Siebel-specific virtual directory on the Web server

Virtual directories are created as part of the Siebel installation

1. Browser sends URL to Web server

Siebel Web Client <browser>

Web Server

<websrvr1>

Virtual Directory [/callcenter_enu]

http://websrvr1/callcenter_enu

2. Connects to the virtual directory on the specified Web server

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 205: Siebel 8.0 Essentials

The Siebel Web Architecture 8.13

Siebel 8.0 Essentials

13 of 20Copyright © 2007, Oracle. All rights reserved.

Web Server

<websrvr1>

Virtual Directory [/callcenter_enu] SWSE Eapps.cfg

Web Usage Login Scenario Continued

Virtual directory forwards request to the Siebel Web Server Extension (SWSE) installed on the Web serverSWSE uses the eapps.cfg configuration file to obtain connection parameters

4. SWSE locates the requested section in eapps.cfg

Siebel Web Client <browser> 3. Virtual directory

specifies to use SWSE

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 206: Siebel 8.0 Essentials

The Siebel Web Architecture 8.14

Siebel 8.0 Essentials

14 of 20Copyright © 2007, Oracle. All rights reserved.

Web Usage Login Scenario Continued

Siebel Server <EMEJHG20>

Enterprise – <Siebel>

Web Server

<websrvr>

Eapps.cfg specifies the location of the server, server connection broker port, Enterprise, and Object Manager information for initial connection

For multi-server installations provides load balancing informationAlso provides generic login information for initial “anonymous” access to database

5. eapps.cfg specifies connect string values

Object ManagerSCCObjMgr_enu

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 207: Siebel 8.0 Essentials

The Siebel Web Architecture 8.15

Siebel 8.0 Essentials

15 of 20Copyright © 2007, Oracle. All rights reserved.

Web Usage Login Scenario Continued

Object Manager reads an application-specific configuration file and component parameters, which specify the application, the location of the Siebel Repository File (SRF), and so forth

Siebel Repository File is a separate binary file that defines one or more Siebel applications

Discussed in greater detail in subsequent modulesMost configuration information is specified by component parameters rather than in the configuration file

Siebel Server

Enterprise <Siebel>

Database Server

Database Server

Object ManagerSCCObjMgr_enu

CFG SRF

Siebel Gateway Name Server

6. Object Manager reads CFG file on server and

component parameters from Gateway Name Server

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 208: Siebel 8.0 Essentials

The Siebel Web Architecture 8.16

Siebel 8.0 Essentials

16 of 20Copyright © 2007, Oracle. All rights reserved.

Web Usage Login Scenario Continued

Object Manager retrieves data through data managerThe Siebel Web Engine (SWE), part of the Object Manager, reads a set of Web templates that are stored on the Siebel Server and creates HTML pages for the data requested

Siebel Web Templates (SWT) are a set of template files that specify how to render the UI in the user’s browser

HTML files with embedded Siebel tags defining content

Siebel Server

Object Manager

SWE

SWT

Database Server

Database Server

8. SWE reads Web Templates

and creates HTML pages

Enterprise <Siebel>

CFG SRF

HTML login page

7. OM retrieves data through data manager layer

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 209: Siebel 8.0 Essentials

The Siebel Web Architecture 8.17

Siebel 8.0 Essentials

17 of 20Copyright © 2007, Oracle. All rights reserved.

Web Server

<websrvr1>

Web Usage Login Scenario Continued

Siebel Server <SS1>

Enterprise – <Siebel>

Object ManagerSCCObjMgr_enu

HTML login page

Siebel Call Center

The Object Manager sends the completed Web page to the Web server, which passes it back to the Siebel Web Client

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 210: Siebel 8.0 Essentials

The Siebel Web Architecture 8.18

Siebel 8.0 Essentials

18 of 20Copyright © 2007, Oracle. All rights reserved.

Physical Architecture

The Siebel Gateway Name Server, Siebel Server, database server, and File System can be implemented on one machine or spread across multiple machines

SWSE can be on that machine for development or test environments

The Siebel Server(s) should have a high-speed LAN connection to the database server

Siebel Gateway Name Server

Enterprise Server

FirewallFirewall

High-speed LAN

Web ServerSWSE Siebel Server

Siebel File System

Database Server

Siebel Server

For development or test environments (such as we use in this classroom), it is possible to bundle the entire application on a single machine.

For production environments, the recommended practice is to have the Database Server, SWSE, and Siebel Enterprise on separate machines.

Recommended Practice

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 211: Siebel 8.0 Essentials

The Siebel Web Architecture 8.19

Siebel 8.0 Essentials

19 of 20Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A Siebel Web Client displays the Siebel application in a standard Web browserA Siebel Web Server is a third-party Web server with the Siebel Web Server Extension (SWSE) installed and the Siebel application virtual directories createdA Siebel Gateway Name Server stores parameters and connection information for Siebel ServersA Siebel Enterprise is a logical collection of Siebel ServersA Siebel Server is a set of processes that manage processing forall Siebel clients

8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 212: Siebel 8.0 Essentials

The Siebel Web Architecture 8.20

Siebel 8.0 Essentials

20 of 20Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Examine the virtual directories and eapps.cfgVerify the information contained in the files against information retrieved from the application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 213: Siebel 8.0 Essentials

Server Components and Parameters 9.1

Siebel 8.0 Essentials

9Copyright © 2007, Oracle. All rights reserved.

Module 9: Server Components and Parameters

Siebel 8.0 Essentials

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 214: Siebel 8.0 Essentials

Server Components and Parameters 9.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Define component groupsDefine componentsDescribe parameters as inputs for componentsDescribe the various levels at which you can set parameters and how to set themDescribe named subsystems and job templates

Why you need to know:Server behavior is controlled by components and parameters, hence an understanding of how to find and configure them is essential

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 215: Siebel 8.0 Essentials

Server Components and Parameters 9.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Review: Siebel Web Architecture

The Siebel Web architecture consists of a Web Client, Web server, Gateway Name Server, and Enterprise containing one or more Siebel Servers

Each Siebel Server includes its own set of components: programs that run on the server to provide application functionality

Siebel Web Client Web ServerSiebel Gateway

Name Server

Database Server

Enterprise

Siebel File System

Siebel Server(s)

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 216: Siebel 8.0 Essentials

Server Components and Parameters 9.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Examining the Siebel Enterprise

View the Siebel Enterprise hierarchy using the Enterprise Explorer View of the Server Administration – Configuration screen

1. This Siebel Enterprise is named Siebel

2. The first server listed in the enterprise is

OUsrvr

3. OUsrvr has these components available

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 217: Siebel 8.0 Essentials

Server Components and Parameters 9.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Component Groups

Are logical groupings of componentsComponents are enabled or disabled in groups

Support major functional areas of the applicationFor example, Siebel Call Center, Siebel Remote, or Assignment Management

The Enterprise Explorer lists the available component groups

The detail pane provides additional information such as the number of components in each group

Siebel System Administration GuideReference

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 218: Siebel 8.0 Essentials

Server Components and Parameters 9.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Enabling and Assigning Component Groups0/3

1. Enable the Component Group for the Enterprise

2. Assign the Component Group to the Server

3. Enable the Component Group on the Server

There are three steps to enable a component group on a server:

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 219: Siebel 8.0 Essentials

Server Components and Parameters 9.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

1. Enable the Component Group for the Enterprise

Click the Enable or Disable buttons in the detail pane of the Enterprise Explorer to enable or disable component groups

By default, most component groups are enabled for the enterpriseComponents within disabled component groups are not available on any of the servers in the enterprise

Best Practice: Disable component groups which will never be used on any server

Enabled component groups take a small amount of resources on the Siebel Gateway Name Server

1/3

Click the appropriate button to Enable or Disable a component group for the enterprise

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 220: Siebel 8.0 Essentials

Server Components and Parameters 9.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

2. Assign the Component Group to the Server

In Administration – Server Configuration > Enterprises, select the component group and server and click Assign

Stores component group information on the Siebel Gateway Name ServerAllocates memory for the component group on the Siebel Gateway Name Server

2/3

3. Click Assign2. Select server

1. Select component group to assign

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 221: Siebel 8.0 Essentials

Server Components and Parameters 9.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

3. Enable the Component Group on the Server

Once you have assigned a component group to a server, enable or disable it on the server

By default, assigning a component group automatically enables itBest practice: Assign and disable component groups that you are not using now but may use in the future on that serverSelect the desired server and click the Enable or Disable button

Enabling allocates memory on the server for that component groupThe component group is now available to the server

3/3

Click Enable to enable the selected component group on the selected server

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 222: Siebel 8.0 Essentials

Server Components and Parameters 9.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Synchronize Components

Synchronize components after enabling or disabling a component group that includes batch components

Registers batch components with the Siebel Gateway Name ServerMakes these components available to the Siebel Enterprise

Also possible to synchronize individual components

Synchronize every time a component group is enabled

Prior to initial synchronization, no components are available to run batch jobs

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 223: Siebel 8.0 Essentials

Server Components and Parameters 9.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Manage Individual Components

Specify startup behavior for individual components Auto Start: The component automatically starts up when the Siebel Server service startsManual Start: The component must be started manually

Prevents component from consuming memory or processor time until it is needed

Click Manual Start under Administration – Server Configuration > Servers to set

the component to manual startup

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 224: Siebel 8.0 Essentials

Server Components and Parameters 9.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Executing Components

When a component executes, it is called a taskMultiple instances of the same component may run simultaneously

Components execute in one of three modes:Batch components run once until completion

Batch component executions are also called jobsUsually initiated by user action, event, or workflowFor example, data loads or database extracts

Background components run continuously in the backgroundPeriodically “wake up” and executeFor example, transaction processor for tracking changes to the database

Interactive components run in response to client requestsFor example, application object managers

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 225: Siebel 8.0 Essentials

Server Components and Parameters 9.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

Component Parameters

Are input arguments for tasksAre set at one of five levels:

Enterprise parameters are set throughout the enterpriseServer parameters are set at the individual server levelComponent Definition parameters are specific to a component, but enterprise-wideServer Component parameters allow a server to override a component definitionTask parameters are for an individual component when it is run

Component Definition

parameters

Server Component parameters

Server parameters

Enterprise parameters

Not shown: Task parameters are set when starting tasks, hence do not appear in the

Enterprise Explorer

The language code, ODBC data source name, and communication parameters are enterprise parameters.

The location of the server log file is a server parameter.

The sleep time for a background component that runs periodically is a component definition parameter.

Change the server component parameter to change that sleep time for one particular server.

The user ID of a mobile user to extract is a task parameter.

Examples

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 226: Siebel 8.0 Essentials

Server Components and Parameters 9.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Hidden and Advanced Parameters

More advanced parameters are classified as hidden or advancedClick the appropriate button to see these parametersClick the Reset button to return to the normal set of parameters

Click Advanced or Hidden to see advanced

or hidden parameters

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 227: Siebel 8.0 Essentials

Server Components and Parameters 9.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Component Definitions

Are sets of parameters associated with a component to determine its behavior when it is run

Set enterprise-wide, so that the component performs the same no matter which server it is run on

Reconfigure definitions to modify component behaviorDuplicate definitions to create new component definitions

Creates a duplicate component with a new name and a different set of input parameters

Modify parameters or duplicate a

definition to create a new component

with different set of parameters

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 228: Siebel 8.0 Essentials

Server Components and Parameters 9.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

Parameter Inheritance

Parameters are set at any of five levels Parameters set at any level are inherited at all lower levels

For example, parameters set at the enterprise level are inherited for the levels below it

Parameters set at any level override parameters set at a higher level

For example, parameters set when starting a task override those set at higher levels

ServerServer

EnterpriseEnterprise

Component DefinitionComponent Definition

TaskTask

Server ComponentServer Component

Highest level

Lowest level

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 229: Siebel 8.0 Essentials

Server Components and Parameters 9.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

Removing Parameters

Do not attempt to delete parameters by setting their value to zero or null

Causes zero or null value to be passed to componentUse Delete Parameter Override to remove parameter settings at a given level

Select Delete Parameter Override to remove parameter

values

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 230: Siebel 8.0 Essentials

Server Components and Parameters 9.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Profiles

Are sets of parameters that may be used by multiple components

Also referred to as “named subsystems”Are edited to modify behavior of multiple components

For example, the set of parameters used to send email alerts to administrators is used by multiple components

Modify the profile parameters to change the behavior of all components using this profile

Parameters set in Profiles override those set at the Enterprise, Server, or Server Component level.

Profiles and Parameters

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 231: Siebel 8.0 Essentials

Server Components and Parameters 9.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Job Templates

Job templates are predefined sets of parameters for use with batch components

Recall: When a batch component is executed it is called a “job”Multiple job templates can exist for the same component

For example, weekly assignments versus daily assignmentsBoth assignment jobs run the same component; only the set of input parameters is different

Unlike profiles, job templates are specific to a single component

For example, a job template containing parameters for a weekly batch assignment job

This job template is specific to the Assignment

Manager component

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 232: Siebel 8.0 Essentials

Server Components and Parameters 9.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Job Templates Continued

Create job templates by specifying the batch component to be used and entering the job-specific parameters

Located under Administration – Server Configuration > Job Templates

1. Click New to create a new template

2. Select the component

3. Click New to create a new parameter; a select applet lists parameters

for that component4. Set parameter values

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 233: Siebel 8.0 Essentials

Server Components and Parameters 9.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Component Groups are logical groupings of server componentsEnable component groups on the enterprise, assign them to a server, and enable them on that serverSet individual components to automatic or manual start upSet component parameters at one of five levels: Enterprise, Server, Component Definition, Server Component, or Task

Parameter values are inherited from higher levelsUse Delete Parameter Override to restore inheritance

Profiles are sets of parameters used by multiple componentsAlso known as “named subsystems”

Job templates are sets of parameters used to execute batch components

9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 234: Siebel 8.0 Essentials

Server Components and Parameters 9.22

Siebel 8.0 Essentials

22 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Use the Enterprise Explorer to examine component groups, components, and parametersExamine parameter inheritanceEnable a component group on a server

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 235: Siebel 8.0 Essentials

Server Management 10.1

Siebel 8.0 Essentials

10Copyright © 2007, Oracle. All rights reserved.

Module 10: Server Management

Siebel 8.0 Essentials

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 236: Siebel 8.0 Essentials

Server Management 10.2

Siebel 8.0 Essentials

2 of 26Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Monitor the state of the enterprise, and individual servers and components within that enterprisePerform routine administrative tasks on the enterprise, including:

Managing componentsBacking up and restoring the enterpriseSetting logging optionsSubmitting jobs

Why you need to know:These administrative tasks must frequently be performed while configuring and testing a deployment

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 237: Siebel 8.0 Essentials

Server Management 10.3

Siebel 8.0 Essentials

3 of 26Copyright © 2007, Oracle. All rights reserved.

Server Administration

Once components have been enabled and their parameters have been defined, perform common administration tasks:

Monitor the system Change component parameters or component states, preferably without shutting down the serverBack up the system after making these changesSubmit batch jobs for processing

Perform these tasks using the Administration – Server Management screen

A command-line interface is also availableUseful for using scripts to interact with the enterprise

Siebel System Administration Guide: Using the Siebel Server Manager Command-Line Interface

Reference

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 238: Siebel 8.0 Essentials

Server Management 10.4

Siebel 8.0 Essentials

4 of 26Copyright © 2007, Oracle. All rights reserved.

Server Groups

Add servers to a Server Group using the command-line tool:change attribute groupname=<group name> for server <server name>

Connect to all servers in the group simultaneously:srvrmgr /g <gateway> /e enterprise /z <group name> /u <user> /p <password>

Performing groupwide manipulations such as changing parameters:change parameter NotifyHandler=newHandler

Changes the parameter for all servers in the server group

Adding a server to a server group allows you

to manipulate all servers in that group

simultaneously from the command line interface

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 239: Siebel 8.0 Essentials

Server Management 10.5

Siebel 8.0 Essentials

5 of 26Copyright © 2007, Oracle. All rights reserved.

Monitor the Enterprise

Monitor the enterprise from the Administration – Server Management screen

Provides status icons for servers, components, jobs, tasks, sessions, and the enterprise

Administration – Server Management > Enterprises shows the states of servers

and their components within the enterprise

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 240: Siebel 8.0 Essentials

Server Management 10.6

Siebel 8.0 Essentials

6 of 26Copyright © 2007, Oracle. All rights reserved.

Monitor Sessions

Use the Session Monitor to monitor users logged in and their current activity

Sessions are tasks running the associated Object ManagerNavigate to Administration – Server Management > Sessions

MWEST is currently logged in to Call Center (SCCObjMgr_enu) and is looking at the Account List Applet

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 241: Siebel 8.0 Essentials

Server Management 10.7

Siebel 8.0 Essentials

7 of 26Copyright © 2007, Oracle. All rights reserved.

Manage Component States

Manage components across the entire enterprise from the Administration – Server Management > Components screenManage components on a particular server from the Administration – Server Management > Servers screenIn either case, components may be paused, resumed, started up, or shut down

Current component state in the enterprise

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 242: Siebel 8.0 Essentials

Server Management 10.8

Siebel 8.0 Essentials

8 of 26Copyright © 2007, Oracle. All rights reserved.

Component States

Running: The component is available and at least one component task is currently runningOnline: The component is available but no component tasks are currently runningUnavailable: The component is unavailable and no component tasks are runningPaused: The component is online but is not accepting new tasksShutting Down: The server is shutting down; currently-running tasks will execute to completion, but no new tasks can be runShutdown: The server component is shut down

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 243: Siebel 8.0 Essentials

Server Management 10.9

Siebel 8.0 Essentials

9 of 26Copyright © 2007, Oracle. All rights reserved.

Change Component Parameters

Change component parameters by changing the Value or Value on RestartExamine the Effective setting to see when the parameter change will become effective

Effective setting indicates when

parameter change will become effective

The component must be reconfigured to change the parameter. This is common for parameters that work with or are dependent on other parameters.

Require Reconfiguration

The parameter change does not take effect until the Siebel Server is restarted.

At Server Re-Start

The parameter change does not take effect until the component is stopped and restarted.

At Component Re-Start

The parameter change is effective for all new tasks running that component; currently-running tasks execute with the old parameter.

At Next Task

The parameter change is effective immediately.Immediately

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 244: Siebel 8.0 Essentials

Server Management 10.10

Siebel 8.0 Essentials

10 of 26Copyright © 2007, Oracle. All rights reserved.

Reconfigure Component Definitions

Modifies component parameters without shutting down the server(s)

Useful during site migrations or application updatesUseful when changing multiple parameters and changes should all be performed at once

For example, when changing both a user name and a password parameter, changing one at a time would lead to authentication issues

During reconfiguration:Tasks started before and during reconfiguration continue to run with the old parametersTasks started after the reconfiguration is committed run with the new parameters

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 245: Siebel 8.0 Essentials

Server Management 10.11

Siebel 8.0 Essentials

11 of 26Copyright © 2007, Oracle. All rights reserved.

Reconfigure Component Definitions

From the Administration –Server Configuration > Enterprises screenStart Reconfiguration:

Opens existing component parameters for modification

Commit Reconfiguration:Commits the updated Component DefinitionAll tasks started after the commit run with the new parameters

Cancel Reconfiguration:Cancels the current reconfiguration; component definition remains unaltered

Reconfigure Component Definitions Continued

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 246: Siebel 8.0 Essentials

Server Management 10.12

Siebel 8.0 Essentials

12 of 26Copyright © 2007, Oracle. All rights reserved.

Back Up the Enterprise

Recommended practice: Back up the enterprise after making any configuration changes such as modifying component parameters

Creates a backup copy of siebns.datsiebns.dat stores information about components, parameters, and servers

May also be used for backup or migration purposesDo not try to manually duplicate this file

File is in use as long as Siebel Gateway Name Server is running

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 247: Siebel 8.0 Essentials

Server Management 10.13

Siebel 8.0 Essentials

13 of 26Copyright © 2007, Oracle. All rights reserved.

Restore the Enterprise

Restore a previous enterprise configuration with these steps:1. Shut down the Siebel Gateway Name Server and the Siebel

Server2. Replace the existing siebns.dat file with a working backup3. Start the Siebel Gateway Name Server and the Siebel

Server

2. Restore a backup of siebns.datto <siebeldir>\gtwysrvr\ADMIN

1. For Windows, right-click each service and select Stop

3. Right-click each service and select Start

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 248: Siebel 8.0 Essentials

Server Management 10.14

Siebel 8.0 Essentials

14 of 26Copyright © 2007, Oracle. All rights reserved.

Server Event Logging

Monitor server events by setting their log levelsNavigate to Administration - Server Configuration > Servers > Server Event Configuration

Set the log level for each Siebel Server event of interest

Select the Siebel Server for which you want to log events

Select the event type you want tolog and enter a logging level from 0 to 5 in the Log Level field

Siebel System Monitoring and Diagnostics GuideReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 249: Siebel 8.0 Essentials

Server Management 10.15

Siebel 8.0 Essentials

15 of 26Copyright © 2007, Oracle. All rights reserved.

Log Levels

There are six available logging levels for server events:0: Fatal1: Errors2: Warnings3: Informational4: Details5: Diagnostic

Higher log levels generate larger log files and may affect system performance, hence the recommended practice is to only use these levels when troubleshooting

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 250: Siebel 8.0 Essentials

Server Management 10.16

Siebel 8.0 Essentials

16 of 26Copyright © 2007, Oracle. All rights reserved.

Component Event Logging

Use the Component Event Configuration view to set the log level of component event types

Select the event type you want tolog and enter a

logging level in the Log Level field

Select the component for

which you want to log events

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 251: Siebel 8.0 Essentials

Server Management 10.17

Siebel 8.0 Essentials

17 of 26Copyright © 2007, Oracle. All rights reserved.

Examine Logs

Each task creates a log of its execution

Drill down on the task number …

… to view the Task Information Log

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 252: Siebel 8.0 Essentials

Server Management 10.18

Siebel 8.0 Essentials

18 of 26Copyright © 2007, Oracle. All rights reserved.

Examine Log Files

View the log file on the Siebel ServerView the log file on the Siebel Server

3. Examine the file

1. Note the task number

2. Locate the log file in the <Siebel>\siebsrvr\log

directory

Whenever the Siebel Server service is restarted, the log files are moved from the log directory to the logarchive directory.

Log File Archiving

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 253: Siebel 8.0 Essentials

Server Management 10.19

Siebel 8.0 Essentials

19 of 26Copyright © 2007, Oracle. All rights reserved.

System alerts collect information about the failure of tasks or unavailability of components, and send email alerts to administratorsExamples:

A component fails to restartCritical system throughput thresholds are achieved

Create additional alerts to notify additional individuals or to handle different types of alerts

System Alerts

2. Define new system alerts and alert parameters to notify additional individuals

or to handle different types of alerts

1. Select System Alerts in Enterprise Explorer

The AdminNotify component must be enabled in order for system alerts to be processed. This component is part of the Auxiliary System Management component group and is enabled by default.

Required Component

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 254: Siebel 8.0 Essentials

Server Management 10.20

Siebel 8.0 Essentials

20 of 26Copyright © 2007, Oracle. All rights reserved.

Using System Alerts

To configure a component to use these system alerts:Navigate to Administration – Server Configuration > Servers > ComponentsSelect the component of interestSpecify the notification handler for that component

One of the system alert profiles previously created

Notification handler is a

parameter for every component

that specifies which system alert to use

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 255: Siebel 8.0 Essentials

Server Management 10.21

Siebel 8.0 Essentials

21 of 26Copyright © 2007, Oracle. All rights reserved.

Submit Batch Jobs

Navigate to Administration – Server Management > JobsCreate a new job or copy an existing job

Job templates as well as components are listed for new jobs

Both job templates and batch components are listed in the pick applet

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 256: Siebel 8.0 Essentials

Server Management 10.22

Siebel 8.0 Essentials

22 of 26Copyright © 2007, Oracle. All rights reserved.

Submit Batch Jobs Continued

Specify job parametersOptionally, schedule the job to repeat at regular intervals or to run on a preferred server if it is availableSubmit the job

Jobs can be set to repeat periodically or to have a

preferred server on which to run

Specific parameters depend on the job you

are submittingCreate and define job parameters

Submit the job once all options have been set

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 257: Siebel 8.0 Essentials

Server Management 10.23

Siebel 8.0 Essentials

23 of 26Copyright © 2007, Oracle. All rights reserved.

Manage Batch Jobs

Cancel, pause (hold), or resume jobs from the Administration –Server Management > Jobs screen

Monitor the progress of the job from the Administration – Server Management > Tasks screen

Batch job appears as a task in the tasks list

Cancel, hold, or resume jobs

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 258: Siebel 8.0 Essentials

Server Management 10.24

Siebel 8.0 Essentials

24 of 26Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Monitor the state of the enterprise, servers, components, tasks,jobs, and sessions from the Administration - Server Management screenChange component parameters

May require reconfiguring component definitionsBack up the enterprise after changing configurationsSet logging options and system alerts to monitor the systemSubmit and monitor batch jobs

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 259: Siebel 8.0 Essentials

Server Management 10.25

Siebel 8.0 Essentials

25 of 26Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Perform common administration tasks

10

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 260: Siebel 8.0 Essentials

Server Management 10.26

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 261: Siebel 8.0 Essentials

Siebel Client Types 11.1

Siebel 8.0 Essentials

11Copyright © 2007, Oracle. All rights reserved.

Module 11: Siebel Client Types

Siebel 8.0 Essentials

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 262: Siebel 8.0 Essentials

Siebel Client Types 11.2

Siebel 8.0 Essentials

2 of 18Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Identify the various Siebel clientsDescribe files associated with each client, including configuration files and local databasesDescribe how each client accesses Siebel servers and data

Why you need to know:Not all users will be able to use the Siebel Web Client at all times, hence understanding other client types is essential

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 263: Siebel 8.0 Essentials

Siebel Client Types 11.3

Siebel 8.0 Essentials

3 of 18Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Not all Siebel application users have access to the Web at all times

Some users spend a great deal of time travelingSales representativesExecutivesInstructors

Other users may want to access the application using their mobile phones or Personal Digital Assistants (PDAs)Developers may need to access Siebel data when a Siebel Server or even the entire enterprise is down

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 264: Siebel 8.0 Essentials

Siebel Client Types 11.4

Siebel 8.0 Essentials

4 of 18Copyright © 2007, Oracle. All rights reserved.

Business Solution

Oracle provides five client types for use with the Siebel application:

Siebel Web ClientSiebel Wireless Web ClientSiebel Mobile Web ClientSiebel Handheld ClientSiebel Developer Web Client

Siebel System Administration GuideSiebel Wireless Administration GuideSiebel Remote and Replication Manager Administration GuideSiebel Sales Handheld Guide

References

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 265: Siebel 8.0 Essentials

Siebel Client Types 11.5

Siebel 8.0 Essentials

5 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Web Client Scenario

Wayne is an employee working from home, and connected to his company’s network. He would like to frequently and quickly view and update the activities of his assigned accounts. Since his computer has a browser, but no Siebel software, he types the appropriate URL to access the account data.

Wayne is using the Siebel Web Client

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 266: Siebel 8.0 Essentials

Siebel Client Types 11.6

Siebel 8.0 Essentials

6 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Web Client

Is a “near zero footprint” clientUses only a Web browser and a network connectionFor High Interactivity (HI) clients, includes ActiveX controls so not truly zero-footprint in HI mode

Accesses Siebel Servers through the Web Server running the Siebel Web Server Extension (SWSE) Accesses Siebel data through an Application Object Manager (OM)

Siebel Web Client Web ServerSiebel Gateway

Name ServerEnterpriseSiebel File

System Siebel Server

SWSEBrowser

Object ManagerObject Manager CFG SRF

Component Parameters

Database Server

The Standard Interactivity (SI) client supports most Web browsers. Because the High Interactivity client requires ActiveX controls, it requires Internet Explorer. For details see the System Requirements and Supported Platforms Guide.

Supported Browsers

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 267: Siebel 8.0 Essentials

Siebel Client Types 11.7

Siebel 8.0 Essentials

7 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Wireless Web Client Scenario

Wendy is a salesperson. She has a meeting set up with one of heropportunities. Since she is running late, Wendy uses her Web-enabled phone to retrieve the meeting information from the Siebel database. As an outcome of the meeting, she updates the sales stage of the opportunity.

Wendy is using the Wireless Web Client

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 268: Siebel 8.0 Essentials

Siebel Client Types 11.8

Siebel 8.0 Essentials

8 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Wireless Web Client

Allows users to read from, write to, and search the Siebel database through a wireless connection between a mobile device and the Siebel Web Server

Requires a wireless gateway to translate HTTP data generated by Siebel Wireless to Wireless Application Protocol (WAP)

Uses the same logical data model as the Siebel Web ClientSame business objects, business components, and so forth

Uses wireless-specific applets, screens, and viewsDetermined by the Wireless Object Manager

Siebel Wireless Web Client

Web ServerSiebel Gateway

Name ServerEnterpriseSiebel File

System Siebel Server

SWSE

Wireless Object ManagerWireless Object Manager CFG SRF

Component Parameters

Database Server

Wireless Gateway

For a list of supported Wireless Markup Languages, see the Siebel Wireless Administration Guide.

Supported Markup Languages

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 269: Siebel 8.0 Essentials

Siebel Client Types 11.9

Siebel 8.0 Essentials

9 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Mobile Web Client Scenario

Mary is a consultant. She is at the airport waiting for her flight and would like to access contact information for an active opportunity. Since she cannot access the server, she is retrieving this information from a local database on her laptop.

Mary is using the Mobile Web Client

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 270: Siebel 8.0 Essentials

Siebel Client Types 11.10

Siebel 8.0 Essentials

10 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Mobile Web Client

Is designed to provide full Siebel application functionality without requiring a network connection

A local executable providing full application functionality must be installed on the clientThis local executable accesses local .cfg and .srf files, and stores its data in a local database and Siebel File System

Directly connects to a designated Siebel Server for synchronization of data and files

Siebel Server

Synchronization Manager

Enterprise

Siebel File System

Database Server

Mobile Client

Object ManagerObject ManagerCFG SRF

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 271: Siebel 8.0 Essentials

Siebel Client Types 11.11

Siebel 8.0 Essentials

11 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Mobile Web Client Caveats

Many users mistake the Mobile Web Client for the Web ClientApplication functionality is almost the same, so users forget which is which

To determine which application is running, check the URLThe Mobile and Developer Web Clients have a port number in the URL, and no application nameThe Web Client usually does not have a port number in the URL, and includes the application name

Mobile Web Client URL has a port number and no application name

Web Client URL has no port number and includes the application name

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 272: Siebel 8.0 Essentials

Siebel Client Types 11.12

Siebel 8.0 Essentials

12 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Handheld Client

Architecture is similar to the Siebel Mobile Web Client:The handheld client includes local database, file system, and configuration filesThe handheld client synchronizes with a specific Siebel server

Architecture is not identical to Siebel Mobile Web Client:Only runs on Windows-based mobile devicesSupports a focused subset of application functionality

Screens, views, and applets customized for Siebel HandheldApplications customized for Siebel Handheld

Siebel Server

Synchronization Manager

Enterprise

Handheld Client

Object ManagerObject ManagerCFG SRF

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 273: Siebel 8.0 Essentials

Siebel Client Types 11.13

Siebel 8.0 Essentials

13 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Developer Web Client Scenario

Dana is a system administrator. She has the client software installed locally because she requires access to the applicationeven when the servers are not available.

Dana is using the Siebel Developer Web Client

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 274: Siebel 8.0 Essentials

Siebel Client Types 11.14

Siebel 8.0 Essentials

14 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Developer Web Client

Is used by developers and system administrators for direct access to the Siebel database

Siebel servers do not have to be runningDoes not require a Web server

Is similar to the Siebel Mobile Web client in that:A local application must be installed on the clientLocal configuration files must be stored on the client

However, can access any Siebel database and file system, including a local one or the enterprise’s

CFG SRF

Siebel File System

Database Server

Enterprise

Siebel ServerServer Components

Dedicated Web Client

Object ManagerObject Manager

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 275: Siebel 8.0 Essentials

Siebel Client Types 11.15

Siebel 8.0 Essentials

15 of 18Copyright © 2007, Oracle. All rights reserved.

The Big Picture

The Siebel application supports a mixture of clients, depending on your users’ business requirements

Mobile/Handheld Client

Object ManagerObject Manager

Dedicated Web Client

Object ManagerObject Manager

Siebel Wireless Web Client

CFG

SRF

Siebel Web ClientBrowser

WirelessGateway

Web ServerSWSE

Enterprise

Siebel Server

Object ManagerObject ManagerComponent Parameters

Server Components

Siebel File System

Database Server

CFG

SRF

CFG SRF

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 276: Siebel 8.0 Essentials

Siebel Client Types 11.16

Siebel 8.0 Essentials

16 of 18Copyright © 2007, Oracle. All rights reserved.

Module Highlights

The Siebel Web Client accesses the Siebel Enterprise and Siebel Servers through a Web server running SWSE The Siebel Wireless Web Client connects to a WAP-enabled Web server, and is otherwise similar to the Siebel Web ClientThe Siebel Mobile Web Client is a local executable that connectsto a local database and provides full Siebel application functionalityThe Siebel Handheld Client is similar to the Siebel Mobile Web client, but runs on handheld devicesThe Siebel Developer Web Client is used by developers and system administrators for direct access to the Siebel database and for development and administrative changes

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 277: Siebel 8.0 Essentials

Siebel Client Types 11.17

Siebel 8.0 Essentials

17 of 18Copyright © 2007, Oracle. All rights reserved.

In-Class Discussion

Which client is best suited for:Disconnected remote users needing access to their dataA user with a cell phone needing access to his or her dataUsers needing frequent and fast access to their data (easily scalable and maintained)Server administrator needing access (to shut down a server component)

11

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 278: Siebel 8.0 Essentials

Siebel Client Types 11.18

Siebel 8.0 Essentials

18 of 18Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Answer questions about client typesUse the Developer and Mobile Web Clients

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 279: Siebel 8.0 Essentials

Securing Access to the Application 12.1

Siebel 8.0 Essentials

12Copyright © 2007, Oracle. All rights reserved.

Module 12: Securing Access to the Application

Siebel 8.0 Essentials12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 280: Siebel 8.0 Essentials

Securing Access to the Application 12.2

Siebel 8.0 Essentials

2 of 18Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the types of user authentication supported by Siebel applicationsExplain the role of the security adapterDescribe Single Sign On (SSO) security and how it differs from other authentication methods

Why you need to know:You must understand the security mechanisms in order to be able to implement them

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 281: Siebel 8.0 Essentials

Securing Access to the Application 12.3

Siebel 8.0 Essentials

3 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Application Security

Siebel applications are secured at several levels:Data visibility and view access should be restricted so users see only the appropriate views and data

Subject of previous moduleAccess to the application should be restricted to authorized users

Subject of this moduleCommunication between architecture components may need to be secured

Subject of subsequent module

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 282: Siebel 8.0 Essentials

Securing Access to the Application 12.4

Siebel 8.0 Essentials

4 of 18Copyright © 2007, Oracle. All rights reserved.

Authentication

Is the process of validating a user’s identity Verifies the identity of users before they gain access to a Siebel applicationTypically consists of collecting a set of user credentials such as user ID and password and comparing them to pre-stored values

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 283: Siebel 8.0 Essentials

Securing Access to the Application 12.5

Siebel 8.0 Essentials

5 of 18Copyright © 2007, Oracle. All rights reserved.

Supported Authentication Methods

Siebel applications support authentication by either the Siebel servers or the Web server:

Siebel security adapters are software programs that allow Siebelservers to authenticate usersSingle Sign On (SSO) allows the Web server to authenticate users

Siebel Web Server Extension performs authentication checkSecurity adapter is still involved in verifying the “trust token” passed to it by the Web server

Similar to an authentication certificate, a trust token is a software object confirming the identity of the sender. The trust token may contain additional information such as user identity or database login to be passed to the server.

Trust Token

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 284: Siebel 8.0 Essentials

Securing Access to the Application 12.6

Siebel 8.0 Essentials

6 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Security Adapters

A security adapter is a piece of software that connects to an authentication service

Implemented as part of the Application Object Manager (AOM)

Credentials

Siebel Object Manager

SWSE

Web Server

Browser

Security Adapter

Authentication Service

1. User provides

credentials in browser

3. Security adapter authenticates credentials using authentication service

2. Credentials are passed through Web server to AOM. Web server does

not check the credentials

An authentication service is a store of credentials (typically user IDs and passwords) plus a mechanism to compare user provided credentials against the stored credentials.

Authentication Service

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 285: Siebel 8.0 Essentials

Securing Access to the Application 12.7

Siebel 8.0 Essentials

7 of 18Copyright © 2007, Oracle. All rights reserved.

Authentication Services

Siebel applications support multiple authentication services:Database authenticationLightweight Database Authentication Protocol (LDAP)Active Directory Services Interface (ADSI)Custom authentication using the Siebel Security Adapter SoftwareDeveloper’s Kit (SSASDK)

Creating custom security adapters is beyond the scope of this courseRefer to the Siebel Security Adapter SDK in Bookshelf

Siebel Object Manager

Security Adapter

Authentication Service

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 286: Siebel 8.0 Essentials

Securing Access to the Application 12.8

Siebel 8.0 Essentials

8 of 18Copyright © 2007, Oracle. All rights reserved.

Credentials

Database Authentication

Users are authenticated against the underlying databaseThe database Security Adapter is the default for Siebel applications

Siebel Object Manager

SWSE

Web Server

Browser

Siebel Database

Connect using DB account

1. User provides

name and

password

2. Password may be hashed to prevent direct database access

3. Connect to database using user ID and (possibly hashed) password. RDBMS performs authentication

Security Adapter

Hash password

A hash function is an operation that generates a unique output value for each input, typically of a fixed length. This differs from encryption because the hash may lose information and is not reversible.

Password Hashing

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 287: Siebel 8.0 Essentials

Securing Access to the Application 12.9

Siebel 8.0 Essentials

9 of 18Copyright © 2007, Oracle. All rights reserved.

Database Authentication Considerations

Does not require additional infrastructure components such as directory serversUses a separate database login for each user

Requires ongoing support from a database administratorMay support account policies based on those of the RDBMS

Password expirationPassword syntaxAccount lockout

Supports minimal user self-managementUser cannot perform self-management without being granted direct access to the database server

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 288: Siebel 8.0 Essentials

Securing Access to the Application 12.10

Siebel 8.0 Essentials

10 of 18Copyright © 2007, Oracle. All rights reserved.

Directory Server Authentication

Users are authenticated against an external directory serviceThe directory service contains the user’s credentials and administrative information A single reserved database login is typically used for all usersCredentials

Siebel Object Manager

SWSE

Web Server

Browser

Connect using DB account

Security Adapter

Authentication Service

Login

Retrieve reserved DB

AccountDirectory

1. User provides

information

3. Connect to database

2. Verify credentials

Siebel Database

The default database login for directory server authentication is LDAPUSER.Default Login

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 289: Siebel 8.0 Essentials

Securing Access to the Application 12.11

Siebel 8.0 Essentials

11 of 18Copyright © 2007, Oracle. All rights reserved.

Directory Service Considerations

Reduces administrative overheadEliminates maintenance of a separate database login for each userAllows Web users to self-register and maintain login informationAllows automated creation of users from User Administration viewAllows external delegated administration of users

Allows credentials store to be shared across multiple applicationsMay support account policies based on those of the directory service

Password expirationPassword syntaxAccount lockout

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 290: Siebel 8.0 Essentials

Securing Access to the Application 12.12

Siebel 8.0 Essentials

12 of 18Copyright © 2007, Oracle. All rights reserved.

Single Sign OnWeb Server provides credentials to third-party serviceSecurity Adapter looks up and retrieves Siebel user ID, DB account based on identity key from external source

Authenticated User ID and Trust Token

Siebel Object Manager

SWSE

Web Server

Browser

Connect Using DB Account

Security Adapter

Authentication Service

Login

Directory

5. Connects to database

2. Verifies credentials

Siebel Database

User Credentials

1. User provides

information

3. Passes authenticateduser ID and trust token

Retrieves Siebel user ID

and DB account

4. Verifies trust token

and collects user ID

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 291: Siebel 8.0 Essentials

Securing Access to the Application 12.13

Siebel 8.0 Essentials

13 of 18Copyright © 2007, Oracle. All rights reserved.

Single Sign On Considerations

Allows users to access multiple applications without any furtherlogin

For example, Windows Integrated Authentication allows users to access Siebel applications directly once they have logged in to their Windows accounts

Uses credentials that are collected and verified by the Web server

Management of authentication can be performed from a single centralized location

Requires the use of a trust tokenSecret value shared by the Web server and Object Manager

Allows Siebel applications to be deployed into existing Web sites and portals

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 292: Siebel 8.0 Essentials

Securing Access to the Application 12.14

Siebel 8.0 Essentials

14 of 18Copyright © 2007, Oracle. All rights reserved.

Single Sign On Considerations Continued

Some Siebel User Administration features that are not available using SSO should be disabled for consistency, for example:

User self-registrationDelegated administration of usersChange password

Requires synchronization of users between the Siebel application and the external authentication system

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 293: Siebel 8.0 Essentials

Securing Access to the Application 12.15

Siebel 8.0 Essentials

15 of 18Copyright © 2007, Oracle. All rights reserved.

Comparing Authentication Methods

YesYesNoAllows external management of users

YesNoNoAllows single sign-on

YesYesNoAllows using same credentials across multiple applications

NoYesNoAllows creation of users from within the Siebel application

NoYesNoSupports user self-management

Depends on directory service

Depends on directory service

Depends on RDBMS

Supports account policies such as password expiration

YesYesNoRequires additional infrastructure

Single Sign OnDirectory Service Authentication

Database Authentication

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 294: Siebel 8.0 Essentials

Securing Access to the Application 12.16

Siebel 8.0 Essentials

16 of 18Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel applications support three mechanisms for authenticating users:

Database authentication is the default; the Siebel Server passesthe authentication information to the RDBMS for authenticationDirectory Service authentication uses a directory service such as LDAP or ADSI to perform the authentication; the Siebel Server passes the authentication information to the directory serviceSingle Sign On uses a directory service at the Web server level to allow single sign-on to multiple applications; the Siebel Web Server passes the authentication information to the directory service and passes the returned trust token to the Siebel Server

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 295: Siebel 8.0 Essentials

Securing Access to the Application 12.17

Siebel 8.0 Essentials

17 of 18Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a database account for a new user

12

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 296: Siebel 8.0 Essentials

Securing Access to the Application 12.18

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 297: Siebel 8.0 Essentials

Installing Siebel Applications 13.1

Siebel 8.0 Essentials

13Copyright © 2007, Oracle. All rights reserved.

Module 13: Installing Siebel Applications

Siebel 8.0 Essentials

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 298: Siebel 8.0 Essentials

Installing Siebel Applications 13.2

Siebel 8.0 Essentials

2 of 34Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe pre-installation steps necessary to prepare your environment for a Siebel installationInstall the Siebel applicationPerform post-installation steps to verify your Siebel environmentDescribe how to use the multi-server update tool to automate installations

Why you need to know:Successful configuration of the Siebel environment requires successful installation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 299: Siebel 8.0 Essentials

Installing Siebel Applications 13.3

Siebel 8.0 Essentials

3 of 34Copyright © 2007, Oracle. All rights reserved.

Business Challenge: Enterprise Installation

Installing enterprise-level software requires careful planning and preparation

Hardware and software prerequisites must be metMultiple installers must be run in the correct sequenceConfiguration parameters must be properly set before, during, and after installationInstallation may be required on many machines

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 300: Siebel 8.0 Essentials

Installing Siebel Applications 13.4

Siebel 8.0 Essentials

4 of 34Copyright © 2007, Oracle. All rights reserved.

Business Solution: Siebel Installation Tools

Siebel provides several tools to assist with the installation ofSiebel environments:

Bookshelf documentation:Deployment Planning Guide and System Requirements and Supported Platforms guide to prepare the systemInstallation Guide [Windows or UNIX] to perform the installation

Step-by-step installersGuide you through the installation process itself

Environment Verification Tool (EVT) Performs verification tests on system at any time during the installation to check:

PrerequisitesConfiguration settingsInstallations

Siebel Multi-Server Update ToolUpgrades multiple server instances from a central administration point

Installation Guide for Microsoft WindowsInstallation Guide for UNIXSystem Requirements and Supported Platforms

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 301: Siebel 8.0 Essentials

Installing Siebel Applications 13.5

Siebel 8.0 Essentials

5 of 34Copyright © 2007, Oracle. All rights reserved.

Performing a Successful Installation

Has three separate phases:Pre-installationInstallationVerification

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 302: Siebel 8.0 Essentials

Installing Siebel Applications 13.6

Siebel 8.0 Essentials

6 of 34Copyright © 2007, Oracle. All rights reserved.

Pre-Installation Tasks0/3

Plan the System Topology

Verify System Requirements

Create Prerequisite Objects

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 303: Siebel 8.0 Essentials

Installing Siebel Applications 13.7

Siebel 8.0 Essentials

7 of 34Copyright © 2007, Oracle. All rights reserved.

Plan the System Topology

Identify where software will be installedWhich machine(s)

Consider hardware and networking requirementsWhat naming conventionWhat directory structure

Use the Deployment Planning Guide as an aidExample:

1/3

C1, GS, S1, D1, W1Machine/Host Names/Addresses:

Web Client

Enterprise Server

D1

C1

W1

Web Server

Siebel Gateway

GS

Database Server

E1 Siebel Server(s)

S1 Siebel File SystemS2

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 304: Siebel 8.0 Essentials

Installing Siebel Applications 13.8

Siebel 8.0 Essentials

8 of 34Copyright © 2007, Oracle. All rights reserved.

Verify System Requirements

Verify that hardware and software meets Siebel requirementsConsult the System Requirements and Supported Platforms GuideCheck the Release Notes for any updates to these requirements

Confirm that required third-party software is installedFor example, a third-party RDBMS on the database server machine

Installation Guide has recommendations for RDBMS configuration settings

2/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 305: Siebel 8.0 Essentials

Installing Siebel Applications 13.9

Siebel 8.0 Essentials

9 of 34Copyright © 2007, Oracle. All rights reserved.

Verify System Requirements Continued

Optionally, run the Environment Verification Tool (EVT) to verify prerequisites

Command-line tool for checking environmentInstalled as part of the Siebel Server installation, so it must be copied from another installation to be run prior to server installation

2/3

Run EVT with no flags to check the pre-installation environment

Checks system software, network settings, and recommended OS

tools, but does not verify RDBMS

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 306: Siebel 8.0 Essentials

Installing Siebel Applications 13.10

Siebel 8.0 Essentials

10 of 34Copyright © 2007, Oracle. All rights reserved.

Create Prerequisite Objects

Create the Siebel databaseInstall the proper version of your chosen supported RDBMS softwareCreate an empty database/tablespace with appropriate space definedConsult the platform-appropriate Siebel Installation Guide for recommended database configuration parameter settings

Create the Siebel file systemCreate the Siebel file system as a directory on a disk with sufficient space

Alternatively, partition the file system across multiple directories and servers

Must be accessible from machines running Siebel ServersMust support long and case-sensitive file names

3/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 307: Siebel 8.0 Essentials

Installing Siebel Applications 13.11

Siebel 8.0 Essentials

11 of 34Copyright © 2007, Oracle. All rights reserved.

Create Prerequisite Objects Continued

Create a Siebel service owner accountUsed to run Enterprise processes and components

Siebel Gateway Name serviceSiebel Server service

Name must be consistent across all servers:Siebel Gateway Name ServerSiebel ServersServer on which Siebel File System resides

Recommended practice: On Windows use a domain account rather than separate accounts on each machine

Consult the platform-appropriate Siebel Installation Guide for exact steps and privileges

3/3

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 308: Siebel 8.0 Essentials

Installing Siebel Applications 13.12

Siebel 8.0 Essentials

12 of 34Copyright © 2007, Oracle. All rights reserved.

Installation Tasks0/6

Create the Installation Image

Install the Enterprise

Configure the Server(s)

Install the Database

Install the Siebel Web Server Extensions

Install Additional Applications

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 309: Siebel 8.0 Essentials

Installing Siebel Applications 13.13

Siebel 8.0 Essentials

13 of 34Copyright © 2007, Oracle. All rights reserved.

Create the Installation Image

Run the Siebel Image Creator utility provided on your media to generate an installation image

Refer to the Siebel Installation Guide for detailed steps

1/6

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 310: Siebel 8.0 Essentials

Installing Siebel Applications 13.14

Siebel 8.0 Essentials

14 of 34Copyright © 2007, Oracle. All rights reserved.

Install the Enterprise

Use the Siebel Enterprise Server installer to install the Gateway Name Server, Siebel Servers, Database Configuration Utilities, and EAI Connectors

Each component may be installed separatelyParameters include the directory name, setup type, and language

2/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 311: Siebel 8.0 Essentials

Installing Siebel Applications 13.15

Siebel 8.0 Essentials

15 of 34Copyright © 2007, Oracle. All rights reserved.

Run Siebel Enterprise Configuration Tool

Once installation completes, the enterprise configuration tool runs automatically to set system parameters

Alternatively, run <InstallDir>/gtwysrvr/bin/ssincfgw.exe manually at a later time

Create Gateway Name Server, Enterprise, and Siebel Web Server Extension logical profile

2/6

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 312: Siebel 8.0 Essentials

Installing Siebel Applications 13.16

Siebel 8.0 Essentials

16 of 34Copyright © 2007, Oracle. All rights reserved.

Key Enterprise Configuration Parameters

To configure a new Gateway Name Server requires:Gateway Name Server port, language for server messages and logs, and service account

To configure a new Enterprise requires:An existing Siebel Gateway Name ServerAn Enterprise name, Siebel file system, database platform and login information, and security type (database/LDAP/ANSI/custom)

To configure a new Siebel Web Server Extension logical profile requires:

An existing Siebel Gateway Name Server and EnterpriseA directory in which to store the profile, network configurationparameters such as HTTP and HTTPS ports, High Interactivity and Standard Interactivity default login names, and an Enterprise security token

2/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 313: Siebel 8.0 Essentials

Installing Siebel Applications 13.17

Siebel 8.0 Essentials

17 of 34Copyright © 2007, Oracle. All rights reserved.

Configure the Server(s)

Once enterprise configuration completes, the server configuration tool runs automatically to set system parameters

Alternatively, run <InstallDir>/siebsrvr/bin/ssincfgw.exe manually at a later time

Configure a Siebel Server

3/6

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 314: Siebel 8.0 Essentials

Installing Siebel Applications 13.18

Siebel 8.0 Essentials

18 of 34Copyright © 2007, Oracle. All rights reserved.

Key Server Configuration Parameters

Configuring a new Siebel Server requires:An existing Gateway Name Server and EnterpriseThe Siebel Server nameWhich component groups to enable on that serverThe language for server messagesThe languages to deployVarious port settings, including:

The connection broker port, used by the Siebel Web Server Extensions and other server components for communicationThe Siebel Remote Synchronization Manager portThe database connection port

Server clustering information

3/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 315: Siebel 8.0 Essentials

Installing Siebel Applications 13.19

Siebel 8.0 Essentials

19 of 34Copyright © 2007, Oracle. All rights reserved.

Install the Database

Run grantusr.sql in the dbsrvr/<RDBMS> directory on the database created during pre-installationManually run the database configuration utility and install a new database

Creates appropriate schema and populates database with seed dataOptionally, enter license key during database initialization

4/6

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 316: Siebel 8.0 Essentials

Installing Siebel Applications 13.20

Siebel 8.0 Essentials

20 of 34Copyright © 2007, Oracle. All rights reserved.

Install the Siebel Web Server Extensions

Use the SWSE installer to install the Siebel Web Server Extension on the machine hosting the Web server

The Siebel Enterprise Server must already have been run to generate the Enterprise-specific SWSE profileSpecify parameters, including load-balancing strategy for multi-server installations and connection broker port

5/6

Specify load balancing for multiple servers: Siebel native load

balancing (supported by the SWSE) or third-party load balancing

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 317: Siebel 8.0 Essentials

Installing Siebel Applications 13.21

Siebel 8.0 Essentials

21 of 34Copyright © 2007, Oracle. All rights reserved.

Install Additional Applications

Install the Siebel Mobile or Siebel Developer Web clients on individual user machines

Both applications use the Siebel Web Client installerInstall Siebel Tools on development machines(Optional) Install the Sample database on development machines

Pre-populated database allowing testing of configuration changes(Optional) Install Siebel Management Server to support the Application Deployment Manager (ADM) or Diagnostic Console(Optional) Install Siebel Update Server and clients to support multi-server updates

6/6

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 318: Siebel 8.0 Essentials

Installing Siebel Applications 13.22

Siebel 8.0 Essentials

22 of 34Copyright © 2007, Oracle. All rights reserved.

Verification Tasks0/4

Check Installation Logs

Verify Services

Run EVT

Log In to Applications

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 319: Siebel 8.0 Essentials

Installing Siebel Applications 13.23

Siebel 8.0 Essentials

23 of 34Copyright © 2007, Oracle. All rights reserved.

Check Installation Logs

Every step of configuration generates a log file:Siebel Gateway Name Server configuration log is /gtwysrvr/log/sw_cfg_util.logSiebel Server configuration log is /siebsrvr/log/sw_cfg_util.logSiebel Web Server Extention configuration log is /SWEApp/log/sw_cfg_util.log

Check these logs for severe or fatal errors

1/4

Informational messages are listed as GenericErrors with a severity level of 1

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 320: Siebel 8.0 Essentials

Installing Siebel Applications 13.24

Siebel 8.0 Essentials

24 of 34Copyright © 2007, Oracle. All rights reserved.

Verify Services

Verify that the Siebel Gateway Name Server service is runningVerify that the Siebel Server services are running on each machine hosting a server

2/4

In this instance the Siebel Gateway Name Server and Siebel Server are co-located

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 321: Siebel 8.0 Essentials

Installing Siebel Applications 13.25

Siebel 8.0 Essentials

25 of 34Copyright © 2007, Oracle. All rights reserved.

Run EVT

Use the Environment Verification Tool to check the status of your enterprise

Tool reads evt.ini file to determine what checks to performTool supports checking Siebel Gateway Name Server, Siebel Server, Siebel Web Server Extension, third-party Web server, and third-party databaseOutput can be text, text file, HTML, or HTML fileFor complete details on using the EVT, see your platform-specific Installation Guide

3/4

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 322: Siebel 8.0 Essentials

Installing Siebel Applications 13.26

Siebel 8.0 Essentials

26 of 34Copyright © 2007, Oracle. All rights reserved.

EVT Example

The following example runs the EVT with the default options and outputs the results to output.html

3/4

The –o flag specifies the output file format

The output is color-coded for readability

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 323: Siebel 8.0 Essentials

Installing Siebel Applications 13.27

Siebel 8.0 Essentials

27 of 34Copyright © 2007, Oracle. All rights reserved.

Log In to Applications

Log in to the Siebel application to confirm connectivity to the Web server and Siebel server

4/4

Web server address Application SWE command appended to the URL by the application’s

default Web page

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 324: Siebel 8.0 Essentials

Installing Siebel Applications 13.28

Siebel 8.0 Essentials

28 of 34Copyright © 2007, Oracle. All rights reserved.

Browser Health Check

Is a utility that runs on the browser to verify that it is properly configured for High Interactivity

Runs when the Web client is invoked if it is enabled in the [SWE] section of siebel.cfg

Checks the client environment on which the Siebel application isrunning

Internet optionsJava settingEnvironment/registry settings

Performs checks usingvalues set in the applicationconfiguration file

Each check can haveone of the following values

RequiredRecommendedIgnore

4/4

Set values in the [clientHealthCheck]

section of the configuration file

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 325: Siebel 8.0 Essentials

Installing Siebel Applications 13.29

Siebel 8.0 Essentials

29 of 34Copyright © 2007, Oracle. All rights reserved.

Multi-Server Updates

The Siebel Update Server provides a single administration point for patching and updating multiple Siebel serversAllows quick monitoring of each server’s current patch levelSupports both push and pull models of software updates

Administrator can send updates out to all servers (push)Servers can periodically query the update server for updates (pull)

Siebel Update Server provides a centralized administration point for managing updates on

Siebel servers

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 326: Siebel 8.0 Essentials

Installing Siebel Applications 13.30

Siebel 8.0 Essentials

30 of 34Copyright © 2007, Oracle. All rights reserved.

Siebel Update Server

Is a Web-based installation tool based on MacrovisionInstallshield

Uses a Tomcat/JSP Web server on the Update ServerIncludes a local database on the Update Server for storing all product information across an enterprise

Currently supports server updates and patchesGateway Name Server, Siebel Enterprise, Siebel Server, Siebel Web Server Extension, and so forth

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 327: Siebel 8.0 Essentials

Installing Siebel Applications 13.31

Siebel 8.0 Essentials

31 of 34Copyright © 2007, Oracle. All rights reserved.

Siebel Update Server Architecture

A single update server provides a central access point to multiple clients

Siebel Update Server software is installed on serverSiebel Update Client software is installed on each client

Clients have other Siebel software installed, such as Siebel Server or Siebel Web Server Extension

Siebel Update Server

Siebel Update Clients

Clients are Siebel Servers or Siebel

Web ServersCloudscape

Database

Update Server includes Tomcat Web server and local database

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 328: Siebel 8.0 Essentials

Installing Siebel Applications 13.32

Siebel 8.0 Essentials

32 of 34Copyright © 2007, Oracle. All rights reserved.

Siebel Update Server Functionality

Clients register current software information on serverCurrently installed software and version informationStored in database on server

Administrator publishes product update information to serverLocation of update, version information, and so forth

Clients register current product

information on server

Update server stores client and update

information in database

Administrator publishes product

information to server

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 329: Siebel 8.0 Essentials

Installing Siebel Applications 13.33

Siebel 8.0 Essentials

33 of 34Copyright © 2007, Oracle. All rights reserved.

Siebel Update Server Functionality Continued

Administrator may select client machines and schedule updates for them (push method)Clients may check for updates and download them when it is convenient (pull method)

Administrator may choose which clients

to update

As clients are updated, their information is updated in the

database

Administrator may push updates to

clients

Client may manually check

for updates (pull)

The push method is recommended because the pull method may result in unexpected server restarts, for example, after downloading a patch that requires a restart.

Recommended Practice

13

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 330: Siebel 8.0 Essentials

Installing Siebel Applications 13.34

Siebel 8.0 Essentials

34 of 34Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Installing Siebel applications is a three-step process:Perform pre-installation tasksPerform software installationsPerform post-installation tasks

Pre-installation tasks include planning the topology, verifying prerequisites, and creating required objects such as the Siebel databaseSoftware installations require multiple installers, which guide you through the installation process step-by-step and automatically run the appropriate configuration toolsPost-installation tasks include checking the installation logs, checking the services, running the EVT, and logging in to the applicationSiebel Update Server supports multi-server updates

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 331: Siebel 8.0 Essentials

Siebel Application Architecture 14.1

Siebel 8.0 Essentials

14Copyright © 2007, Oracle. All rights reserved.

Module 14: Siebel Application Architecture

Siebel 8.0 Essentials

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 332: Siebel 8.0 Essentials

Siebel Application Architecture 14.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the major types of object definitionsDescribe the relationships between them

Why you need to know:Enables you to explore an existing application effectivelyProvides the foundation you need to configure the object definitions that form the basis of an application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 333: Siebel 8.0 Essentials

Siebel Application Architecture 14.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

The Siebel Application Architecture

Recall that the Siebel Application consists of:An execution engine that provides the application behavior

The Siebel Server(s); more specifically, their componentsConfiguration files and the Siebel Gateway Name Server that specify operating parameters for the execution engine

Most configuration parameters are stored in the Gateway Name ServerA relational database that stores user dataA set of physical User Interface (UI) files that specify how to render the UI in the user’sA Siebel Repository File (SRF) containing compiled object definitions

Configuring Siebel Business Applications: Overview of Configuring Siebel Applications

Reference

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 334: Siebel 8.0 Essentials

Siebel Application Architecture 14.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

The Siebel Application Architecture Continued

Object definitions are created, modified, and stored in special tables in the database and compiled to the SRF

Database Server

.cfg

UI files

Siebel Application

SRF

Siebel Repository File

Specifies parameters to

GeneratesSupplies compiled

object definitions to

User Interface

Serves data to

Configuration File

Object definitions

stored here

Shape the UI viaObject

Manager

No object definitions here

• Siebel template files• Cascading style sheets• Image files

Object definitions compiled to here

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 335: Siebel 8.0 Essentials

Siebel Application Architecture 14.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

UI layer definitions

Business layer definitions

Data layer definitions

Opportunity

Account

Product Contact

Account

Siebel Repository File (SRF)

Contains compiled object definitions that specify:Presentation of dataBusiness logicPhysical table storage

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 336: Siebel 8.0 Essentials

Siebel Application Architecture 14.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Object Definitions

Provide the foundation for application executionAre grouped in three layers with different purposesRefer to definitions in the next lower layer

TableColumn

Screen Application

BusinessComponent

BusinessObject

ViewApplet

Field

List Column or Control

UILayer

BusinessLayer

DataLayer

1 or many

References

Siebel Application Architecture

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 337: Siebel 8.0 Essentials

Siebel Application Architecture 14.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Data Layer

Data layer object definitions specify the logical structure of the physical database

Definitions are metadata, not dataIn the Data layer, there are two principal data object definitions:

Table definitionsColumn definitions

ORDER_NUM

S_ORDER

DISCNT_PERCENT STATUS_CD

Columns

Table

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 338: Siebel 8.0 Essentials

Siebel Application Architecture 14.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Business Layer

Business object definitions specify the business logic for the applicationIn the Business layer, there are two principal objects:

Business component Business object

Business object

Business component

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 339: Siebel 8.0 Essentials

Siebel Application Architecture 14.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Business Component (BC)

Represents one fundamental business entity in the enterpriseFor example: Service Request, Contact, Activity

Represents a logical grouping of data from one or more tablesRefers to a base table Consists of multiple fields that characterize the business component

Many fields within the business component reference columns in the base table

Order Number Discount Status

ORDER_NUM

Order Entry - Orders

S_ORDER

DISCNT_PERCENT STATUS_CD

Field

Business component

ColumnBase table

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 340: Siebel 8.0 Essentials

Siebel Application Architecture 14.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Business Component Continued

Can include data from additional related tablesSome fields map to columns in these related tables

S_OPTY

Order Number Account Opportunity

ORDER_NUM

Order Entry - Orders

S_ORDER S_ORG_EXT

LOC NAME

Field

Business component

Base table

Column

Additionaltables

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 341: Siebel 8.0 Essentials

Siebel Application Architecture 14.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Business Object (BO)

Is a collection of related Business components (BCs)Represents a major functional area of the enterprise

For example, order managementContains specific details about the relationships between BCs

One BC is the master or driving BCOrganizes related business components

Action

Order Entry - Orders

Quote Payments

Order Entry

Business Object (BO)

Business Component

(BC)

Parent BC provides focus for BO

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 342: Siebel 8.0 Essentials

Siebel Application Architecture 14.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Comparing Business Components and Business Objects

Business Objects provide focus to views and organize BCsBusiness Components provide data to applets and control data manipulation in tables

Table

BusinessComponent

BusinessObject

Applet

Field BusinessObject

View

Organizes BCs

Control data manipulation

Business Component Business Object

BusinessComponent

Details relationships between BCs

Provide data Provide focus

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 343: Siebel 8.0 Essentials

Siebel Application Architecture 14.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

UI Object Definitions

There are five principal UI objects within the user interface

3. View

4. Applet

1. Application

2. Screen

5. List Column or

Control

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 344: Siebel 8.0 Essentials

Siebel Application Architecture 14.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Control and List Column Object Definitions

Provide the ability to display and manipulate data

This column displays data in a

columnar list

This control displays data in a field via

a form

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 345: Siebel 8.0 Essentials

Siebel Application Architecture 14.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Applet Object Definition

A section of a view, such as a list or formReferences one business component whose data can be viewed and edited through the list or formConsists of list column or textbox control object definitions

Refer to fields in the applet-referenced business component Specify how the data for the fields is displayed in the list or form

Order Number Account OpportunityBusiness

component

Order Entry - Orders

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 346: Siebel 8.0 Essentials

Siebel Application Architecture 14.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

View Object Definition

Specifies a view in a Siebel applicationContains multiple applet object definitions

Order Entry - Orders

Action Quote Payments

Order Entry

View references one BO

Applet references one BC

BC

BO

Order Entry – My Orders View (Sales)

View

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 347: Siebel 8.0 Essentials

Siebel Application Architecture 14.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

Screen Object Definition

Specifies a screen in a Siebel applicationIs associated with a major functional area of the enterprise

Contains multiple view object definitions that usually refer to the same business object

Administration screens are an exception

Screens

Same screenViews in

that screen

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 348: Siebel 8.0 Essentials

Siebel Application Architecture 14.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Application Object Definition

Specifies a particular collection of screens available in a Siebel application

Application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 349: Siebel 8.0 Essentials

Siebel Application Architecture 14.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Configuring Siebel Applications

Is accomplished by using:An HTML editor to modify template and other physical UI filesSiebel Tools to modify object definitions

Physical UI Files

UI Object Definitions

Business Object Definitions

Data Object Definitions

Configurable Layers

Use an HTML editor to modify template

Use Siebel Tools to modify object definitions

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 350: Siebel 8.0 Essentials

Siebel Application Architecture 14.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel architecture uses object definitions that specify application behaviorUse Siebel Tools to:

Create, store, and modify object definitions in the databaseCompile object definitions into the SRF for more efficient run-time access

Object definitions are grouped into three layers:UI Layer

Includes applications, screens, views, applets and list columns/controlsBusiness Layer

Includes business objects and business componentsData Layer

Includes tables and columns

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 351: Siebel 8.0 Essentials

Siebel Application Architecture 14.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Examine how UI layer object definitions reference business layerobject definitions

14

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 352: Siebel 8.0 Essentials

Siebel Application Architecture 14.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 353: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.1

Siebel 8.0 Essentials

15Copyright © 2007, Oracle. All rights reserved.

Module 15: Using Siebel Tools to Examine Object Definitions

Siebel 8.0 Essentials

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 354: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.2

Siebel 8.0 Essentials

2 of 20Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the differences between object types and object definitionsUse Siebel Tools to examine parent and child object definitions

Why you need to know:Enables you to configure Siebel applications effectivelyEnables you to examine mappings that support bulk data transfer

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 355: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.3

Siebel 8.0 Essentials

3 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel Tools

Is an Integrated Development Environment (IDE) Is a declarative configuration tool

Is used to create and modify object definitions (metadata) that define Siebel applications

Set properties for objects that control behaviorNo need to modify source code or write SQL

Configure objects instead of writing code

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 356: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.4

Siebel 8.0 Essentials

4 of 20Copyright © 2007, Oracle. All rights reserved.

Object Definitions

Are metadata that define elements of the user interface, business logic, and data storageAre stored in the Siebel Repository, a subset of tables in the Siebel database Are examined, created, and edited using Siebel ToolsAre compiled into the repository file for a configured application

Repository Data

SRF

Siebel Repository File

Object Manager

Configured application

Tools output is input for object manager

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 357: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.5

Siebel 8.0 Essentials

5 of 20Copyright © 2007, Oracle. All rights reserved.

Object Definition

Consists of a set of properties with assigned valuesIs created from a template called an object type

ViewName:Title:Inactive:

ViewName: Account List ViewTitle: My AccountsInactive: FALSE

Template with empty properties

Object with values in properties

Object Type Object Definition

A property that references the name of another object definition must match the name exactly in spelling (spaces do count) and cases. A value of Prod is not the same as PROD.

Referencing Names

Object definition properties describe characteristics of the object definition and have the following value types: user-defined names, numerical values, Boolean values (TRUE and FALSE), Siebel-defined constants, and references to the names of other object definitions.

Object Definition Properties

The terms object type and object definition, as used here, should not be confused with similar terms (object, object class, object instance) found in object-oriented design and programming languages.

Object Terminology

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 358: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.6

Siebel 8.0 Essentials

6 of 20Copyright © 2007, Oracle. All rights reserved.

Examining Object Definitions

Use the Object List Editor (OBLE) to display object definitionsSelect an object type in the Object Explorer (OE)Object definitions appear in the Object List Editor

OEObject

definition

OBLE

Objectproperty

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 359: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.7

Siebel 8.0 Essentials

7 of 20Copyright © 2007, Oracle. All rights reserved.

Siebel Tools User Interface

Differs from the client applicationHas toolbar icons for common user operations

Record navigation Query Sort

Menu invoked by right-clicking

object definition 15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 360: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.8

Siebel 8.0 Essentials

8 of 20Copyright © 2007, Oracle. All rights reserved.

Properties Window

Displays the properties for the object definition selected in the OBLE

Select View > Windows > Properties WindowProperties are listed in alphabetical orderThe value is shown next to property name

Properties window

Does not show Changed or Project properties

Same value

OBLE

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 361: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.9

Siebel 8.0 Essentials

9 of 20Copyright © 2007, Oracle. All rights reserved.

Hierarchy of Object Types

Some object types contain child object typesFor instance, Field is a child object type of the Business Component object type

Multiple hierarchy

levels

Object explorer displays hierarchy

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 362: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.10

Siebel 8.0 Essentials

10 of 20Copyright © 2007, Oracle. All rights reserved.

Object Explorer

Displays by default a small set of the most commonly used object types

Select View > Options and click the Object Explorer tab to add or remove object types from the Object Explorer

Some options displayed

All options displayed

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 363: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.11

Siebel 8.0 Essentials

11 of 20Copyright © 2007, Oracle. All rights reserved.

Viewing Parent/Child Object Definitions

Select object types and definitions alternately to examine childobject definitions

2. Select the parent object definition in the OBLE

3. Select the desired child object type (Field) in the OE

4. View child object definitions for the selected parent definition in the lower pane of the OBLE

1. Expand the parent object type (BC) in the OE

Use the Types tab

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 364: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.12

Siebel 8.0 Essentials

12 of 20Copyright © 2007, Oracle. All rights reserved.

Additional Navigation Techniques

Back and Forward Buttons

Bookmarks

Hyperlinks

0/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 365: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.13

Siebel 8.0 Essentials

13 of 20Copyright © 2007, Oracle. All rights reserved.

Hyperlinks

Drill down on a hyperlink to navigate to that object definitionFor example, applet to business componentFor example, business component to table

Underlined in blue

1/3

Siebel Tools users must have the Developer responsibility in order to drill down.

Using Drilldown

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 366: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.14

Siebel 8.0 Essentials

14 of 20Copyright © 2007, Oracle. All rights reserved.

Back and Forward Buttons

Use the Back button to return to the object definition last examinedUse the Forward button to return to the current object definition

2/3

The Forward and Back buttons have limited functionality; instead use bookmarks as a navigation aide. Bookmarks are discussed on the next slide.

Best Practice

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 367: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.15

Siebel 8.0 Essentials

15 of 20Copyright © 2007, Oracle. All rights reserved.

Bookmarks

Use bookmarks to navigate directly to a specific object definition

Select desired bookmark from bookmarks window

Add a new bookmark

Display or hide bookmark window

3/3

Bookmarks can serve very effectively as predefined queries.Bookmarks

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 368: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.16

Siebel 8.0 Essentials

16 of 20Copyright © 2007, Oracle. All rights reserved.

Window Navigation

Use dockable windows and tabs for frequently-accessed tools such as the Properties windowUndock windows to resize and place

Autohide docking windows

Minimize, maximize, close

Window tabs

Autohide

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 369: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.17

Siebel 8.0 Essentials

17 of 20Copyright © 2007, Oracle. All rights reserved.

Object Explorer: Flat Tab

Removes all hierarchy and shows all object types in a single listHelps developers:

Find a child object with an unknown parentSee how object definitions and properties are typically used

Parent object definitiondisplayed (parent applet for the control)

Select any object type in the OE

15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 370: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.18

Siebel 8.0 Essentials

18 of 20Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel Tools is a declarative configuration toolObject definitions consist of a set of properties with assigned values

Are created from a template called an object typeThe Object Explorer (OE) lists object typesObject definitions appear in the Object List Editor (OBLE)Properties Window displays the object definition selected in theOBLEFlat tab removes all hierarchy and shows all object types in a single list

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 371: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.19

Siebel 8.0 Essentials

19 of 20Copyright © 2007, Oracle. All rights reserved.

Tools navigation convention used in the labs

Select Business Component :: Account | Field :: Account Role

Lab

In the lab you will: Use Siebel Tools to examine object definitions in the Siebel repository

Parent Object Type in OE

Child Object Type in OE

Parent Recordin OBLE

Child Recordin OBLE 15

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 372: Siebel 8.0 Essentials

Using Siebel Tools to Examine Object Definitions 15.20

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 373: Siebel 8.0 Essentials

The Siebel Data Model 16.1

Siebel 8.0 Essentials

16Copyright © 2007, Oracle. All rights reserved.

Module 16: The Siebel Data Model

Siebel 8.0 Essentials

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 374: Siebel 8.0 Essentials

The Siebel Data Model 16.2

Siebel 8.0 Essentials

2 of 28Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the purpose of the Siebel Data ModelDescribe the role of primary and foreign keys, indexes, and userkeysIdentify prominent tables in the Siebel Data Model

Why you need to know:Enables you to understand how data is accessed in existing Siebel applications Enables you to understand how to map your business logic to the Siebel Data ModelEnables you to configure the Data layer as necessary for your implementation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 375: Siebel 8.0 Essentials

The Siebel Data Model 16.3

Siebel 8.0 Essentials

3 of 28Copyright © 2007, Oracle. All rights reserved.

The Siebel Data Model

Defines how the data used by Siebel applications is stored in a standard third-party relational database

Specifies the tables and relationshipsIs designed to support the data requirements across Siebel applications

BusinessComponent

BusinessObject

Table

Field

ColumnDefines data storage

organization (makes up the data model)

Defines business logic

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 376: Siebel 8.0 Essentials

The Siebel Data Model 16.4

Siebel 8.0 Essentials

4 of 28Copyright © 2007, Oracle. All rights reserved.

Siebel Data

Is organized and stored in normalized tables in a relational database

Each table has multiple columns storing atomic data (single-value, cannot be logically further sub-divided)The data schema is organized to eliminate repeated storage of data

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

UO

M_C

D

Table

Columns (store single values only)

Configuring Siebel Business Applications: Configuring Tables and ColumnsReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 377: Siebel 8.0 Essentials

The Siebel Data Model 16.5

Siebel 8.0 Essentials

5 of 28Copyright © 2007, Oracle. All rights reserved.

Primary Key (PK)

Is a column that uniquely identifies each row in a tableROW_ID serves as the primary key for Siebel tables

Primary key

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

UO

M_C

D

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 378: Siebel 8.0 Essentials

The Siebel Data Model 16.6

Siebel 8.0 Essentials

6 of 28Copyright © 2007, Oracle. All rights reserved.

ROW_ID

Is a column in every tableContains a Siebel application-generated identifier that is unique across all tables and mobile users

Is managed by Siebel applications and must not be modified by users

Is viewed by right-clicking the record or navigating to Help > About Record

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 379: Siebel 8.0 Essentials

The Siebel Data Model 16.7

Siebel 8.0 Essentials

7 of 28Copyright © 2007, Oracle. All rights reserved.

Understanding the Data Model

Columns

User Keys

Indexes

Tables

Relationships Between Tables

Extension Tables

0/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 380: Siebel 8.0 Essentials

The Siebel Data Model 16.8

Siebel 8.0 Essentials

8 of 28Copyright © 2007, Oracle. All rights reserved.

Tables

Approximately 3,000 tables in the databaseThree major types: Data, Interface, and Repository

EIM_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

UO

M_C

D

S_TABLER

OW

_ID

NA

ME

DESC

_TEXT

TYPE

ALIA

S

Interface Repository

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

UO

M_C

D

Data

This module is focused on data

tables

1/6

The type of a table is specified by its Type property. Type

The database schema is created during the Siebel database serverinstallation. Additional tables can be created by developers using Siebel Tools.

Creating the Schema

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 381: Siebel 8.0 Essentials

The Siebel Data Model 16.9

Siebel 8.0 Essentials

9 of 28Copyright © 2007, Oracle. All rights reserved.

Data Tables

Store the user dataBusiness dataAdministrative dataSeed data

Are populated and updated by:Users through the Siebel applications Server processes such as: Enterprise Integration Manager (EIM) and Assignment Manager

Have names prefixed with S_ Are documented in the Siebel Data Model Reference

1/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 382: Siebel 8.0 Essentials

The Siebel Data Model 16.10

Siebel 8.0 Essentials

10 of 28Copyright © 2007, Oracle. All rights reserved.

Seven Prominent Data Tables

Store data for the major business entities

S_SRV_REQRO

W_ID

SR_N

UM

DESC

_TEXT

LAST_U

PD

ASG

N_D

T

S_OPTYRO

W_ID

NA

ME

BD

GT_A

MT

STG_N

AM

E

PRO

G_N

AM

E

S_CONTACTRO

W_ID

LAST_N

AM

E

FST_NA

ME

MID

_NA

ME

S_PROD_INTRO

W_ID

NA

ME

PAR

T_NU

M

OR

DER

_CST

PRO

D_C

D

S_EVT_ACTRO

W_ID

AC

TIVITY_UID

TOD

O_C

D

OPTY_ID

PRO

J_ID

S_ORG_EXTRO

W_ID

DESC

_TEXT

DEPT_N

UM

EMP_C

OU

NT

DIVISIO

N

S_ASSETRO

W_ID

NA

ME

ASSET_N

UM

MFG

_DT

SERIA

L_NU

M

Opportunity Service Request Contact

Asset Account Activity Internal Product

1/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 383: Siebel 8.0 Essentials

The Siebel Data Model 16.11

Siebel 8.0 Essentials

11 of 28Copyright © 2007, Oracle. All rights reserved.

Columns

Each table has multiple columns to store user and system dataDefined by Column child object definitions

Columns determine the data that can be stored in that table

2/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 384: Siebel 8.0 Essentials

The Siebel Data Model 16.12

Siebel 8.0 Essentials

12 of 28Copyright © 2007, Oracle. All rights reserved.

Column Properties

Determine size and type of data that can be stored in columnLimit proposed modifications to a standard applicationDo not edit existing properties

Identifies data type and size

2/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 385: Siebel 8.0 Essentials

The Siebel Data Model 16.13

Siebel 8.0 Essentials

13 of 28Copyright © 2007, Oracle. All rights reserved.

Data Type and Length Properties

Physical Type identifies the type of data to be storedLength determines the maximum size

2/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 386: Siebel 8.0 Essentials

The Siebel Data Model 16.14

Siebel 8.0 Essentials

14 of 28Copyright © 2007, Oracle. All rights reserved.

System Columns

Exist for all tables to store system dataAre maintained by Siebel applications and tasks

System columns

2/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 387: Siebel 8.0 Essentials

The Siebel Data Model 16.15

Siebel 8.0 Essentials

15 of 28Copyright © 2007, Oracle. All rights reserved.

User Keys

Are used to determine the uniqueness of records when entering, importing, or integrating dataAre predefined and cannot be changed

3/6

All columns in user key may not be required

Column Combination provides a unique value

Customers cannot modify user keys. Expert Services can assist customers in evaluating strategies to remap data in their implementations to make use of the current user key structure within their specific business requirements.The information about the user keys for a table has been incorporated into data that support EIM and remote synchronization. In addition, there is a predefined index (see next slide) based on the Siebel-defined user key.

User Keys

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 388: Siebel 8.0 Essentials

The Siebel Data Model 16.16

Siebel 8.0 Essentials

16 of 28Copyright © 2007, Oracle. All rights reserved.

Indexes

Are a separate data structure that stores a data value for a column and a pointer to the corresponding row

Used to retrieve and sort data rapidlyAre predefined by Siebel as a set of standard indexes

_U index based on user key

4/6

Sequence affects sort order

_P index based on primary key

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 389: Siebel 8.0 Essentials

The Siebel Data Model 16.17

Siebel 8.0 Essentials

17 of 28Copyright © 2007, Oracle. All rights reserved.

Relationships Between Tables

Siebel tables have many predefined relationships to support the as-delivered application

1:M – one-to-manyM:M – many-to-many

S_ASSET

RO

W_ID

NA

ME

ASSET_N

UM

SERIA

L_NU

M

S_PROD_LN

RO

W_ID

NA

ME

DESC

_TEXT

1:M relationshipM:M relationship

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

OR

DER

_CST

AssetProduct Line

MFG

_DT

PRO

D_C

D

5/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 390: Siebel 8.0 Essentials

The Siebel Data Model 16.18

Siebel 8.0 Essentials

18 of 28Copyright © 2007, Oracle. All rights reserved.

1:M Relationships

Are captured using foreign key (FK) table columns in the table on the many side of the relationshipFK column on many side of the relationship references PK column on one side

PK FK

S_ASSETR

OW

_ID

NA

ME

ASSET_N

UM

SERIA

L_NU

M

PRO

D_ID

Foreign key column for 1:M

Product : Asset relationship

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

OR

DER

_CST

PRO

D_C

D

5/6

Since a product could have many assets (product instances) associated with it, a foreign key column cannot be located in the S_PROD_INT table. It might then have to contain multiple ROW_IDs, which would violate the basic rule of a single value for a column.

Foreign Key Columns

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 391: Siebel 8.0 Essentials

The Siebel Data Model 16.19

Siebel 8.0 Essentials

19 of 28Copyright © 2007, Oracle. All rights reserved.

Foreign Key Table Columns

Are columns in a table that refer to the primary key column of arelated (parent) table

Many are named with suffix _IDAre maintained by Siebel applications and tasks to ensure referential integrity and should never be updated directly via SQL

Foreign key table

5/6

Foreign key column

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 392: Siebel 8.0 Essentials

The Siebel Data Model 16.20

Siebel 8.0 Essentials

20 of 28Copyright © 2007, Oracle. All rights reserved.

Finding Foreign Keys for 1:M Relationships

Inspect the Foreign Key Table property in a Column object definition to determine the column that serves as the FK

Parent table

5/6

PK FK

S_ASSET

RO

W_ID

NA

ME

ASSET_N

UM

SERIA

L_NU

M

PRO

D_ID

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

OR

DER

_CST

PRO

D_C

D

FK column

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 393: Siebel 8.0 Essentials

The Siebel Data Model 16.21

Siebel 8.0 Essentials

21 of 28Copyright © 2007, Oracle. All rights reserved.

M:M Relationships

Are captured using foreign key columns in a third table called the intersection table

S_PROD_LN_PROD

RO

W_ID

PRO

D_LN

_ID

PRO

D_ID

S_PROD_LN

RO

W_ID

NA

ME

DESC

_TEXT

S_PROD_INTR

OW

_ID

NA

ME

PAR

T_NU

M

UO

M_C

D

Product : Product Line intersection table

PK

FKFK

PK

5/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 394: Siebel 8.0 Essentials

The Siebel Data Model 16.22

Siebel 8.0 Essentials

22 of 28Copyright © 2007, Oracle. All rights reserved.

1:1 Extension Table

Is a special table that has a 1:1 relationship with a base tableForeign key for the relationship:

Is located in the extension tableIs named PAR_ROW_ID

Provides additional columns for business components referencing the base table

A base and extension table can be considered as a single logicaltable

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_NU

M

UO

M_C

D

S_PROD_INT_XR

OW

_ID

PAR

_RO

W_ID

ATTR

IB_39

PK FK

Base Table Extension Table

6/6

A row in an extension table is created only if there is data to store in one of its columns. For example, a new product record that does not have a value for any fields referencing the extension table would create a row in the base table, but not in the extension table.

Rows in Extension Tables

The ROW_ID for a row in a 1:1 extension table is, by convention, the same as that of the related row in the base table, and is an exception to the general rule that ROW_IDs are unique across all tables.

ROW_ID

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 395: Siebel 8.0 Essentials

The Siebel Data Model 16.23

Siebel 8.0 Essentials

23 of 28Copyright © 2007, Oracle. All rights reserved.

Standard 1:1 Extension Tables

Prebuilt for many major tablesHave the name of the base table with suffix _X

Contain 40-plus generic columns of varying typesStore data for new business component fields that are in addition to those mapped to the base table

6/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 396: Siebel 8.0 Essentials

The Siebel Data Model 16.24

Siebel 8.0 Essentials

24 of 28Copyright © 2007, Oracle. All rights reserved.

1:M Extension Table

Is a special table for storing child data related to an existingparent tableAllows you to track entities that do not exist in the as-delivered Siebel applications

S_ASSET_XMR

OW

_ID

PAR

_RO

W_ID

TYPE

NA

ME

ATTR

IB_01

PK FK

S_ASSET

RO

W_ID

NA

ME

ASSET_N

UM

SERIA

L_NU

M

PRO

D_ID

6/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 397: Siebel 8.0 Essentials

The Siebel Data Model 16.25

Siebel 8.0 Essentials

25 of 28Copyright © 2007, Oracle. All rights reserved.

Standard 1:M Extension Tables

Are prebuilt for many tablesHave the name of the main table appended with _XM

TYPE defines data classification

PAR_ROW_ID stores FK to ROW_ID in main table

NAME stores name of child entity

ATTRIBs are predefined with varying types

6/6

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 398: Siebel 8.0 Essentials

The Siebel Data Model 16.26

Siebel 8.0 Essentials

26 of 28Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel Data Model defines how data is stored in a third-party relational databaseA primary key (PK) is a column that uniquely identifies each table rowROW_ID is a column in every table

Contains a Siebel application-generated unique identifierUser keys specify the columns used to determine uniqueness of records when entering, importing, or integrating dataForeign Key Table columns are columns in a table that refer to the PK column of a related table1:1, 1:M, and M:M relationships are predefined within the model

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 399: Siebel 8.0 Essentials

The Siebel Data Model 16.27

Siebel 8.0 Essentials

27 of 28Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Examine tables, columns, indexes, and user keys that make up theSiebel Data ModelDetermine the form of relationships between tables in the SiebelData Model

16

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 400: Siebel 8.0 Essentials

The Siebel Data Model 16.28

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 401: Siebel 8.0 Essentials

Siebel Business Components 17.1

Siebel 8.0 Essentials

17Copyright © 2007, Oracle. All rights reserved.

Module 17: Siebel Business Components

Siebel 8.0 Essentials

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 402: Siebel 8.0 Essentials

Siebel Business Components 17.2

Siebel 8.0 Essentials

2 of 18Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Define a business componentDescribe how business component fields at the business object layer are mapped to columns at the data layerDescribe how base and joined tables are used as a part of this mapping

Why you need to know:The business component is a fundamental object in the Siebel Application Architecture

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 403: Siebel 8.0 Essentials

Siebel Business Components 17.3

Siebel 8.0 Essentials

3 of 18Copyright © 2007, Oracle. All rights reserved.

Application Architecture: Business Components

Provide a way to group data according to business logicAre referenced by appletsSpecify access to tables (read, write, and update) Are used by business objects to provide data to views

TableColumn

Screen Application

BusinessComponent

BusinessObject

ViewApplet

Field

List Column or Control

UILayer

BusinessLayer

DataLayer

Siebel Application Architecture

1 or many

References17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 404: Siebel 8.0 Essentials

Siebel Business Components 17.4

Siebel 8.0 Essentials

4 of 18Copyright © 2007, Oracle. All rights reserved.

Business Component

A business component (BC) is a person, place, thing, or event about which data must be stored

Represents a fundamental business entityProvides the foundation for controlling how data is selected, inserted, and updated in underlying tables

Opportunity

Product Contact

Opportunity

Quote

= Business Component

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 405: Siebel 8.0 Essentials

Siebel Business Components 17.5

Siebel 8.0 Essentials

5 of 18Copyright © 2007, Oracle. All rights reserved.

Business Component Continued

Arranges data from one or more tables into a logical groupingConsists primarily of fields and joins

Each field references a single column in a tableIs not a table

Does not store dataStores metadata: data about data

OpportunityName Sales Stage Sales Stage PhaseDecision Level

S_OPTYRO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

S_STGRO

W_ID

NA

ME

PHA

SE_CD

STG_O

RD

ER

S_OPTY_XRO

W_ID

PAR

_RO

W_ID

ATTR

IB_01

ATTR

IB_09

ATTR

IB_39

Description

Base Table Joined Tables

Field

BC

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 406: Siebel 8.0 Essentials

Siebel Business Components 17.6

Siebel 8.0 Essentials

6 of 18Copyright © 2007, Oracle. All rights reserved.

Business Component Reuse

A business component can be: Defined once in terms of a logical collection of columns from one or more tables Then used in many different business object contexts

Opportunity

Product Contact

Opportunity

Quote

Contact

Product Account

Contact

Contact BC appears as child in Opportunity BO

Contact BC appears as master in Contact BO

Quote

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 407: Siebel 8.0 Essentials

Siebel Business Components 17.7

Siebel 8.0 Essentials

7 of 18Copyright © 2007, Oracle. All rights reserved.

Base Table

Contains the main columns for the business componentEvery business component references only one base tableMany BC fields are mapped to base table columnsFields referencing base tables are editable in the UI

S_OPTYRO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

Base table

Table:S_OPTY

Column:DESC_TEXT

BusinessComponent:Opportunity

Field:Description

Mapping Example

Opportunity

Name Sales Stage Sales Stage PhaseDescription Decision Level

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 408: Siebel 8.0 Essentials

Siebel Business Components 17.8

Siebel 8.0 Essentials

8 of 18Copyright © 2007, Oracle. All rights reserved.

Business Component Table Property

Each business component contains a table property that specifies the base table

Base table

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 409: Siebel 8.0 Essentials

Siebel Business Components 17.9

Siebel 8.0 Essentials

9 of 18Copyright © 2007, Oracle. All rights reserved.

Fields That Map to a Base Table

Column property maps to a column in the base tableJoin property is blank

Join is blank

“Status” field references base table

Base table

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 410: Siebel 8.0 Essentials

Siebel Business Components 17.10

Siebel 8.0 Essentials

10 of 18Copyright © 2007, Oracle. All rights reserved.

Explicit Join

Is a join that brings in data from tables other than the base table to meet the business component’s data display requirements

Most fields referencing explicitly joined tables are read-only in the applet

Includes a join definition and a join specificationBC field references the join definition

S_OPTYRO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

S_STGRO

W_ID

NA

ME

PHA

SE_CD

STG_O

RD

ER

Opportunity

Base table Joined table

Name Sales StageDescription

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 411: Siebel 8.0 Essentials

Siebel Business Components 17.11

Siebel 8.0 Essentials

11 of 18Copyright © 2007, Oracle. All rights reserved.

Fields That Map to a Joined Table

Join property specifies the join object definition being referencedColumn property maps to a column in the joined table

The S_STG column, “NAME,”

contains sales stage data

Sales Stage field maps to Sales Stage join

Name of join that maps to S_STG table

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 412: Siebel 8.0 Essentials

Siebel Business Components 17.12

Siebel 8.0 Essentials

12 of 18Copyright © 2007, Oracle. All rights reserved.

Joining Data from Joined Tables

Returns only one row from the joined tableThere is a 1:1 or 1:M relationship from the joined table to the BC Relationship is established using a FK column on the base table to join to the PK column on the joined table

S_OPTYRO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

S_STGRO

W_ID

NA

ME

PHA

SE_CD

STG_O

RD

ER

CU

RR

_STG_ID

FK column on base tablePK column on joined table

Base Table Joined TableFK PK

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 413: Siebel 8.0 Essentials

Siebel Business Components 17.13

Siebel 8.0 Essentials

13 of 18Copyright © 2007, Oracle. All rights reserved.

Displaying Fields from Joined Tables

The UI layer specifies how information joined at the business layer will be displayed

From Base Table From Joined Table

S_STGS_OPTY

Opportunity BC

Opportunity List Applet

Data Layer

Business Layer

UI Layer

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 414: Siebel 8.0 Essentials

Siebel Business Components 17.14

Siebel 8.0 Essentials

14 of 18Copyright © 2007, Oracle. All rights reserved.

Join Definition

Specifies the joined table from which to retrieve dataIs a child object of the business component

Defaults the alias property to the name of the joined tableModify alias when there is more than one join to same table

Alias of join Joined table

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 415: Siebel 8.0 Essentials

Siebel Business Components 17.15

Siebel 8.0 Essentials

15 of 18Copyright © 2007, Oracle. All rights reserved.

Join Specification

Specifies how to retrieve the related row from the joined tableBased on the foreign and primary keys used to relate the base and joined tables

S_OPTYRO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

S_STGRO

W_ID

NA

ME

PHA

SE_CD

STG_O

RD

ER

CU

RR

_STG_ID

OpportunityName Sales Stage IdDescription

FK PK

Primary key

column

Foreign Key field

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 416: Siebel 8.0 Essentials

Siebel Business Components 17.16

Siebel 8.0 Essentials

16 of 18Copyright © 2007, Oracle. All rights reserved.

Implicit Joins

Base tables are automatically joined to their extension tablesKnown as implicit joinsMake extension table rows available to the BCAn explicit join to describe the relationship is not needed

Come pre-configured as part of the Siebel object architectureName of an implicit join is always the name of the _X table

Do not appear as Join object definitionsDo appear in the picklist for the Join property in an SVF

S_OPTY_X Appears HereS_OPTY_X does not

appear here

S_OPTY_X does appear

here

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 417: Siebel 8.0 Essentials

Siebel Business Components 17.17

Siebel 8.0 Essentials

17 of 18Copyright © 2007, Oracle. All rights reserved.

Fields That Map to an Extension Table

Join property specifies the extension table being referencedColumn property references a column in the extension tableField is editable in the UI

The S_OPTY_X column,

“ATTRIB_44,” contains budget

amount data

The Budget Amt field references the S_OPTY_X

table

17

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 418: Siebel 8.0 Essentials

Siebel Business Components 17.18

Siebel 8.0 Essentials

18 of 18Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A BC is a person, place, thing, or event about which data is storedA BC can be defined once then re-used by different BOsEach BC references a single base tableA BC can include data from joined tables A join definition specifies joined tableA join specification specifies how to access joined table via PK/FKAn extension table extends data in the BC Fields on extension tables use implicit joins

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 419: Siebel 8.0 Essentials

Siebel Party Business Components 18.1

Siebel 8.0 Essentials

18Copyright © 2007, Oracle. All rights reserved.

Module 18: Siebel Party Business Components

Siebel 8.0 Essentials

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 420: Siebel 8.0 Essentials

Siebel Party Business Components 18.2

Siebel 8.0 Essentials

2 of 26Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Define a party business componentDescribe the role of S_PARTY and its extension tables in storingparty business component dataDescribe how data is stored differently for non-party business components and party business componentsDescribe how implicit and explicit joins are used with party business components

Why you need to know:Party business components are a fundamental element of the application architecture

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 421: Siebel 8.0 Essentials

Siebel Party Business Components 18.3

Siebel 8.0 Essentials

3 of 26Copyright © 2007, Oracle. All rights reserved.

Business Challenge: Modeling Party Data

Party data is the ubiquitous information found in most RDBMSSome prominent party types include Contacts, Employees, Positions, Accounts, User Lists, Organizations, and Access Groups

Party types are often related to each otherEmployees are related to positionsPositions are related to accountsAccess groups are related to organizationsand so forth

Relationships may be dynamic or ad hocA contractor becomes an intern, then an employeeAn access group is required for participants of the January 2007Big Release Roll-Out Event

Siebel Security Guide: Configuring Access ControlConfiguring Siebel Business Applications: Configuring Tables and Columns: About the S_PARTY Table

Reference

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 422: Siebel 8.0 Essentials

Siebel Party Business Components 18.4

Siebel 8.0 Essentials

4 of 26Copyright © 2007, Oracle. All rights reserved.

Business Challenge: Modeling Party Data Continued

Representing these relationships could result in data models that do not have optimal normalization

Multiple records may be created for each relationshipA separate record is created for a contractor, another for an intern, and a third for an employee

A special entity may have to be created for each new ad hoc relationship

1. An individual is a contractor. . .

2. . . .becomes an intern . . .

Contractor Table

321-654-0987SinghNavdeepPhoneLast NameFirst Name

Intern Table

Employee Table

3. . . then an employee.

321-654-0987SinghNavdeepPhoneLast NameFirst Name

321-654-0987SinghNavdeepPhoneLast NameFirst Name

Same data, three different places

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 423: Siebel 8.0 Essentials

Siebel Party Business Components 18.5

Siebel 8.0 Essentials

5 of 26Copyright © 2007, Oracle. All rights reserved.

Business Solution: Party Business Component

Provides a way to create a network of relationships between party types to reflect changes and complexities in the business environmentInfuses flexibility into the data model

Can establish and change relationships between various party types, as needed

Employee

Position

Organization

Contact

Account

Access GroupUser

Party business component

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 424: Siebel 8.0 Essentials

Siebel Party Business Components 18.6

Siebel 8.0 Essentials

6 of 26Copyright © 2007, Oracle. All rights reserved.

Party Business Components

Are similar to standard business components; they:Group data according to business logicAre referenced by appletsSpecify access to tablesHave fields that map to columns

Name

NAME PARTY_TYPE_CD

Account

S_PARTY

Party Type Code Fields

Columns

Party business

component

Base table

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 425: Siebel 8.0 Essentials

Siebel Party Business Components 18.7

Siebel 8.0 Essentials

7 of 26Copyright © 2007, Oracle. All rights reserved.

Differences Between Party and Non-Party BCs

In standard BCs, most data is stored in the base table In party BCs, data is stored in extension tablesS_PARTY acts solely as a linking mechanism between types

S_OPTY

RO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

Base Table

Standard BC: Opportunity

BD

GT_A

MT

Party BC: Account

S_PARTY

RO

W_ID

NA

ME

Base Table

PAR

TY_TYPE_CD

S_ORG_EXT

RO

W_ID

NA

ME

Extension Table

ASG

N_D

T

Standard BCs Party BCs

Relationshipdata stored here

Record data stored here

Record data stored here

DIVISIO

N

REG

ION

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 426: Siebel 8.0 Essentials

Siebel Party Business Components 18.8

Siebel 8.0 Essentials

8 of 26Copyright © 2007, Oracle. All rights reserved.

S_PARTY and Its Extension Tables

Eight prominent S_PARTY extension tables store the data

S_PARTY

Person-related

S_EMP_PER

S_USER

S_CONTACT

S_BU

S_ORG_EXT Organization-related

S_POSTN

S_PARTY_GROUP

S_USERLISTAccess Control-related

Base Table Extension Tables

Tables such as S_CONTACT_X (which is the 1:1 extension table for the S_CONTACT table) are formally an S_PARTY extension table.

To list the complete set of S_PARTY extension tables, execute a query in Siebel Tools to retrieve all tables with the Base Table property = S_PARTY.

Other S_PARTY Extension Tables

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 427: Siebel 8.0 Essentials

Siebel Party Business Components 18.9

Siebel 8.0 Essentials

9 of 26Copyright © 2007, Oracle. All rights reserved.

Commonly Used Party Business Components

Represent a variety of entities that can be arranged into groupsrelated to persons, organizations, or access control

Contact

Employee

User

Account Position

Division

Organization User List

Access Group

Commonly Used Party Business Components

Person-Related

Access Control

Organization-Related

0/3

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 428: Siebel 8.0 Essentials

Siebel Party Business Components 18.10

Siebel 8.0 Essentials

10 of 26Copyright © 2007, Oracle. All rights reserved.

Person-Related Party Business Components

Store their main data in S_CONTACTMay store additional data in S_USER and S_EMP_PER

Serve as logical extension tables

S_USERR

OW

_IDS_CONTACT

RO

W_ID

LAST_N

AM

E

FST_NA

ME

EMA

IL_AD

DR

Logical extension table to store user-

specific data

Stores majority of person-

related data

S_EMP_PER

RO

W_ID

HIR

E_DT

BO

NU

S_FLAG

Logical extension table to store employee-

specific data

CU

RR

_SALA

RY

1/3

LOG

IN

PASSW

OR

D

PAR

_RO

W_ID

PAR

_RO

W_ID

PK FK FKPA

R_R

OW

_ID

S_PARTY

RO

W_ID

FK

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 429: Siebel 8.0 Essentials

Siebel Party Business Components 18.11

Siebel 8.0 Essentials

11 of 26Copyright © 2007, Oracle. All rights reserved.

Person-Related Party Business Components Continued

Primarily reference person-related S_PARTY extension tables

CJONES3JonesChris3Person3

SSMITH2SmithSally2Person2

DoeJohn1Person1

LOGINPAR_ROW_IDLAST_NAMEFST_NAMEPAR_ROW_IDPARTY_TYPE_CDROW_ID

S_USERS_CONTACTS_PARTY

A person. . . . . .has contact-related details. . .

. . .and user login data

S_USERS_CONTACTS_PARTY

Party Type Code Last Name Login Name

Party Business Component (BC): User No record here for

John. John is not a user.

1/3

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 430: Siebel 8.0 Essentials

Siebel Party Business Components 18.12

Siebel 8.0 Essentials

12 of 26Copyright © 2007, Oracle. All rights reserved.

Person-Related Party Business Components Continued

A number of person-related business components use these tables

CJONES3JonesChris3

SSMITH2SmithSally2

DoeJohn1

LOGINPAR_ROW_IDLAST_NAMEFST_NAMEPAR_ROW_ID

S_USERS_CONTACT

4-Sep3

HIRE_DTPAR_ROW_ID

S_EMP_PER

First Name Last Name

Party BC: Contact

Last Name Login Name Hire Date

Party BC: Employee

John is not a user or employee

Sally is not an employee

1/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 431: Siebel 8.0 Essentials

Siebel Party Business Components 18.13

Siebel 8.0 Essentials

13 of 26Copyright © 2007, Oracle. All rights reserved.

Organization-Related Party Business Components

Store their main data in S_ORG_EXTMay store additional data in S_BUMay include account, division, organization, or household data

S_BU

RO

W_ID

S_ORG_EXT

RO

W_ID

NA

ME

LOC

EMP_C

OU

NT

Logical extension table to store organization data

PRTN

R_FLG

HIST_SLS_VO

L

INT_O

RG

_FLG

2/3

=‘Y’ for ABC Company internal division

PK FK

S_PARTY

RO

W_ID

PAR

_RO

W_ID

NA

ME

BU

_FLG

PAR

_RO

W_ID

FK

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 432: Siebel 8.0 Essentials

Siebel Party Business Components 18.14

Siebel 8.0 Essentials

14 of 26Copyright © 2007, Oracle. All rights reserved.

Organization-Related Party Business Components Continued

Multiple organization-related business components use these tables

YABC Customer 3NABC Customer 3

ABC Company

ABC Company –Sales Division

NAME

2

1

PAR_ROW_ID

YABC Company 2N

HQY

BU_FLGNAMEPAR_ROW_IDLOCINT_ORG_FLAG

S_BU

Name Internal Org Flag Organization BU Name

OrganizationName Location

Account

Sales is not an organization

S_ORG_EXT

2/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 433: Siebel 8.0 Essentials

Siebel Party Business Components 18.15

Siebel 8.0 Essentials

15 of 26Copyright © 2007, Oracle. All rights reserved.

Groupings for Access Control

Represent groupings of party instancesUser ListAccess GroupPosition

RO

W_ID

RO

W_ID

POSTN

_TYPE_CD

RO

W_ID

3/3

PK FK FK

S_PARTY

RO

W_ID

FK

PAR

_RO

W_ID

NA

ME

PAR

_RO

W_ID

NA

ME

PAR

_RO

W_ID

NA

ME

S_PARTY_GROUP S_POSTNS_USERLIST

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 434: Siebel 8.0 Essentials

Siebel Party Business Components 18.16

Siebel 8.0 Essentials

16 of 26Copyright © 2007, Oracle. All rights reserved.

Groupings for Access Control Continued

Position3

Access Group2

Consultants User List1User List1

NAMEPAR_ROW_IDPARTY_TYPE_CDROW_ID

S_USERLISTS_PARTY

Gold Customers2

NAMEPAR_ROW_ID

S_PARTY_GROUP

Name

User ListName

Access Group

Access Group, User List, and Position are party business components

If a user list, populate

S_USERLIST

If an access group,populate

S_PARTY_GROUP

Business component

3/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 435: Siebel 8.0 Essentials

Siebel Party Business Components 18.17

Siebel 8.0 Essentials

17 of 26Copyright © 2007, Oracle. All rights reserved.

Example, Relating Party Data

A user list can be associated with persons via the S_PARTY intersection table S_PARTY_PERThere are relationships in S_PARTY

They are represented in S_PARTY_PERROW_ID in S_PARTY is used to relate party types

002003

001003

PERSON_IDPARTY_ID

Smith, MaryPerson001

Smith, JohnPerson002

ABC User ListUser List003

NAMEPARTY_TYPE_CDROW_ID

S_PARTY_PER S_PARTY

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 436: Siebel 8.0 Essentials

Siebel Party Business Components 18.18

Siebel 8.0 Essentials

18 of 26Copyright © 2007, Oracle. All rights reserved.

Example, Relating Party Data Continued

An access group can then be networked with those users, or other user lists, or most any other S_PARTY type

Person, User List, Organization and Account party types can be related to an Access List party type

003005

004005

002003

001003

PERSON_IDPARTY_ID

ABC OrgOrganization004

ABC Access GroupAccess List005

Smith, JohnPerson001

Smith, MaryPerson002

ABC User ListUser List003

NAMEPARTY_TYPE_CDROW_ID

S_PARTY_PER S_PARTY

Employee

Position

Organization

ContactAccount

Access Group User

Network

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 437: Siebel 8.0 Essentials

Siebel Party Business Components 18.19

Siebel 8.0 Essentials

19 of 26Copyright © 2007, Oracle. All rights reserved.

Party Implicit Joins

Used to populate the prominent S_PARTY extension tablesCreated automatically for these extension tablesAre similar to implicit joins for standard business components

Do not appear in join object definitionsROW_ID in base table is always the PKPAR_ROW_ID in extension is always the FK

CJONES3JonesChris3Person3

SSMITH2SmithSally2Person2

DoeJohn1Person1

LOGINPAR_ROW_IDLAST_NAMEFST_NAMEPAR_ROW_IDPARTY_TYPE_CDROW_ID

S_USERS_CONTACTS_PARTY

FKPK FK

Base Table Extension Table Extension Table

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 438: Siebel 8.0 Essentials

Siebel Party Business Components 18.20

Siebel 8.0 Essentials

20 of 26Copyright © 2007, Oracle. All rights reserved.

Explicit Join: Non-Party Business Component

Data in a party table can be joined into a non-party business componentExample: Bringing account data into the Opportunity business component for display in an Opportunity applet

Non-Party BC: Opportunity

Name Account Account LocationDescription

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 439: Siebel 8.0 Essentials

Siebel Party Business Components 18.21

Siebel 8.0 Essentials

21 of 26Copyright © 2007, Oracle. All rights reserved.

Explicit Join Definition

References the extension table that contains data of interest

RO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

RO

W_ID

NA

ME

LOC

Opportunity

S_PARTY extension

tablePA

R_R

OW

_ID

S_ORG_EXT

PR_D

EPT_OU

_ID

S_OPTY

Name AccountDescription

FK

References PAR_ROW_ID

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 440: Siebel 8.0 Essentials

Siebel Party Business Components 18.22

Siebel 8.0 Essentials

22 of 26Copyright © 2007, Oracle. All rights reserved.

Explicit Join: Another Party Business Component

Uses an explicit join to the party table, and not the implicit oneExample: Bringing parent account data into the Account business component for display in an Account applet

Account

Name Parent Account Name Parent Account LocationLocation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 441: Siebel 8.0 Essentials

Siebel Party Business Components 18.23

Siebel 8.0 Essentials

23 of 26Copyright © 2007, Oracle. All rights reserved.

Explicit Join Definition

Select or create an explicit join to the desired S_PARTY extension table

Use a join specification to specify the relationship

The Account party business component…

…has multiple explicit self-joins to S_ORG_EXT

Select the one that specifies the relationship of interest

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 442: Siebel 8.0 Essentials

Siebel Party Business Components 18.24

Siebel 8.0 Essentials

24 of 26Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Party types have dynamic or ad hoc relationshipsParty BCs create relationships between party typesParty BCs are similar to standard BCs but data is stored in extension tablesEight prominent S_PARTY extension tables store dataPerson-related party BCs store data in S_CONTACTOrganization-related party BCs store data in S_ORG_EXTAccess Group, User List, and Position are party BCsParty implicit joins populate S_PARTY extension tablesExplicit joins reference extension tables that contain data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 443: Siebel 8.0 Essentials

Siebel Party Business Components 18.25

Siebel 8.0 Essentials

25 of 26Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Examine how fields in a (non-party) business component map to columns in base and joined tablesExamine how fields in a party business component map to columns in S_PARTY, its extension tables, and joined tables

18

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 444: Siebel 8.0 Essentials

Siebel Party Business Components 18.26

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 445: Siebel 8.0 Essentials

Siebel Business Objects 19.1

Siebel 8.0 Essentials

19Copyright © 2007, Oracle. All rights reserved.

Module 19: Siebel Business Objects

Siebel 8.0 Essentials

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 446: Siebel 8.0 Essentials

Siebel Business Objects 19.2

Siebel 8.0 Essentials

2 of 16Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe how business objects focus data presented in the UI based on contextDescribe how views reference business objectsDescribe how links are used to relate parent business componentsto child business components

Why you need to know:Business objects enable you to configure your company’s business logic

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 447: Siebel 8.0 Essentials

Siebel Business Objects 19.3

Siebel 8.0 Essentials

3 of 16Copyright © 2007, Oracle. All rights reserved.

Application Architecture: Business Objects (BO)

Provide a way to organize BCs into major areas according to your business logic requirementsProvide context to views

TableColumn

Screen Application

BusinessComponent

BusinessObject

ViewApplet

Field

List Column or Control

UILayer

BusinessLayer

DataLayer

Siebel Application Architecture

1 or many

References

Configuring Siebel Business Applications: Configuring Business ObjectsReference

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 448: Siebel 8.0 Essentials

Siebel Business Objects 19.4

Siebel 8.0 Essentials

4 of 16Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Business components provide a way to group data according to business logic, but they do not address the need for context

For example, the opportunity BC defines how to retrieve opportunity data, but not related activity data

How is it that the Activities view shows only activities

related to the Kaboom opportunity??

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 449: Siebel 8.0 Essentials

Siebel Business Objects 19.5

Siebel 8.0 Essentials

5 of 16Copyright © 2007, Oracle. All rights reserved.

Business Solution: Business Objects Provide Focus

Business objects contain relationships used to access records from a child business component

Identifies records to display depending on context in which theyare viewedEnsures that only records related to parent BCs are returned from queries

Activities pertaining to Kaboom opportunity, and

only Kaboom, are displayed

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 450: Siebel 8.0 Essentials

Siebel Business Objects 19.6

Siebel 8.0 Essentials

6 of 16Copyright © 2007, Oracle. All rights reserved.

Business Objects

Are a collection of related business components that represent a major area of the business

Contain parent and child business componentsRelate parent and child components via linksLinks focus records displayed based on the context in which theyare viewed

Provide a container for grouping business componentsProvide context for views

Action

Opportunity

Product Source

Opportunity

Parent BC provides most data; data is specific to the BO

Children BCs provide data related

to parent

Link focuses data in view

Business Object

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 451: Siebel 8.0 Essentials

Siebel Business Objects 19.7

Siebel 8.0 Essentials

7 of 16Copyright © 2007, Oracle. All rights reserved.

Business Object Component

Contains Link and BusComp properties that relate the parent and child business components to each other

Parent BCChild BC

Link relates

parent to child

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 452: Siebel 8.0 Essentials

Siebel Business Objects 19.8

Siebel 8.0 Essentials

8 of 16Copyright © 2007, Oracle. All rights reserved.

Link Definition

Identifies the PK/FK relationshipIdentifies which records to retrieve from the child business componentIdentifies the foreign keys to populate when new child records are created

Is used with both 1:M and M:M relationships between parent and child data

Action

Opportunity

Product Source

OpportunityLink Definition

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 453: Siebel 8.0 Essentials

Siebel Business Objects 19.9

Siebel 8.0 Essentials

9 of 16Copyright © 2007, Oracle. All rights reserved.

1:M Link

Used for 1:M relationship between parent and child business components

FK field in child BC

PK field in parent BC(defaults to ROW_ID if

blank)

Link DefinitionDefaults to parent

BC/child BC

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 454: Siebel 8.0 Essentials

Siebel Business Objects 19.10

Siebel 8.0 Essentials

10 of 16Copyright © 2007, Oracle. All rights reserved.

M:M Link

Used for M:M relationship between parent and child business componentsUses an intersection table to resolve the link

Intersection table with FK columns

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 455: Siebel 8.0 Essentials

Siebel Business Objects 19.11

Siebel 8.0 Essentials

11 of 16Copyright © 2007, Oracle. All rights reserved.

Cascade Delete Property

The Cascade Delete property of a link specifies whether child records of a 1:M relationship are deleted when the parent recordis deleted

None: Neither deletes nor clears the foreign key columnClear: Does not delete, but clears the foreign key columnDelete: If a parent record is deleted, all child records are deleted

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 456: Siebel 8.0 Essentials

Siebel Business Objects 19.12

Siebel 8.0 Essentials

12 of 16Copyright © 2007, Oracle. All rights reserved.

Cascade Delete Property Continued

Determined by your business logic Should all activities be deleted if parent contact is deleted?Should all child opportunities be deleted if the parent account is deleted?

Deletion cascades

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 457: Siebel 8.0 Essentials

Siebel Business Objects 19.13

Siebel 8.0 Essentials

13 of 16Copyright © 2007, Oracle. All rights reserved.

Grandchild Business Components

Business objects may include grandchild business componentsUsed in parent-child-grandchild views

Parent BC: Account

Child BC: Activity Plan

Grandchild BC:Activity Plan Action

Activity plans for Art.net

Activities for selected Art.net

activity plan

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 458: Siebel 8.0 Essentials

Siebel Business Objects 19.14

Siebel 8.0 Essentials

14 of 16Copyright © 2007, Oracle. All rights reserved.

Links for Grandchild Data

Specify how the grandchild and child business component are related

Used to retrieve grandchild records on parent-child-grandchild views

Child/Grandchild

Parent/Child

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 459: Siebel 8.0 Essentials

Siebel Business Objects 19.15

Siebel 8.0 Essentials

15 of 16Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Business objectsProvide a way to group BCs according to business logicProvide context to viewsContain parent and child BCs associated via links

Links provide a way to focus records based on contextLinks relate parent and child BCsLink definitions specify which records to retrieve from child BCsA 1:M link is used for a 1:M relationship between parent and child BCsA M:M link is used for a M:M relationship between parent and child BCs

A M:M link uses an intersection table to resolve the linkBOs may include grandchild BCs

19

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 460: Siebel 8.0 Essentials

Siebel Business Objects 19.16

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 461: Siebel 8.0 Essentials

Configuration Strategy 20.1

Siebel 8.0 Essentials

20Copyright © 2007, Oracle. All rights reserved.

Module 20: Configuration Strategy

Siebel 8.0 Essentials

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 462: Siebel 8.0 Essentials

Configuration Strategy 20.2

Siebel 8.0 Essentials

2 of 16Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:List the critical elements of the Siebel configuration strategy

Why you need to know:Following a reasonable configuration strategy can expedite your configuration efforts and make your configured application robust and upgradeable

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 463: Siebel 8.0 Essentials

Configuration Strategy 20.3

Siebel 8.0 Essentials

3 of 16Copyright © 2007, Oracle. All rights reserved.

Configuring a Siebel Application

Configuring is the process of using Siebel Tools to modify an as-delivered Siebel application to meet business needsObject definitions are edited and created

Developers do not modify code in siebel.exeDevelopers do not write SQL directly

Repository Data

SRF

Siebel Repository File

Object Manager

Using Siebel ToolsDeveloping and Deploying Siebel Business Applications: Setting Up a Developer’s Local Database

Reference

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 464: Siebel 8.0 Essentials

Configuration Strategy 20.4

Siebel 8.0 Essentials

4 of 16Copyright © 2007, Oracle. All rights reserved.

Siebel Applications

Siebel as-delivered applications include a predefined set of screens, views, lists, forms, and their associated templates

A predefined view

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 465: Siebel 8.0 Essentials

Configuration Strategy 20.5

Siebel 8.0 Essentials

5 of 16Copyright © 2007, Oracle. All rights reserved.

Tailoring the Logical User Interface

Developers tailor the as-delivered Siebel screens, views, lists, and forms to better support users’ business needs

A tailored view

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 466: Siebel 8.0 Essentials

Configuration Strategy 20.6

Siebel 8.0 Essentials

6 of 16Copyright © 2007, Oracle. All rights reserved.

Tailoring the Physical User Interface

Use the existing physical UI files whenever possibleWhen necessary, copy existing files and modify as needed

Use an HTML or a text editor to modify layout

Database Server

.cfg

UI files

SRF

Siebel Repository File

Configuration File

Object Manager

•Siebel template files•Cascading style sheets•Image files

Use a text editor to modify colors,

fonts, etc.

Use a graphics program to add

your organization’s

images

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 467: Siebel 8.0 Essentials

Configuration Strategy 20.7

Siebel 8.0 Essentials

7 of 16Copyright © 2007, Oracle. All rights reserved.

Siebel Business Entities

Siebel as-delivered applications utilize a set of Siebel business components that implement the defined business logic

Account

Product

Service Request ActionContact

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 468: Siebel 8.0 Essentials

Configuration Strategy 20.8

Siebel 8.0 Essentials

8 of 16Copyright © 2007, Oracle. All rights reserved.

Tailoring the Business Logic

Developers also tailor the application by modifying the definitions of the business components to implement the business logic appropriate to the users’ organization

Modify form of the relationship

Add fields

Modify properties of existing fields

Account

Product

Service Request ActionContact

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 469: Siebel 8.0 Essentials

Configuration Strategy 20.9

Siebel 8.0 Essentials

9 of 16Copyright © 2007, Oracle. All rights reserved.

Extending the Data Layer

Siebel as-delivered applications contain a large, predefined set of database tablesDevelopers can tailor the application by extending the set of database tables

Recommendation is to perform this in a limited and controlled manner

S_OPTYRO

W_ID

CR

EATED

CR

EATED

_BY

CU

RC

Y_CD

RO

W_ID

LAST_N

AM

E

FST_NA

ME

MID

_NA

ME

CX_OPTY

RO

W_ID

LAST_N

AM

E

FST_NA

ME

MID

_NA

ME

S_OPTY_XRO

W_ID

ATTR

IB_44

Use existing extension tables to store additional

attributes, or…

… create custom tables on a very limited basis

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 470: Siebel 8.0 Essentials

Configuration Strategy 20.10

Siebel 8.0 Essentials

10 of 16Copyright © 2007, Oracle. All rights reserved.

Configuration Strategy

Make minimal changes to the as-delivered applicationUse existing object definitions in the as-delivered repository whenever possible

Ensures that a new configuration can be upgraded with minimal effort

Modify definitions as required, rather than creating new onesCreating new object definitions can lead to redundant configuration and increase the maintenance effort

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 471: Siebel 8.0 Essentials

Configuration Strategy 20.11

Siebel 8.0 Essentials

11 of 16Copyright © 2007, Oracle. All rights reserved.

Configuration Strategy Continued

Do not delete, make inactive, or rename seemingly unused object definitions

Other object definitions might reference themDeleting does not save memory, storage space, or improve performance

Use existing template filesModify only when changes are essentialModifying a template for one view or applet can have unexpected consequences if another view or applet uses the same template

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 472: Siebel 8.0 Essentials

Configuration Strategy 20.12

Siebel 8.0 Essentials

12 of 16Copyright © 2007, Oracle. All rights reserved.

Configuration Strategy Continued

Plan your configuration project from the top downFirst, determine UI and application functionalityThen, determine what changes are necessary at the Business layer to implement UI functionalityFinally, determine what changes are necessary at the Data layer to implement Business layer changes

Keep changes to a minimum

Determine UI Functionality

Determine Required Business Layer Changes

Determine Required Data Layer Changes

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 473: Siebel 8.0 Essentials

Configuration Strategy 20.13

Siebel 8.0 Essentials

13 of 16Copyright © 2007, Oracle. All rights reserved.

Configuration Strategy Continued

Make changes from the bottom upFirst, edit Data layer definitions, if necessaryThen, edit Business layer definitions, as requiredFinally, edit or create the templates and UI layer definitions to display the data correctly

Edit or Create UI Layer Templates and Definitions

Edit Business Layer Definitions, as Required

Edit Data Layer Definitions, if Necessary

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 474: Siebel 8.0 Essentials

Configuration Strategy 20.14

Siebel 8.0 Essentials

14 of 16Copyright © 2007, Oracle. All rights reserved.

Create a Separate Development Environment

To isolate the development effort from the enterprise’s production database, set up a development environment Each developer or group can work on a different aspect of the development effort

Use Siebel-supplied mechanisms to separate the development effort into projects

Test all customization and extensions thoroughly before deploying to end users

Server Machine Developer Workstation

Developer Workstation

Developer Workstation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 475: Siebel 8.0 Essentials

Configuration Strategy 20.15

Siebel 8.0 Essentials

15 of 16Copyright © 2007, Oracle. All rights reserved.

Develop on the Local Repository

Always make changes to the object definitions in the local repository

Cannot undo or back out changes when made directly on the serverChanges made directly on the server are immediately available toother developers

Incomplete changes on the server cause problems

Use Siebel-supplied mechanisms to copy definitions between server and local databases

Server Machine

Server repository

Localrepository

Developer Workstation

20

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 476: Siebel 8.0 Essentials

Configuration Strategy 20.16

Siebel 8.0 Essentials

16 of 16Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Configuring is the process of using Siebel Tools to modify an as-delivered Siebel applicationRecommended configuration strategy:

Tailor existing logical UI, physical UI, and business entities to minimize development and support effortDo not delete, make inactive or rename unused object definitionsUse existing template files

Plan configuration project from the top down, make changes from the bottom upDevelopment and production environments are separate

Enables developer or group to work independentlyEnables developer to test customizations before deploying

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 477: Siebel 8.0 Essentials

The Configuration Process 21.1

Siebel 8.0 Essentials

21Copyright © 2007, Oracle. All rights reserved.

Module 21: The Configuration Process

Siebel 8.0 Essentials

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 478: Siebel 8.0 Essentials

The Configuration Process 21.2

Siebel 8.0 Essentials

2 of 20Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the development environment architectureSet up the development environment

Why you need to know:Being able to set up the development environment is critical to carrying out a successful configuration

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 479: Siebel 8.0 Essentials

The Configuration Process 21.3

Siebel 8.0 Essentials

3 of 20Copyright © 2007, Oracle. All rights reserved.

The Development Environment

Siebel Remote is used to establish a local development environmentSiebel Developer Web Client provides full Siebel application functionality in a local environment

Accesses a local DB containing a subset of the server databaseSynchronizes with the server database, as necessaryImplements a development and testing environment for individual developers

Siebel Server

Synchronization Manager

Enterprise

Siebel File System

Developer Web Client

Object ManagerObject Manager

LocalCFG

LocalSRF

LocalDatabase

ServerDatabase

LocalSFS

ServerSRF

ServerCFG

Using Siebel ToolsSiebel Remote and Replication Manager Administration GuideDeveloping and Deploying Siebel Business Applications: Setting Up a Developer’s Local Database

Reference

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 480: Siebel 8.0 Essentials

The Configuration Process 21.4

Siebel 8.0 Essentials

4 of 20Copyright © 2007, Oracle. All rights reserved.

Procedure for Setting Up the Development Environment

1. Enable the Development Environment

2. Create the Developer

3. Create a User Login

4. Generate the Local Database Template

5. Extract User Data

6. Modify and Verify Configuration Settings

0/8

7. Initialize Local Database

8. Extract Repository Data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 481: Siebel 8.0 Essentials

The Configuration Process 21.5

Siebel 8.0 Essentials

5 of 20Copyright © 2007, Oracle. All rights reserved.

Enable the Development Environment

Enable the Siebel Remote component group to enable development using a local database

After enabling a component group, do not forget to restart the Siebel Server and synchronize components

1/8

Enable Siebel Remote

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 482: Siebel 8.0 Essentials

The Configuration Process 21.6

Siebel 8.0 Essentials

6 of 20Copyright © 2007, Oracle. All rights reserved.

Create the Developer

Add the developer as an employee Associate a position and responsibilityRegister the developer as a mobile client

2/8

Add employee record

Register mobile client

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 483: Siebel 8.0 Essentials

The Configuration Process 21.7

Siebel 8.0 Essentials

7 of 20Copyright © 2007, Oracle. All rights reserved.

Create a User Login

If necessary, create a corresponding database login using RDBMS tools and the grantusr.sql script as a templateExample:

3/8

Screen shot from Microsoft SQL Server Management Studio Express copyright © Microsoft Corporation

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 484: Siebel 8.0 Essentials

The Configuration Process 21.8

Siebel 8.0 Essentials

8 of 20Copyright © 2007, Oracle. All rights reserved.

Generate the Local Database Template

Run the Generate New Database server task to generate a local database template

Snapshot of the current version of the database schema (tables, columns, indexes, and so forth)

4/8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 485: Siebel 8.0 Essentials

The Configuration Process 21.9

Siebel 8.0 Essentials

9 of 20Copyright © 2007, Oracle. All rights reserved.

Extract User Data

Run the Database Extract server task to extract user dataGenerates compressed data files

Stored on the serverUser data is extracted for the user(s) specified in the job parameters

5/8

Data is extracted to the specified mobile user’s directory

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 486: Siebel 8.0 Essentials

The Configuration Process 21.10

Siebel 8.0 Essentials

10 of 20Copyright © 2007, Oracle. All rights reserved.

Modify Configuration Settings

Modify configuration information for Siebel Tools in ..\tools\BIN\<Language Code>\tools.cfg

For example, ..\tools\BIN\ENU\tools.cfgModify configuration information for Siebel Developer Web Client in ..\client\BIN\<Language Code>\<application>.cfg

For example, ..\client\BIN\ENU\uagent.cfg for the Siebel Call Center Developer Web client

Both configuration files hold critical information to ensure proper behavior of local executables:

Native client connection information for the local databaseODBC connection for the serverODBC connection for the local databaseLocation of the local Siebel file system

6/8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 487: Siebel 8.0 Essentials

The Configuration Process 21.11

Siebel 8.0 Essentials

11 of 20Copyright © 2007, Oracle. All rights reserved.

Example Configuration Settings

Example: tools.cfg (edited for length)

6/8

Overall configuration: Name of SRF file, application name, root

directory, and ODBC connections to local and server databases for

testing connectivity

Available data sources. Add more if needed.

Local connection information, including native connect string. Note

absolute path. Modify if local database is in a different location.

Server connection information

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 488: Siebel 8.0 Essentials

The Configuration Process 21.12

Siebel 8.0 Essentials

12 of 20Copyright © 2007, Oracle. All rights reserved.

Verify Web Client ODBC Connections

Ensure that the Web Client ODBC connection references the local database

The database file parameter of SEAW Local Db default instance must match ConnectString in [Local] section of uagent.cfgConnectString must point to local DB: \client\LOCAL\sse_data.dbf

6/8

Web Client connection. . .

. . .must match

Must point to local DB

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 489: Siebel 8.0 Essentials

The Configuration Process 21.13

Siebel 8.0 Essentials

13 of 20Copyright © 2007, Oracle. All rights reserved.

6/8

Verify Tools ODBC Connections

Ensure that the Tools ODBC connection references the local DBThe database file parameter of SSD Local Db default instance must match ConnectString in [Local] section of tools.cfg

Tools connection

. . .

. . .must match

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 490: Siebel 8.0 Essentials

The Configuration Process 21.14

Siebel 8.0 Essentials

14 of 20Copyright © 2007, Oracle. All rights reserved.

Test Tools ODBC Login

Check user IDs and passwords, and then test the connection

1. Check

2. Test

6/8

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 491: Siebel 8.0 Essentials

The Configuration Process 21.15

Siebel 8.0 Essentials

15 of 20Copyright © 2007, Oracle. All rights reserved.

Initialize Local Database

Local database is initialized upon first login to clientCreates local database (sse_data.dbf) from templatePopulates local database with data from compressed files

7/8

Local db

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 492: Siebel 8.0 Essentials

The Configuration Process 21.16

Siebel 8.0 Essentials

16 of 20Copyright © 2007, Oracle. All rights reserved.

Extract Repository Data

Perform a Get to extract repository dataCopies all objects from the server repository to the local repositoryMust be performed before compiling

SRF must be based on the full set of Siebel objects

8/8

“Get” all projects to extract repository

data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 493: Siebel 8.0 Essentials

The Configuration Process 21.17

Siebel 8.0 Essentials

17 of 20Copyright © 2007, Oracle. All rights reserved.

The Big Picture

Template provides schema

Server Database

Repository Data

Steps to create a usable local database

Server

ClientCompressed files provide

user data

Server database provides

repository data

Local Database

1. Generate DB template

4. Extract repository data

3. Use templates to initialize local DB and populate

user data

2. Extract user data

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 494: Siebel 8.0 Essentials

The Configuration Process 21.18

Siebel 8.0 Essentials

18 of 20Copyright © 2007, Oracle. All rights reserved.

Additional Developers

For each additional developer:1. Create the developer2. Create a user login3. Extract the local database4. Initialize the local database5. Verify login and data sources

Server Machine

Server Local Local Local

Developer Workstation

Developer Workstation

Developer Workstation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 495: Siebel 8.0 Essentials

The Configuration Process 21.19

Siebel 8.0 Essentials

19 of 20Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel Remote is used to establish a local development environmentAn individual developer uses Siebel Developer Web Client to develop and test custom configurationsCreate the development environment by:

Installing Siebel Tools on the clientEnabling Siebel Remote on the serverCreating a developer, login, and remote user on the serverGenerating, extracting, and initializing a local databaseVerifying login and data sources

21

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 496: Siebel 8.0 Essentials

The Configuration Process 21.20

Siebel 8.0 Essentials

20 of 20Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Set up an employee as a developerExtract a local database for the developerPopulate the developer’s local database with user and repositorydata

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 497: Siebel 8.0 Essentials

Managing Object Definitions 22.1

Siebel 8.0 Essentials

22Copyright © 2007, Oracle. All rights reserved.

Module 22: Managing Object Definitions

Siebel 8.0 Essentials

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 498: Siebel 8.0 Essentials

Managing Object Definitions 22.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Explain the role of projectsManage object definitions using Check Out and Check InLock projects locally

Why you need to know:Checking projects in and out are critical tasks that enable multiple developers to work together on a configuration effort

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 499: Siebel 8.0 Essentials

Managing Object Definitions 22.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Projects

Are named sets of object definitions in a repositoryOnly one version of a project exists in a repository at a time

Are a mechanism to organize object definitions so that a single developer can exclusively work on them as a group

Accounts Screen

Account (SSE)

Screen

Applets

Views

Account List Applet

Account Entry Applet

Manager’s Account List View

Account Profile View

Account List View

All Account List View

Project

Object definition with Project property = Account (SSE)

Using Siebel ToolsReference

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 500: Siebel 8.0 Essentials

Managing Object Definitions 22.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Existing and New Projects

The as-delivered Siebel application contains a large number of existing projectsNew projects are created by:

Selecting the Project object type, and Creating a new record in the Object List Editor

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 501: Siebel 8.0 Essentials

Managing Object Definitions 22.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Assigning Object Definitions to Projects

Every object definition must belong to one, and only one, projectEither a Siebel-supplied project, orA user-created project

A top-level object definition has a Project propertyChild object definitions belong to the parent’s project

Child belongs to parent’s project. It does not have a

project property.

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 502: Siebel 8.0 Essentials

Managing Object Definitions 22.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Viewing Object Definitions by Project

View object definitions in a project using the Project drop-down list

Displays object types for which there are object definitions in the selected projectSelect **All Projects** at the top of list to see all projects

1. Select project

2. Select object type

3. Object Type with

project property = Account (SSE)

displayed

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 503: Siebel 8.0 Essentials

Managing Object Definitions 22.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Repositories

Master copy of repository resides on server databaseStores tested object definitions for entire development team

Each developer has repository copy on local developer (client) workstation

Developers perform all editing on their local repository

Server Machine Developer Workstation

Developer Workstation

Developer Workstation

Server Local

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 504: Siebel 8.0 Essentials

Managing Object Definitions 22.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Copying Projects

Check In and Check Out safely manage concurrent use by multiple developersObject definitions in one or more projects can be copied:

From the server to the local developer repository (Use Get or Check Out to retrieve definitions)From the local developer repository to the server (Check In)

Overwrites the version in the destination repository

Server Local

Project1. Developer

uses Get, Check Out

3. Developer uses Check In

2. Developer modifies objects

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 505: Siebel 8.0 Essentials

Managing Object Definitions 22.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Getting Projects

Get populates a local database with a copy of projects from the server repositoryUse Get to bring object definitions modified by other developersto your local databaseUse Get with All Projects selected to populate a newly-initialized local database

First select Check Out from the Tools menu, and then click Get in the Check Out dialog box.

Note

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 506: Siebel 8.0 Essentials

Managing Object Definitions 22.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Check Out

Click Check Out to copy projects from the server repository to the local repository

The project’s Allow Object Locking property must be disabled

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 507: Siebel 8.0 Essentials

Managing Object Definitions 22.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Check Out Continued

Use Check Out in order to edit object definitions in a projectCopies all object definitions in project on server to local database

Local copy of project is overwritten by server versionLocks project on server repository

Prevents other developers from modifying that projectLocks the project in the local repository

Permits developer to make changes to object definitions in that project

Pencil indicates “writable”

Property is editable

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 508: Siebel 8.0 Essentials

Managing Object Definitions 22.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Check Out Objects

Allows for checking out individual objectsQuicker than checking out entire projects

To enable object-level Check OutEnable object-level Check Out in the [Siebel] section of tools.cfg

Ensure ToolsConstrain parameters = TRUEAdd EnableObjectCOCI=TRUE

Log in to Tools as SADMIN to the server database and enable the project’s Allow Object Locking property

2. Log in as SADMIN to server, then enable Allow Object Locking

1. Enable object-level Check Out in

tools.cfg

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 509: Siebel 8.0 Essentials

Managing Object Definitions 22.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

Canceling Check Out

Discards changes made to checked-out project if:Changes are no longer requiredLocal project has become corrupted

To cancel a Check Out of a project:Check out the project from the server again

Replaces modified object definitions in local repository with original version from server repositoryRepeating Check Out is permitted for person who last checked outproject

Then check in the project to unlock the project on both the local and server repositories

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 510: Siebel 8.0 Essentials

Managing Object Definitions 22.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Undo Check Out

Use Undo Check Out to release lock on a project on the server without checking in edited object definitions

Makes the original project available to another developerCan be followed by Get to restore original definitions in local DB

Alternate way to cancel Check Out

Undo Check Out:Releases lock on serverRetains lock on local database

Developer can continue to modify object definitions but will not be able to check them in to the server

Cannot publish definitions

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 511: Siebel 8.0 Essentials

Managing Object Definitions 22.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Check In

Is used when object definitions in the project have been edited and tested

Copies object definitions from local repository to server repositoryReplaces versions of checked out object definitions with new versions and unlocks projects

Can also check in object definitions in newly created projectsReleases locks on both server and local copies of project

Maintain Lock leaves project locked for further local modification by current developer

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 512: Siebel 8.0 Essentials

Managing Object Definitions 22.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

Check In Continued

Click Check In to copy projects and objects from the local repository to the server repository

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 513: Siebel 8.0 Essentials

Managing Object Definitions 22.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

Locking Projects

You can directly lock and unlock projects in the current repository (local or server)

Or Select Tools > Lock Project

Click to set Locked property directly…

You can select **My Locked Projects** in the Project drop-down list to display only those projects you have locked (either by checking them out or locking them directly).

Project Drop-Down

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 514: Siebel 8.0 Essentials

Managing Object Definitions 22.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Locking Projects Locally

Allows developer to make and test modifications locallyPrevents developer from checking changes into server repository

However, locking does not prevent other developers from checkingout and modifying a project

Consider when:Prototyping your ideas without preventing other developers from checking out the projectIntending to discard (rather than save) your work

Server Machine Developer Workstation

Developer Workstation

Developer Workstation

Server Local

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 515: Siebel 8.0 Essentials

Managing Object Definitions 22.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Do Not Lock Projects on the Server

Oracle recommends that developers never directly lock projects on the server

Prevents the developer from undoing changes and restoring original definitionsAllows other developers to get object definitions in an incomplete, inconsistent, and untested state

Always use Check Out and modify the object definitions locally

Server Machine Developer Workstation

Developer Workstation

Developer Workstation

Server Local

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 516: Siebel 8.0 Essentials

Managing Object Definitions 22.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Projects organize object definitions so a developer can work on them exclusivelyThe as-delivered application contains many projectsEvery object definition must belong to one, and only one, projectDeveloper edits a copy of master repository residing on local clientCheck Out and Check In are used to modify object definitions

Project locking ensures only one developer can modify a given object

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 517: Siebel 8.0 Essentials

Managing Object Definitions 22.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Explore how projects work in Siebel ToolsCheck out a project from the server

22

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 518: Siebel 8.0 Essentials

Managing Object Definitions 22.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 519: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.1

Siebel 8.0 Essentials

23Copyright © 2007, Oracle. All rights reserved.

Module 23: Editing and Compiling Object Definitions

Siebel 8.0 Essentials

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 520: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create new and edit existing object definitionsValidate edited object definitionsArchive object definitions and projectsBack up the local databaseCompile object definitions into a repository file

Why you need to know:These are fundamental activities that occur during all configuration efforts

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 521: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Use the Object Explorer and Object List Editor to edit object definitions

Ensure that the project has been locked

Editing Object Definitions

Type in a value, or. . . . . .select a value

Pencil indicates object is locked

and editable

Using Siebel ToolsReference

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 522: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a New Object Definition

Select the desired object type in the Object ExplorerCreate a new record in the Object List Editor

2. Select a project from the picklist

1. Enter a unique name

3. Assign values to the remaining properties, as necessary

Only locked projects are available for object creation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 523: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Changed Flag

Indicates records that have been modified since the changed dateIs set whenever a record is editedIs cleared by resetting the changed date value

The Changed flag indicates only that the record has been touched. A developer may change the value of a property and then undo the change. The Changed flag will still be set.Some developers will select an object type and then query for all object definitions with the Changed flag set. Only those definitions that have been edited will display in the OBLE.

Changed Flag

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 524: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Validating Object Definitions

Determines the correctness of selected object definitions in therepository

Includes all child object definitions for the selected parent definitions

Is based on a set of Siebel-defined rules

Error

Warning User can enable or disable a Siebel-

defined rule

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 525: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

Validating Object Definitions Continued

Select the object definition to validateRight-click and select ValidateClick Start in the Validate dialog box

Violations appear in Errors list Click to access the

Validate Options dialog box

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 526: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

Archiving Projects

Projects can be archived to .sif filesSelect the project (or projects) to be archivedSelect Tools > Add to ArchiveSelect an existing (or create a new) archive fileClick Save in the Export to Archive File dialog box

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 527: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Archive Files

Contain projects exported from a repositoryAvailable for importing into other repositories

Have .sif extension by defaultAre used to share projects among developersAre used to back up projectsCan be version-controlled using source code control systems

Archive file

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 528: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Archive Recommendations

Archive the entire projectDo not archive individual objects

Could result with inconsistent object definitionsDifficult to recover from a partial or incomplete archiveWill only save a few minutes per day compared to archiving the project

Archive at appropriate intervalsPrior to implementing a large amount of work After testing a section of workSeveral times per day during heavy development

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 529: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

Importing Object Definitions

Object definitions in an archive file can be imported into the local repository on the developer workstation

Appear in the current active repositoryTo import object definitions

Select Tools > Import from ArchiveSelect the archive fileIndicate how to resolve conflicting object definitions

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 530: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

Resolve Import Conflicts

Set the default conflict resolution

Adjust individual resolutions by right-clicking them in the “Object differences” list

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 531: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

Compare Objects

Displays differences between the selected object definition and another one:

In the current local repositoryIn an archive fileIn the repository on the server

Allows developers to identify differences while comparing objects

Delete individual child object definitionsCopy individual child object definitions in either direction

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 532: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

Compare Objects Continued

To compare an object definition to one in an archive or repository:

Select the object definition to be comparedSelect Tools > Compare ObjectsSelect type of comparisonSelect the archive or repository

Typically there will only be one repository available, and this repository defines an application. This repository is the Siebel repository and it will be available on a local database and on a server database. However, there are circumstances when multiple repositories will be available: when a group is upgrading to a new version of Siebel Applications, or working with multiple applications.There can not be multiple repositories in a production environment because some run-time components read repository objects directly from repositorytables, not the SRF. There can be multiple SRF files, compiled from different repositories, provided that they do not compromise data integrity. Refer to Bookshelf for more information.

Note

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 533: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

Compare Objects Continued

Examine the differences in the Compare Objects window

Definitions with difference highlighted

Differences displayed

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 534: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

Compare Objects Continued

To compare two object definitions in the developer repositorySelect two object definitions to be compared (by SHIFT-clicking)Select Tools > Compare Objects > Selected

Modifying definitions is supportedCopy selected control

Delete selected control

A child object definition in either parent object definition can be deleted or copied to the other definition.

Modifying Definitions

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 535: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

Source Code Control Integration

Automate integration with source code control for repository data

Check archive into code

management system

Creates archive when project is

checked in

ODBC to server and local

databases

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 536: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

Backing Up the Development Database

Is achieved by copying the local database file (.dbf)Backs up the entire database

Windows copy/paste

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 537: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

Compiling

Compile to produce an .srf file to test the configurationReads object definitions from repository and creates a flat filerepresentation to be accessed by siebel.exe at run time

Compile into .srf file located in the objects directory of the client application

Repository Data

SRF

Siebel Repository File

Object Manager

Configured application

Compiling

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 538: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

Compile Projects

When starting and at milestonesUse Compile All Projects to generate a new .srf file

Compile only selected projects or locked projects for incremental compileBack up the .srf file prior to full compileTo compile projects:

Select Tools > Compile ProjectsSelect project or projects

Compile into the client directory

Remember to compile any projects after using Get; this ensures that the object definitions edited by your fellow developers are compiled into your .srffile.

Get Projects

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 539: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

Copy the .srf file to create backupsCreate an initial backup copy before starting developmentCreate additional backups after major milestones

Rename the copies and compile into siebel.srfUsing the original siebel.srf name for development eliminates the need to edit .cfg files to point to a renamed .srf

Backing Up the Configuration File

Original .srf

Copy .srf file after major milestones to create backups

Compile into siebel.srf

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 540: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Rapid Unit Testing

Run-time behavior when user compiles SRF

If Web client is running:At end of the compile, the browser window refreshesThe user is brought back to the view that was displayed before the compile

If Developer Web Client is not running:

If user checked auto-start, Web client is started using debug setting

Allows developers to test changes in a local instance of the Developer Web Client

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 541: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Object definitions can be created and edited once the project islockedValidation determines correctness of object definitionsDeveloper can generate archives that contain exported projects

Share projects for back-up and version-controlExport projects to and import from archiveHighlight import conflicts and project differences

Compile to produce the .srf used to test a configurationCompiling:

Reads object definitions from repository tables Creates a flat file (.srf) accessed by the Siebel application at run time

Rapid Unit Testing allows developers to test changes using the Developer Web Client

23

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 542: Siebel 8.0 Essentials

Editing and Compiling Object Definitions 23.24

Siebel 8.0 Essentials

24 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Practice editing and validating object definitions in Siebel ToolsExplore the use of diff and archive options in Siebel ToolsCompile an .srf file

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 543: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.1

Siebel 8.0 Essentials

24Copyright © 2007, Oracle. All rights reserved.

Module 24: UI Layer Configuration: Web Templates

Siebel 8.0 Essentials24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 544: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.2

Siebel 8.0 Essentials

2 of 28Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you will be able to:Describe the role of Siebel Web template filesDescribe the role of Siebel tags in template filesList the types of templates Describe how to register, associate, and bind a template file

Why you need to knowUnderstanding template structure and how to register, associate,and bind template files is necessary in order to customize the look and feel of your Siebel application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 545: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.3

Siebel 8.0 Essentials

3 of 28Copyright © 2007, Oracle. All rights reserved.

Tailoring the Physical User Interface (UI)

Is performed by editing template files and cascading style sheets

Use an HTML or a text editor to modify layouts

Database Server

.cfg

UI files

SRF

Siebel Repository File

Configuration File

Object Manager

•Siebel template files•Cascading style sheets•Image files

Use a text editor to modify colors,

fonts, etc.

Siebel Developer’s ReferenceReference

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 546: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.4

Siebel 8.0 Essentials

4 of 28Copyright © 2007, Oracle. All rights reserved.

Siebel Web Template Files

Are HTML files that specify how to render the views for a Siebelapplication in the user’s browserSpecify the formatting and layout of:

Graphic and text elements User data

Consist of standard HTML tags and Siebel-specific swe: tags

HTML table tag

<table width="100%" class="banner" cellpadding='0' cellspacing='0' border='0'>

<tr>

<td><img src="images/spacer.gif" height="29"

width="10"></td>

<td><swe:menu type="Default" width="275" height="29" bgcolor="#ccccff" fgcolor="#000000" /></td>

Siebel tag

Standard HTML tag

The sample HTML tags shown in the slide are excerpted from the CCFrameBanner.swt template file.

Sample HTML

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 547: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.5

Siebel 8.0 Essentials

5 of 28Copyright © 2007, Oracle. All rights reserved.

Siebel Web Template Files Continued

Are stored as separate files outside the Siebel repositoryLocated in the WEBTEMPL directory in a Siebel installationHave an .swt extension

Are edited using text or HTML editor of your choiceCan include other template files via swe:include tagReference Cascading Style Sheet files (.css)

Siebel tag to include another Siebel

template file

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 548: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.6

Siebel 8.0 Essentials

6 of 28Copyright © 2007, Oracle. All rights reserved.

<swe:for-each-screen>

<swe:screenlink state="Active"><td id="swe:this.Id" …………<img src="images/tb1_mid_1.gif"><img src="images/tb1_opn_1_d.gif" align="absmiddle" width="5" height="19" alt="">

<swe:this property= FormattedHtml">&nbsp;<swe:screenname/>

&nbsp;</swe:this><img src="images/tb1_cls_1_d.gif" align="absmiddle" width="5" height="19" alt=""></td>

</swe:screenlink> … … … … … … … …

</swe:for-each-screen>

Siebel Tags

Are special tags inserted into template filesThey specify how objects defined in the repository should be laid out and formatted in HTML for display in the user’s Web browser

Control layout repetitively through iterationServe as placeholders for Siebel-specific content

Siebel tag to iterate over all screens

Siebel tag to insert the name of the screen

The sample HTML tags shown in the slide are excerpted from the CCScreenbar_Tabs.swt template file.

Sample HTML

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 549: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.7

Siebel 8.0 Essentials

7 of 28Copyright © 2007, Oracle. All rights reserved.

/*globalMenu Definitions*//*----------------------*/TR.globalMenu, TD.globalMenu,TD.globalMenu A,TD.globalMenu A:visited,TD.globalMenu A:hover{ font-size: 8pt;

color:#000000;background-color: #ccccff;font-weight:normal; }

Cascading Style Sheets

Can be modified to define global parametersFonts, foreground and background colors, and so forth

Style sheets:Are located in PUBLIC\enu\FILES directory in a Siebel installationCan be modified by customers

Edit style sheet files to achieve the desired look and style foryour implementation

Backup the current .css filesEdit .css files with your preferred HTML editor

From main.css

Adjust fonts

Adjust colors

Cascading style sheet files (.css files) are located in:• The Siebel Server installation directory

[siebsrvr_root]\WEBMASTER\files\[language_code]• The Mobile or Dedicated Web Client installation directory

]client_root]\PUBLIC\[language_code]\FILES• The Tools installation directory

]tools_root]\PUBLIC\[language_code]\FILES

File Locations

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 550: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.8

Siebel 8.0 Essentials

8 of 28Copyright © 2007, Oracle. All rights reserved.

Web Template Object Definition

Is a layer of abstraction between a UI object definition (View, Applet, or Web Page) and the file itselfUI object definitions reference Web Template object definitionsReferences an HTML Web template file

Changes are propagated to all objects that reference the file

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 551: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.9

Siebel 8.0 Essentials

9 of 28Copyright © 2007, Oracle. All rights reserved.

Web Template Placeholders

Contain placeholders for Siebel logical UI definitionsDefinitions map to Siebel Web templates

Placeholder

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 552: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.10

Siebel 8.0 Essentials

10 of 28Copyright © 2007, Oracle. All rights reserved.

Web Template Explorer

Is used in Tools to:Identify template files included in a template fileExamine the contents of a template fileInvoke an editor to modify the template file

Highlights Siebel-supplied tags for easy viewingNavigate to View > Windows > Web Templates Window

Child template

Parent template

swe tag highlighted

Filter

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 553: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.11

Siebel 8.0 Essentials

11 of 28Copyright © 2007, Oracle. All rights reserved.

Types of Web Templates

List Applet Web Templates

View Web Templates

Web Page Web Templates

Form Applet Web Templates

0/4

This list of Web Templates is not comprehensive; there are also Tree Applet Web Templates and Specialized Web Templates. Refer to Siebel Bookshelf for more information.

Note

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 554: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.12

Siebel 8.0 Essentials

12 of 28Copyright © 2007, Oracle. All rights reserved.

Form Applet Web Templates

Define the layout of form appletsPlaceholder provides starting point for building appletTools’ Web Layout Editor assists you in setting template file parameters

1/4

Account Entry applet uses Applet Form

Grid Layout

Object Manager uses template to build applet

Web Layout Editor

Tools

UI

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 555: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.13

Siebel 8.0 Essentials

13 of 28Copyright © 2007, Oracle. All rights reserved.

List Applet Web Templates

Define the layout of a list appletStandard Interactivity list applets use Base and Edit modes

A read-onlylist of data with

buttons for editing

An editable form for querying

and data entry

2/4

Edit Mode

Base Mode

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 556: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.14

Siebel 8.0 Essentials

14 of 28Copyright © 2007, Oracle. All rights reserved.

List Applet Web Templates Continued

High Interactivity clients use EditList mode

An editable list of data

2/4

EditList Mode

EditList mode supports querying and data entry

directly in the list

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 557: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.15

Siebel 8.0 Essentials

15 of 28Copyright © 2007, Oracle. All rights reserved.

View Web Templates

Define the layout of a viewCommon view templates include:

View 50 50View Basic

View Detail (Parent with Pointer)

3/4

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 558: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.16

Siebel 8.0 Essentials

16 of 28Copyright © 2007, Oracle. All rights reserved.

Web Page Web Templates

Define the layout of Web pages such as:Login PageError PageContainer Page

The Login Web template

defines the layout of theLogin page

4/4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 559: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.17

Siebel 8.0 Essentials

17 of 28Copyright © 2007, Oracle. All rights reserved.

Using Template Files

Requires three types of relationships:Registering creates an object definition in the repository Associating identifies the Web template used to render an appletor viewBinding fastens a control to a specific position on the page or an applet to a view

Applets

(View)Templatefile

View

(View) Web template

Applet placeholders

View Example

Binding

Associating

Registering

swt

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 560: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.18

Siebel 8.0 Essentials

18 of 28Copyright © 2007, Oracle. All rights reserved.

Creates a Web Template object definition to define the logical name for the templateCreates a Web Template File object definition to reference the actual physical file

Registering a Template File

Logical name in repository for template

Actual name of the physical template file

Type of Web template

Siebel applications are delivered with hundreds of template files, all of which are registered. You will only need to register a template file in the unlikely event that you need to create a new file.

Registering

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 561: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.19

Siebel 8.0 Essentials

19 of 28Copyright © 2007, Oracle. All rights reserved.

Associating an Applet with Its Template

Creates an Applet Web Template object definition to specify the associated Web template

Different applet modes can reference different Web templates

Applet template used to render applet for modeMode for

the applet

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 562: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.20

Siebel 8.0 Essentials

20 of 28Copyright © 2007, Oracle. All rights reserved.

Associating a View with Its Template

Creates a View Web Template object definition to specify the associated Web template

Each view references a single view Web template

Web template used to render view

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 563: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.21

Siebel 8.0 Essentials

21 of 28Copyright © 2007, Oracle. All rights reserved.

Associating a Web Page with Its Template

Creates a Web Page object definition and sets the Web Template property

Web page template used to render Web page

Web page templates are templates that are not view or applet Webtemplates. Examples of common Web page templates are login page, error page, and container page.

Web Page Template

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 564: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.22

Siebel 8.0 Essentials

22 of 28Copyright © 2007, Oracle. All rights reserved.

Binding

Maps the components of an applet or view to placeholders in the corresponding template fileInformation is specified in the repository

View Web Template Item Applet Web Template Item Web Page Item Results in the corresponding element being displayed at run time

Binding Applets to ViewsBinding Controls to AppletsControls/Lists

(Applet)Template

file

Binding

Applet

(Applet) Web template

Control placeholders

Applets

(View)Template

file

View

(View) Web template

Applet placeholders

Binding

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 565: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.23

Siebel 8.0 Essentials

23 of 28Copyright © 2007, Oracle. All rights reserved.

Applet Web Template Items

Are created by the binding processItem Identifier is the “id” attribute value in the swe:control tag

Are used at run time by the Siebel Web Engine to identify the controls that make up an applet

<swe:for-each count="6" startValue="1300" iteratorName="currentId">

<swe:control id="swe:currentId" hintMapType="FormItem">

The swe:control tag shown in the slide is in the dCCForm1Col.swt template file. This file is included in the dCCApletForm1Col.swt template file which is registered as the Web Template File for the DotCom Applet Form 1-Column Web Template.This tag illustrates the use of the swe:for-each tag. In this case the swe:control tag is executed repeatedly with values from 1300 to 1305.

swe:control Tag

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 566: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.24

Siebel 8.0 Essentials

24 of 28Copyright © 2007, Oracle. All rights reserved.

View Web Template Items

Are created by the binding processItem Identifier is the “id” attribute value in the swe:applet tag

Are used at run time by the Siebel Web Engine to identify the applets that make up a view

<swe:applet hintMapType="Applet" id="1" hintText="Parent Applet"

The swe:applet tag shown in the slide is in the CCViewDetail_ParentPntr.swt template file. This file is registered as the Web Template File for the View Detail (Parent with Pointer) Web Template.

swe:applet Tag

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 567: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.25

Siebel 8.0 Essentials

25 of 28Copyright © 2007, Oracle. All rights reserved.

Web Page Items

Identify the links and buttons appearing on a Siebel Web pageItem Identifier is the “id” attribute value in the swe:pageitem tag

Are used at run time by the Siebel Web Engine to position the links and buttons

The HTML and SWE tags shown in the slide are excerpted from the dCCFrameBanner.swt template file.

swe:pageitem Tags

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 568: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.26

Siebel 8.0 Essentials

26 of 28Copyright © 2007, Oracle. All rights reserved.

Registering, associating, and binding adds object definitions tothe repository

Summary of Object Definitions

1. Identifies the physical template file

2. Identifies the logical template used to render

an applet, view, or container page

3. Specifies how the components of an

applet, view, or container page are mapped

Associating

Registering

Binding

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 569: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.27

Siebel 8.0 Essentials

27 of 28Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel Web Template Files are HTML files that specify how to render views for a Siebel application in a user’s browser

Can include other template filesCan reference CSS files

Siebel Tags are a Siebel-developed library of tags in Web template files processed at run timeCSSs can be modified to define global parameters such as fonts and colorsThe four Web Template types are Form Applet, List Applet, View, and Web PageTemplate files require three types of relationships: Associate, Register, and Bind

24

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 570: Siebel 8.0 Essentials

UI Layer Configuration: Web Templates 24.28

Siebel 8.0 Essentials

28 of 28Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Examine Web templates

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 571: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.1

Siebel 8.0 Essentials

25Copyright © 2007, Oracle. All rights reserved.

Module 25: UI Layer Configuration: Applets

Siebel 8.0 Essentials

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 572: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create and modify a list appletCreate and modify a form applet

Why you need to know:You may want to display new data in the UI

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 573: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Primary Applet Types: List Applet

Displays one or more records simultaneously in a listFields for one record are displayed in a single rowTypically displays fewer fields than a form applet due to width of monitorSupports drilldown to other views through hyperlinked fields

Configuring Siebel Business Applications: Configuring AppletsReference

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 574: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Primary Applet Types: Form Applet

Displays a single recordFields for the record are displayed in a grid or formCan show more fields at once than a list applet

The following are some additional applet types (see Siebel Bookshelf for a complete list):

Catalog listChartExplorer viewHierarchical listMessageMulti-value group appletPick appletRich listSalutation

Additional Applet Types

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 575: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a List Applet

Follow these steps to create a new list applet …

…Or use the List Applet WizardAutomates these stepsGenerally the preferred methodEnsures that object definitions and properties are createdEnsures that steps are not omittedIncreases developer productivity Speeds project completion

1. Create new applet object definition1. Create new applet object definition

2. Associate applet template with object definition2. Associate applet template with object definition

3. Bind controls and list columns to template 3. Bind controls and list columns to template Highly recommended

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 576: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

List Applet Wizard

Use the List Applet Wizard to create a new appletSelect File > New Object, select the Applets tab, select List Applet, and then click OK Wizard

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 577: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

List Applet Wizard Inputs

The List Applet Wizard requires the following inputs:Project the new applet will be part ofApplet name and display titleBusiness component the applet will referenceThe upgrade behavior

Admin, Non-preservable, PreservableThe Web templates that will be used for each mode

Base and EditList mode are commonly built using Applet List (Base/EditList)Edit mode is commonly built using Applet List Edit (Edit/New/Query)

The business component fields that will appear in the Web layoutAdditional controls that will be added to the applet

By default, all of the standard buttons are selected

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 578: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

List Applet Wizard Outputs

Creates required object definitions for controls, lists, and list columnsAssociates applet Web templates to the appletBinds list columns to templates

Appear as applet Web template itemsInvokes the Web Layout Editor

List Web Layout Editor invoked

New applet object definition created

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 579: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Web Layout Editor

Is used to add, remove, and reorder applet Web template itemsPlaceholders correspond to item identifiers of applet Web template items

Can be invoked from the right-click menu

2. Drag and drop items from the

Controls/Columns window

Select and right-click to delete

controls that you have added

1. Select the mode

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 580: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Applet Web Templates

Specify which template is used when the applet is displayed in agiven modeContains Applet Web Template items

The controls or list columns that have been bound to the templateThe item identifier that describes where in the applet the controls or list columns should appear

Specifies which template to use

Specifies where list column will appear

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 581: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

List Column Definitions

Specify:The field that is displayedThe display name that appears at the top of the list column

May reference a symbolic string

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 582: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

Symbolic Strings

Ensure that the same name appears exactly the same way throughout the applicationDefine it once, reference it anywhereProvide a way to manage updates, globallyAre used by user interface objects such as:

Labels List columnsApplet titles

Are stored in the repository containing words and phrases used in UI definitions

Global Dictionary contains many commonly used termsSymbolic String Locale object type allows language translation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 583: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

Using Symbolic Strings

String reference:Refers to symbolic string object definitionsIs selected from a picklistRefers to the name of the symbolic string

String override:Used for exceptions when strings are infrequently displayedCan be converted to symbolic strings using a Siebel-supplied string conversion utility

Reference to object in repository

A string conversion utility is available that exports from local tables and imports to the Symbolic String table. It allows symbolic strings to be exported to a file, translated in another application, then imported back to the Siebel application with translated values for the appropriate language.The utility also allows developers to export string overrides and re-import them as string references, and it consolidates redundant local definitions.The utility file is Strconv.bat and is located in the Tools\bin directory.

String Conversion Utility

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 584: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

Form Applet Wizard

Use the Form Applet Wizard to create a new form appletSelect File > New Object, select the Applets tab, select Form Applet, and then click OK

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 585: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

Form Applet Wizard Inputs

The Form Applet Wizard requires the following inputs:Project that the new applet will be part ofApplet name and display title Business component that the applet will referenceUpgrade behavior

Admin, Non-preservable, PreservableModes to use

Edit mode is required for all clientsUses the Applet Form Grid Layout template

Base mode is required for Standard Interactivity clients onlyBusiness component fields to appear in Web layout

Creates controls and binds them to applet Web templatesAdditional controls to be added to applet

By default, all standard buttons are selected

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 586: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

Form Applet Wizard Outputs

The Form Applet WizardCreates required object definitions for ControlsAssociates applet Web templates to the appletBinds columns to templates

Appear as applet Web template itemsInvokes the Grid Layout Editor New applet

object definition created

Grid Layout Editor

invoked

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 587: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

Grid Layout Editor

Is used to:Create new control object definitionsBind controls to the Web templateResize controls Reposition controls Grid Layout

Editor

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 588: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

Grid Layout Editor Continued

Allows drag-and-drop layout editingSupports formatting options such as:

Align controlsMake same sizeHorizontal spacingVertical spacing

Format menu. . .

. . .arranges selected controls

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 589: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

Web Controls Toolbar

Supports drag-and-drop creation of controlsContains icons for:

Text controlsCheck boxesLabels HTML

textHTML label

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 590: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

Properties for Editing

No Delete, No Insert, No Merge, No Update are set to restrict the behavior of the applet

Can also be set at the business component levelMost restrictive settings are always used

Affects all applets referencing this BC, or. . .

. . .can be customized for each applet

Business Component Applet

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 591: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

Preview the Applet

Right-click and select Preview to see how the applet appearsWhen finished, right-click and deselect Preview to return to the Grid Layout Editor

Right-click to preview the applet

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 592: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

List applets:Display records simultaneously in a listContain fields for one record displayed in a single row

Form applets display a single record and contain fields for the record in a grid or formApplet wizards ensure object definitions are created and steps are not omittedWeb Layout Editor is used to add, remove, and reorder Web template itemsList column definitions specify field displayed and display nameSymbolic strings ensure that the same name appears exactly the same way throughout the application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 593: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Modify a form applet using the Grid Layout EditorCreate a new list applet using the wizard

25

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 594: Siebel 8.0 Essentials

UI Layer Configuration: Applets 25.24

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 595: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.1

Siebel 8.0 Essentials

26Copyright © 2007, Oracle. All rights reserved.

Module 26: UI Layer Configuration: Applications, Screens, and Views

Siebel 8.0 Essentials

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 596: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Tailor applicationsConfigure how a view is accessed on a screenChange the order of screen views for a screenCreate and administer a viewAssociate a view with a template

Why you need to know:Enables you to modify the user interface

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 597: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Logical User Interface

Specifies the layout of the Siebel applicationConsists of:

Applications, screens, views, applets, controls/list columnsThis module focuses on views, screens, and applications

TableColumn

Screen Application

BusinessComponent

BusinessObject

ViewApplet

Field

List Column or Control

UILayer

BusinessLayer

DataLayer

1 or many

References

Siebel Application Architecture

Focus of this module

Configuring Siebel Business Applications: Configuring Screens and ViewsConfiguring Siebel Business Applications: Configuring Applications

Reference

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 598: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Applications

Are collections of screens through which users can navigateUse a container page to display the Siebel Web pageSpecify the application-level menus

Application-level

menus

Container page

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 599: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

The Container Page

Is a Web page that displays the menus, toolbars, screen tabs, and views that appear in the applicationIs specified in the Application object definitionOne container page per application Container Web page specifies

the container page 26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 600: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Container Page Example: Employee Application

Container page specifies application layout

Application-level menu Toolbar

Screen tabs

Link bar

Message bar

View

Links on the link bar and links used with business objects are two entirely different concepts. Links used with business objects are used to establish a relationship between parent and child business components in the business object. Link bar links on the container page are used merely as a navigation device.

Links

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 601: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

Application-Level Menus

Are specified in the Menu object type

Position specifies order of appearance

Caption specifies text displayed

…a list of menu items

Application uses Generic WEB menu…

…which contains…

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 602: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

Screen Tabs

Contain links to screensAre defined as page tabs

Child object of the application

Specifies text that appears on

the page bar

Specifies default page tab order appearance

in screenbar

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 603: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Screens

Have a child object type called Screen View that specifies the views and categories that appear in the screen

Sequence property specifies where the view appears in the screenMenu Text property defines the text that appears in Site MapType property defines the type of view within the screen

Four types: Aggregate category, aggregate view, detail category, and detail view

Specifies where the view appears

in the screen

Specifies the type of view for this definition

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 604: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Type Property for Screen View

An aggregate category is a container for a set of views accessible via a link in the linkbar

May also contain subcategoriesAn aggregate view is a container for a set of views accessible via the visibility filter drop-down list, a link in the link bar, or the Home Page

Aggregate category

Aggregate views

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 605: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

Type Property for Screen View Continued

A detail category is a container for a set of detail viewsEach view is represented as a tab on the view tab barUsed to provide an additional layer of navigation

A detail view is a single view that displays data in a list or form that can be queried and edited

Detail category. . .

Aggregate category

. . .displays detail view tabs

Detail view

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 606: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

Sequence Editor

Assists in defining where view appears in the applicationUpdates the sequence property of the screen view object definitionLists four screen view types in hierarchy

Right-click to editsequence

Right-click to invoke editor

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 607: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

View

Consists of one or more appletsReferences a business object that defines the relationships between data in the viewIs associated with a Web template that defines its layout

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 608: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

View and Templates

Views use templates to organize data layout

Menu Branding

Screen Tabs

Toolbars

View

Ticker

Web Template

Container Page Template

View Web Template

Form Applet Web Template

List Applet Web Template

Tree Applet Web Template

Applet placeholder

Control placeholders

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 609: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

Selecting a View Template

Find an existing view that has desired layoutExamine the View Web Template object definition to determine the view template to use

The Account list view…

…uses the View Detail (Parent with Pointer) template

Siebel best practice is to modify an existing template. Steps to create and register a view template:

• Create a Web Template object.• Create a Web Template file.• Point to the view template file in the webtempl directory.• Give a logical name to the template file so that it can be referenced by

other objects.Registering the template creates a logical reference in the repository. It tells the repository that the template file exists.

Best Practice

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 610: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

View Wizard

Use the View Wizard to create a new viewSelect File > New Object, select View, and then click OK

Wizard

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 611: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

View Wizard Inputs

The View Wizard requires the following inputs:Project that the new view will be part ofView name and display titleBusiness object that the view will referenceThe upgrade behavior

Admin, Non-preservable, PreservableThe Web templates that will be used

The applets that make up the viewThese applets will appear in the Web layout

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 612: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

View Wizard Outputs

The View Wizard:Creates a view objectReferences view to a business objectAssociates Web templates to the viewInvokes the Web Layout Editor

Creates view

References business

object

Invokes Web

Layout Editor

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 613: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

Web Layout Editor

Is launched by the View WizardCan be launched by right-clicking a view definition in the OBLE

Right-click and select Edit Web Layout

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 614: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

Web Layout Editor Continued

Displays the current layout of the viewApplet window shows the applets available for display within theview

Constrained by the view’s business object property

2. Drop onto applet placeholder

1. Drag applet from Applet

window

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 615: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

View Web Template Items

Are applets that have been bound to a viewItem identifier specifies where they are to appear

Used in the markup language tag that specifies corresponding control in a template

Binds a control to specific position on Web page

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 616: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Register and Assign View

Views must be administered in the client to make them available to users

Navigate to Administration - Application > Views in the client application to register the view

Copy and paste the view name from the object definition in Tools to the view record

Navigate to Administration - Application > Responsibilities to assign the view to one or more responsibilities

Assign the view to developers for unit testing and to users for system testing and production

1. Register the view 2. Assign the view

3. Clear the cache

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 617: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Applications are groups of screens through which users navigateScreens are containers for views

Screen views come in four types: aggregate view, aggregate category, detail category, and detail view

Views:Consist of one or more appletsReference a BO that defines the relationships between data in the viewAre associated with a Web template that defines their layout

26

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 618: Siebel 8.0 Essentials

UI Layer Configuration: Applications, Screens, and Views 26.24

Siebel 8.0 Essentials

24 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a viewAdd the view to a screen using a specified view navigation mechanismAdminister the new view

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 619: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.1

Siebel 8.0 Essentials

27Copyright © 2007, Oracle. All rights reserved.

Module 27: UI Layer Configuration: Drilldowns

Siebel 8.0 Essentials

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 620: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.2

Siebel 8.0 Essentials

2 of 16Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Configure drilldown to a related viewEnable the thread bar

Why you need to know:Enables you to add drilldowns to assist users with navigationEnables you to activate the thread bar to assist users

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 621: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.3

Siebel 8.0 Essentials

3 of 16Copyright © 2007, Oracle. All rights reserved.

Navigation Using Drilldown

You can configure list columns or controls for drilldownWhen the user clicks the hyperlinked value, the application navigates to another view

You can configure drilldown as static or dynamicStatic: Clicking the hyperlink always navigates to the same target viewDynamic: Clicking the hyperlink navigates to a target view determined by values shown in the current view

Configuring Siebel Business Applications: Configuring Screens and ViewsConfiguring Siebel Business Applications: Configuring Applications

Reference

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 622: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.4

Siebel 8.0 Essentials

4 of 16Copyright © 2007, Oracle. All rights reserved.

Static Drilldown: Same Business Component

Drill down to another view, keeping the business component (BC) context

Contact record in Visible Contacts

list view

Same contact record in Contact

Detail view

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 623: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.5

Siebel 8.0 Essentials

5 of 16Copyright © 2007, Oracle. All rights reserved.

Configuring Drilldown Within Same Business Component

Create a new drilldown objectSet the Hyperlink Field and View properties to enable static drilldownDrilldown object is child of an applet object

Specifies the BC field to be highlighted for drilldown

Specifies the target view

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 624: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.6

Siebel 8.0 Essentials

6 of 16Copyright © 2007, Oracle. All rights reserved.

Static Drilldown: Different Business Component

Drill down to another view, changing the business component context

Related account record in the Account Detail - Contacts view

The account field of the contact record in the

Contacts list view

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 625: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.7

Siebel 8.0 Essentials

7 of 16Copyright © 2007, Oracle. All rights reserved.

Configuring Drilldown to Different Business Component

Create a new drilldown object for the appletSet Hyperlink field and View properties as beforeSet Business Component, Source Field, and Destination Field properties to enable drilldown to a view based on a different parent record

BC in target view

Foreign Key field in record pointing

to target BCPrimary Key field in target BC

(default is ROW_ID)

Configuring Siebel Business Applications: Configuring Screens and Views: About DrilldownsSiebel Security Guide: Configuring Drilldown Visibility

Reference

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 626: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.8

Siebel 8.0 Essentials

8 of 16Copyright © 2007, Oracle. All rights reserved.

Dynamic Drilldown

Enables drilldown to multiple views from the same hyperlink field, depending on value of a field in the active record of the list

For personal contacts, go to the Personal Contact

List view

For business contacts, go to the Contact Detail view

The single value field that controls which view the dynamic drilldown navigates the user to is configured when the business component is created. In the example here, the business component is “Contact” and the single valued field is “Personal Contact.” For Adams, “Personal Contact” = Y (yes), while for Abboline “Personal Contact” = N (no).

Note

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 627: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.9

Siebel 8.0 Essentials

9 of 16Copyright © 2007, Oracle. All rights reserved.

Matching Conditions

Identify one or more matching conditions to trigger drilling down to a specific target view

For example:

Determine the order to check the matching conditionsConditions can involve different fieldsMultiple matches could occur for a given record

PersonalContact

Detail View

Personal Contact?

Contact Detail View

Y

N

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 628: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.10

Siebel 8.0 Essentials

10 of 16Copyright © 2007, Oracle. All rights reserved.

Configuring Dynamic Drilldown

Create the drilldown objects for each viewMultiple drilldown objects with same hyperlink but different views

Set sequence number to determine where to look for dynamic drilldown destinations

The drilldown object with the lowest sequence number is checked for dynamic drilldown destination child object definitions

The Original and Personal drilldown objects have the same Hyperlink field but different views

The Original drilldown object has the lower sequence number, so it is checked

for dynamic drilldown destinations

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 629: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.11

Siebel 8.0 Essentials

11 of 16Copyright © 2007, Oracle. All rights reserved.

Configuring Dynamic Drilldown Continued

Create a dynamic drilldown destination definition for each condition

Each condition specifies a destination drilldown object to useRecommended practice: Create a default dynamic drilldown destination to specify a desired view if there are no matches

If no default is configured, navigates to the view specified by the parent drilldown object

Field to check

Value to check for

Separate definition for

each destinationOrder in which

to checkDestination

Contact Detail view is

default

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 630: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.12

Siebel 8.0 Essentials

12 of 16Copyright © 2007, Oracle. All rights reserved.

Thread Bar

Tracks previous business object (view) and active recordUpdates whenever the user navigates to a different business objectProvides hyperlinks to previous views

Allows user to backtrack easily

Hyperlink to prior active record in the thread

The thread bar allows the user to navigate to a specific view or record previously visited, by selecting the item of interest in the thread bar.Drilldowns implement the user’s business logic; they are always parts of business processes. When a part of a business process is completed, the user will usually return to an earlier view or record, and the thread bar facilitates this navigation.

Note

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 631: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.13

Siebel 8.0 Essentials

13 of 16Copyright © 2007, Oracle. All rights reserved.

Thread Properties

Specifies the text that appears in the thread bar

Thread Title property specifies prior business object in hyperlink; if not entered,

application uses Title property

Specifies the record to “remember” in the

hyperlink

Thread fieldThread title

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 632: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.14

Siebel 8.0 Essentials

14 of 16Copyright © 2007, Oracle. All rights reserved.

Module Highlights

List columns or controls can be configured for drilldownDrilldowns can be static or dynamic

Static drilldowns always navigate the user to the same target view Dynamic drilldowns navigate the user to a target view determinedby the values shown in the current viewStatic drilldowns can be configured to drill down to the same business component or to a different business component

Thread bar allows user to easily backtrackConfigured in Tools

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 633: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.15

Siebel 8.0 Essentials

15 of 16Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create and configure dynamic drilldownsEnable and configure thread support

27

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 634: Siebel 8.0 Essentials

UI Layer Configuration: Drilldowns 27.16

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 635: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.1

Siebel 8.0 Essentials

28Copyright © 2007, Oracle. All rights reserved.

Module 28: Business Layer Configuration: Joins

Siebel 8.0 Essentials

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 636: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create a join that brings data from a standard table into a standard business component Create a join that brings data from a party table into a standard business componentCreate a join that brings data from a party table into another party business component

Why you need to know:Enables you to configure your company’s business logic

Configuring Siebel Business Applications: Configuring JoinsReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 637: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Joined Tables Review

Business components can include data from related joined tables

Brings in data as needed to meet the business component’s data requirements

For display in appletsFor use in processing by the business component

S_OPTYRO

W_ID

NA

ME

DESC

_TEXT

CU

RC

Y_CD

S_STGRO

W_ID

NA

ME

PHA

SE_CD

STG_O

RD

ER

Opportunity

Base table Joined table

Name Sales StageDescription

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 638: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Three Definitions Are Used to Implement a Join Review

Join definition specifies the joined tableJoin specification specifies the FK and PK used to relate the base and joined tablesSingle-value field (SVF) references the join object definition

2. Join specification

1. Join definition

3. Single-value field

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 639: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Join Example

Will bring Sales Stage data from S_STG into the Opportunity BCS_OPTY is the base table, S_STG is the joined table

From S_OPTY From S_STG 28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 640: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Building a Join0/6

1. Locate the Data Source

2. Examine Existing Joins

3. Diagram the Join

4. Create the Join Definition

5. Create the Join Specification

6. Map the Single Value Field(s)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 641: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

1. Locate the Data Source

Identify potential data sourcesPeruse application for data that you seek

The required data could exist in another business component

Once you find the data in the UI, identify the specific table and column where the data resides

Trace down from the UI element to the table column

For assistance, use the job aid from the Business Component lab

Identify table and column that contains data you seek

1/6

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 642: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

2. Examine Existing Joins

Determine if a join already existsPeruse existing joins for joins that might be candidates Oracle has already provided many commonly-used joins

If a join exists that meets data display requirements, use itOtherwise, create a new join

Examine alias for candidates

2/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 643: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

The Join Diagram template simplifies join creationGather information first, then create the join

Indicate each of the numbered items

3. Diagram the Join3/6

Business Component: Opportunity

Single Value Field: Sales Stage Id

Base Table Joined TableFK PK

CU

RR

_STG_ID

S_OPTYRO

W_ID

RO

W_ID

S_STGNA

ME

1. Business component

7. Single-value field

3. Joined table

4. Joined table column

6. Primary key column

2. Base table

5. Foreign key column

Join Diagram Worksheet

1. Enter business component name.

2. Enter base table name: value of Table property for BC.

3. Enter joined table name.

4. Enter joined table column name that contains data to be brought into this BC.

5. Enter foreign key column name. Select Table :: [base table] | Column. Query Foreign Key Table property for [joined table name]. For example, Table :: S_OPTY | Column. Foreign Key Table = S_STG.

6. Enter primary key column name. Select Table :: [joined table] | Column. Query Primary Key property for TRUE. For example, Table :: S_STG | Column. Primary Key = TRUE.

7. Enter SVF name. Select [business component] :: Single Value Field. Query Column property for [FK column]. For example, Opportunity :: Single Value Field. Column = CURR_STG_ID.

Procedure Quick Start

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 644: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

4. Create the Join Definition

Table property specifies joined tableAlias property is the name of join definition

Alias always defaults to the joined table’s nameDisplayed in ALL CAPS

Additional aliases for self-joins or multiple joins to the same table are specified by the developer

Recommended practice is to use Initial Caps

Joined table

Name of join

4/6

Default alias value: joined table name

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 645: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

5. Create the Join Specification

Specify foreign key field of the base business component in the Source Field propertySpecify primary key column of the joined table in the Destination Column property

Base Table Joined Table

CU

RR

_STG_ID

S_OPTYRO

W_ID

RO

W_ID

S_STGNA

ME

FK PK

5/6

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 646: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

FK PK

6. Map the Single Value Field(s)

Specify business component field name, the joined table, and column name of the joined table

SVF specifies the data you seekThe join determines how you access that data

Sales Stage SVF references NAME column in joined table

Base Table Joined TableC

UR

R_STG

_ID

S_OPTYRO

W_ID

RO

W_ID

S_STGNA

ME

Sales Stage join references S_STG joined table

6/6

BC SVF field name

Data you need

How to get the data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 647: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

An option in the join definitionSet Outer Join Flag to TRUE to return all records from the base table, even when there is no related row in the joined tableOuter joins will affect performance

Do not enable outer join if there is always a related row in thejoined table

Outer Join Flag

Outer join enabled

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 648: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

Outer Join Flag Continued

FK PK

NULLBroadband e2e

200 PCS Puma Laptop EB003

106Imperial Tobacco

200 PCS Puma Laptop EB002

105AT&T200 PCS CS Laptop units001

CURR_STG_IDDESC_TEXTNAMEROW_ID

S_OPTY

9/7/200102 - Qualification106

9/18/200101 - Prospecting105

9/18/200106 – Short List104

2/20/200407 - Selected103

9/18/200105 – Won102

9/7/200103 - Closing101

PHASE_CDNAMEROW_ID

S_STG

When Outer Join Flag is TRUE (checked), a left outer join is used

All records in source table are displayedEven if there is no related record in the target table

Records with no related record in target table display target values as null

All records displayed from

source

No corresponding record for Broadband e2e

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 649: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

Joins and Party Business Data0/3

Joins and Party Business Components

Bringing Party Data into a Standard Business Component

Bringing Party Data into a Party Business Component

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 650: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

Joins and Party Business Components Review

Party Business Components have S_PARTY as the base table, but store main data in S_PARTY extension tablesAn implicit join is used to reference fields from extension tables

Used when relationship between tables is knownAppears in Join property on SFV Does not appear as Join object definition

S_PARTY

RO

W_ID

NA

ME

PAR

TY_TYPE_CD

PAR

TY_UID

S_CONTACT

RO

W_ID

FST_NA

ME

LAFST_N

AM

E

PAR

_RO

W_ID

BIR

TH_D

T

Contact

Main columns use implicit join to S_CONTACT

First Name Last Name Birth Date

Base Table Extension Table

1/3

FKPK

The following tables are some of the extension tables for S_PARTY: S_BUS_CONTACTS_ORG_EXTS_POSTNS_USER

S_PARTY Extension Tables

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 651: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

Bringing Party Data into a Standard Business Component

Example: Bringing account data into the Opportunity business component for display in an Opportunity applet

Opportunity

Name AccountDescription

Standard business component

2/3

Data from an S_PARTY extension table

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 652: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

Three Definitions Bring Party Data into a Standard BC2/3

The Join definition specifies which S_PARTY extension table to useThe Join specification specifies to use PAR_ROW_IDThe SVF is the desired column from the joined extension table

2. Join specification

1. Join definition

3. Single-value field

PAR_ROW_ID is referenced in the join specification and identifies the primary key of the related account record.

PAR_ROW_ID

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 653: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

PKFK FKFK

Join Specification with Party: Similar to Standard But

Destination references PAR_ROW_ID, not ROW_IDKeys reference base to extension to join, rather than base to join

Oppty Base Table

Joined Table

FK

Oppty Base Table

Standard Party

S_OPTY

RO

W_ID

S_STG

RO

W_ID

NA

ME

CU

RR

_STG

_ID

S_ORG_EXT

RO

W_ID

S_PARTYRO

W_ID

PA

R_R

OW

_ID

S_OPTY

RO

W_ID

PK

Joined / Extension Table

PR

_DE

PT_O

U_ID

PK

2/3

Typically references PAR_ROW_ID

Typically references ROW_IDN

AM

E

Data resides in _EXT

001 001 001

Party Base Table

PAR_ROW_ID is referenced in the join specification and identifies the primary key of the related account record.

PAR_ROW_ID

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 654: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

Bringing Party Data into a Party Business Component

Example: Bringing parent account data into the Account BC for display in an Account applet

A join in a BC that refers back to data in that same BC

Account

Name Parent Account Name Parent Account LocationLocation

3/3

This Account references top account

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 655: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

Join Definition, Bringing Party Data into a Party BC

Must use an explicit join to an extension table based on the appropriate foreign keys

The alias must be different from those used by implicit joins in this BC

Must not use an existing implicit join to that extension table

3/3

. . .an explicit join must be used, and it must

have an alias

Since an implicit join to S_ORG_EXT already

exists. . .

Remember that there is an implicit join available for each extension table for a base table. S_PARTY has many extension tables, including S_ORG_EXT, S_CONTACT, S_POSTN, and S_USER. These implicit joins are used inother party business components to map their main data.

Implicit Joins

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 656: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Map Field to Column in Party Table

Select the appropriate explicit joinDo not use an implicit join to the table

Select the desired column in the joined tableSet the appropriate type (DTYPE_TEXT, etc.)

3/3

Select the explicit join instead of S_ORG_EXT

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 657: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

BCs can include data from related joined tablesJoin definitions and join specifications define how to access joined table dataSingle-value fields reference the join definition and define the field to access in the joined tableTo create a join:

Locate the data source, examine existing joins, diagram the join, create the join definition, create the join specification, and define the SVF

Joins that involve party data are similar to standard data; however, when bringing party data into:

A non-party BC, create a join specification based on PAR_ROW_IDA party BC, use the appropriate explicit join

28

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 658: Siebel 8.0 Essentials

Business Layer Configuration: Joins 28.24

Siebel 8.0 Essentials

24 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Examine references when a join is not present as well as when a join is presentCreate a join that brings in data from joined table and display it in the UI

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 659: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.1

Siebel 8.0 Essentials

29Copyright © 2007, Oracle. All rights reserved.

Module 29: Business Layer Configuration: Existing Business Components and Fields

Siebel 8.0 Essentials

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 660: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.2

Siebel 8.0 Essentials

2 of 30Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Edit business component properties to capture business logicDescribe business component view modesEdit field properties to capture business logicSpecify business component and field user properties

Why you need to know:Editing the properties of business components and fields helps you to more accurately and fully capture your business logic

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 661: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.3

Siebel 8.0 Essentials

3 of 30Copyright © 2007, Oracle. All rights reserved.

Business Component Properties

Capture business logicInclude:

Properties for editingNo DeleteNo InsertNo MergeNo Update

Owner DeleteSearch SpecificationSort Specification

Configuring Siebel Business Applications: Configuring Business ComponentsReference

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 662: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.4

Siebel 8.0 Essentials

4 of 30Copyright © 2007, Oracle. All rights reserved.

Business Component Properties0/4

Properties for Editing

Owner Delete Property

Search Specification Property

Sort Specification Property

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 663: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.5

Siebel 8.0 Essentials

5 of 30Copyright © 2007, Oracle. All rights reserved.

Properties for Editing

Set editing properties at the business component level to prevent deleting, inserting, merging, and updating records in all appletsExample: To maintain record continuity, users cannot delete or change price lists once they have been created

1/4

If TRUE, users cannot change existing records.No Update

If TRUE, users cannot merge records.No Merge

If TRUE, users cannot add new records.No Insert

If TRUE, once a record is created and committed, users cannot delete it. No Delete

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 664: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.6

Siebel 8.0 Essentials

6 of 30Copyright © 2007, Oracle. All rights reserved.

Properties for Editing Continued

These properties also appear on appletsMost restrictive settings are always usedSet these properties to FALSE at the business component level soyou can make exceptions at the applet level

Affects all applets referencing this BC, or. . .

. . .can be customized for each applet

Business Component Applet

1/4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 665: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.7

Siebel 8.0 Essentials

7 of 30Copyright © 2007, Oracle. All rights reserved.

Owner Delete Property

Set the Owner Delete property to TRUE to enable only the owner of a record to delete it

The primary on a team-based business component is the owner of the record

JRUBIN is primary owner; only JRUBIN can delete

2/4

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 666: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.8

Siebel 8.0 Essentials

8 of 30Copyright © 2007, Oracle. All rights reserved.

Search Specification Property

Specifies records to be retrieved by the business componentTypically used when there are multiple business components based on the same table

3/4

Conditional statement

BC field

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 667: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.9

Siebel 8.0 Essentials

9 of 30Copyright © 2007, Oracle. All rights reserved.

Search Specification Expression

Consists of field names, constants, functions, logical operators, and comparison operatorsExample: For a given user, Contact(All) retrieves:

All contacts where the Personal Contact flag is “N”All personal contacts belonging to the user

Field name in [ ]. . .

Logical operator

Operator

Function. . .must

match exactly

3/4

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 668: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.10

Siebel 8.0 Essentials

10 of 30Copyright © 2007, Oracle. All rights reserved.

Search Specification Considerations

Appear on business component properties and applet propertiesSearch specifications are part of the WHERE clause for all applets that display this business component

Predefined queries may also contribute to the WHERE clauseSearch specifications on the applet are combined with search specifications on the business component with an AND in the resulting SQL statement

Avoid mutually exclusive search specificationsAvoid competing search specifications that preclude record display

Screen Application

BusinessComponent

BusinessObject

ViewApplet

Field

List Column or Control

UILayer

BusinessLayer

3/4

Object Types ReferenceReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 669: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.11

Siebel 8.0 Essentials

11 of 30Copyright © 2007, Oracle. All rights reserved.

Sort Specification Property

Determines the sort order of the retrieved recordsUse (DESC) or (DESCENDING) to sort that field in reverse orderCannot be set at the applet level

. . .configure a sort specification

Must match exactly

To sort by last name, then first

name. . .

4/4

Ensure that an index exists to support the

sort specification29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 670: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.12

Siebel 8.0 Essentials

12 of 30Copyright © 2007, Oracle. All rights reserved.

BusComp View Mode

Specifies that the BC is subject to Access ControlOwner Type property identifies the Access Control mechanism thatlimits records a user can access

BCs may have multiple access mechanismsAllows records to be associated with different owner typesSupports multiple view modes

Identifies the Access Control

mechanism BC field used

to specify visibility

Object Types ReferenceSecurity Guide for eBusiness Applications

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 671: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.13

Siebel 8.0 Essentials

13 of 30Copyright © 2007, Oracle. All rights reserved.

BusComp View Mode, Example

The Opportunity business component has a position-based BusComp View mode

Invoked when user navigates to the My Opportunities or My Team’s Opportunities view

Visibility MVField property is set to Sales Rep, so application reads list of positions from Sales Rep MVF to determine record visibility

The My Opportunities view shows records with the user’s current position listed in the Sales Rep MVFThe My Team’s Opportunities view shows records where user’s direct or indirect reports are primaries on the Sales Rep MVF

Person- or position-based BusComp View modes

are invoked by My views

For each record, the application compares the user’s current position to

positions in Sales Rep MVF 29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 672: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.14

Siebel 8.0 Essentials

14 of 30Copyright © 2007, Oracle. All rights reserved.

Field Properties

Customize fields by editing property valuesSetting field properties at the business component level sets them across all applets that reference the business component

Each applet references one, and only one, business component

Properties set at the business component level affect all applets

that reference the business component

Object Types ReferencesReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 673: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.15

Siebel 8.0 Essentials

15 of 30Copyright © 2007, Oracle. All rights reserved.

Business Component Field Properties0/4

Required and Read Only

Validation

Default Values

Calculated Fields

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 674: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.16

Siebel 8.0 Essentials

16 of 30Copyright © 2007, Oracle. All rights reserved.

Required and Read Only Properties

Setting Required to TRUE prevents user from leaving field blankSetting Read Only to TRUE prevents user from editing the value

1. Contacts require last names

2. Required field marked with

asterisk

3. Attempting to save without last name causes

error message

1/4

To display custom error messages, you must use Data Validation Manager.Note

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 675: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.17

Siebel 8.0 Essentials

17 of 30Copyright © 2007, Oracle. All rights reserved.

Validation Property

Checks the rule when a record is saved to ensure that the field data is validMessage is customizableCan refer only to business component fields in the same record

2/4

Birth date must be

prior to the current date

Text displayed when

validation fails

Specify existing string

in SRF. . .

. . .or enter a custom

message

Option to include

system error message

Object Types ReferenceSiebel Developer’s Reference

Reference

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 676: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.18

Siebel 8.0 Essentials

18 of 30Copyright © 2007, Oracle. All rights reserved.

Validation Property Continued

Rules are expressed as a combination of logical operators, constants, field names, and predefined functions

Constant

Operator

Field name

Logical operator

2/4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 677: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.19

Siebel 8.0 Essentials

19 of 30Copyright © 2007, Oracle. All rights reserved.

Default Values for Fields

Pre Default ValueAutomatically assigns a value to a field for a new record

Post Default ValueAssigns a value to a field, if not entered by the user, before the record is inserted into the database

Example: If the user does not designate a contact as personal, the system assumes it is not personal, and sets it to N

3/4

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 678: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.20

Siebel 8.0 Essentials

20 of 30Copyright © 2007, Oracle. All rights reserved.

Calculated Fields

Derive their value from values in other fields in the same record of the business component in which the calculated field residesCannot be stored in the database; therefore, there is no associated columnTo enable, set Calculated property to TRUE (checked)

4/4

Column property is empty because

calculated fields are not stored in the database

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 679: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.21

Siebel 8.0 Essentials

21 of 30Copyright © 2007, Oracle. All rights reserved.

Restrictions on Calculated Fields

Calculated fields are read-onlySystem does not validate values of calculated fieldsSorting on calculated fields is not supportedQuerying on calculated fields is supported

Performance depends upon whether functions in the query expression can be incorporated into the SQL statement

4/4

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 680: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.22

Siebel 8.0 Essentials

22 of 30Copyright © 2007, Oracle. All rights reserved.

Calculated Value Property

Is an expression built from:Field names in the same business componentField names from the parent business component

Current BC must have the child in a detail viewStandard functionsString, numeric, and logical operators

System functions

4/4

Object Types ReferenceSiebel Developer’s Reference

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 681: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.23

Siebel 8.0 Essentials

23 of 30Copyright © 2007, Oracle. All rights reserved.

User Properties

Are object definitions added as children to an applet, business component, control, field, or list column Used to configure specialized behavior beyond what is configured in the parent object definition's propertiesEach user property contains its own conditional logic

Can implement specific, custom IF/THEN logicMany use their own unique syntax

Can be used as a declarative alternative to scriptingA wide variety of user properties exist, such as:

BC Read Only Field, Field Read Only Field, and On Field Update Set

There are a large number of user properties, each with its own specialized behavior. For additional information, refer to Siebel Developer’s Reference.

User Properties

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 682: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.24

Siebel 8.0 Essentials

24 of 30Copyright © 2007, Oracle. All rights reserved.

BC User Property Scenario

Business challengeBased on values the end user enters at run time, dynamically disallow updates to record

Business solutionUse the BC Read Only Field user property

Allows you to specify a field on the business component that determines whether individual records are read-only

Example: Shipped orders cannot accept changes to order entry line item records in an existing order

Order has shipped, and it is too late to add more line items to the order

Order Entry - Line Items

Order Entry - Line Items

Y

N

BC Read Only Flag Field that flags

whether record is read-only

Target BC

Read-only

Writable

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 683: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.25

Siebel 8.0 Essentials

25 of 30Copyright © 2007, Oracle. All rights reserved.

User Property, BC Read Only Field Example

Create a calculated field on the Order Entry – Line Items business component whose value is either Y or N

BC Read Only Field user property requires an input value of Y orN, so create a calculated field whose values are limited to those two values

For this example, create a calculated field named BC Read Only Flag with the expression: IF([Status] = "Shipped", "Y", "N")

This sets the value of the calculated field to Y if the status is shipped, N otherwise

BC Read Only Flag SVF has a value of Y if the status of the item is shipped, N otherwise

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 684: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.26

Siebel 8.0 Essentials

26 of 30Copyright © 2007, Oracle. All rights reserved.

User Property, BC Read Only Field Example Continued

Add the BC Read Only Field user propertySet the Value property to BC Read Only Flag

Value is the name of the calculated field on the BC When the value of this field is “Y”, the current record is read-only

Create User Property which references the calculated field

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 685: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.27

Siebel 8.0 Essentials

27 of 30Copyright © 2007, Oracle. All rights reserved.

. . .depending on the Boolean value in this field

User Property, Field Read Only Field

Sets a specific field in a business component to be read-onlyField Read Only Field: Location sets Location field as the target of a conditional statementValue is the name of a field that contains a Boolean value

At run-time, if condition is met, field is set to read only

. . .this target field. . .S_ORG_EXT

Y1

INT_ORG_FLGROW_ID

This condition affects. . . Location is

ready only

Location is not read

only

Y

N

INT_ORG_FLG

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 686: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.28

Siebel 8.0 Essentials

28 of 30Copyright © 2007, Oracle. All rights reserved.

Adding a User Property

Is done via a picklist in the Name property in the Business Component User Properties window

Only those user properties allowed for parent BC are displayed

Displays user properties allowed for this BC

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 687: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.29

Siebel 8.0 Essentials

29 of 30Copyright © 2007, Oracle. All rights reserved.

Module Highlights

BC properties are set to control behavior:Editing properties, Owner Delete, Search Specification, and SortSpecification

BC field properties are set to control behavior:Required, Read Only, Validation, Pre and Post Default, and ForceCase

BusComp View Mode specifies BC is subject to access controlCalculated fields derive their value from other fields in the same record of the BC in which the calculated field residesUser Properties have their own specialized logic that can be added to a BC

Declarative alternative to scripting

29

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 688: Siebel 8.0 Essentials

Business Layer Configuration: Existing Business Components

and Fields 29.30

Siebel 8.0 Essentials

30 of 30Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Incorporate business logic into the application by configuring properties of business components and fields

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 689: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.1

Siebel 8.0 Essentials

30Copyright © 2007, Oracle. All rights reserved.

Module 30: Business Layer Configuration: New Business Components and Fields

Siebel 8.0 Essentials

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 690: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create a new business component (BC)Add a business component to a business object

Why you need to know:Enables you to incorporate additional business entities that do not correspond to business components in a standard Siebel applicationEnables you to tailor your business logic

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 691: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Siebel-provided business components capture most commonly-used business entities, but they do not cover every possibilityExample: Sales organizations might record personal data about contacts, such as:

What colleges the contact attendedName of college, years attended, major field of study, sports played, honors received, and so on

The contact’s favorite restaurantsName and location, price range, type of cuisine, and so on

To capture this kind of information may require:Multiple fields to capture the details1:M or M:M relationship to the parent

Configuring Siebel Business Applications: Configuring Business ComponentsReference

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 692: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Business Solution: Create New Business Components

To capture this sort of information, create new business components

For example, create college and restaurant child BCs of the Contact parent BC

Used to add entities specific to your organization that are not in the Siebel repositoryYou can base these business components on tables supplied by Oracle

Standard Extension 1:M M:M

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 693: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Scenario: 1:M Relationship With Existing Table

Example: Create Colleges Attended and Favorite Restaurants business components for sales organizationColleges Attended and Favorite Restaurants have a 1:M relationship with Contact

Requires two business components, Colleges Attended and Favorite Restaurants

One for Contact : Colleges AttendedOne for Contact : Favorite Restaurants

When creating a BC with a 1:M relationship with the parent business component, consider using a 1:M extension table

Colleges Attended FavoriteRestaurantsContact

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 694: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Review: Standard 1:M Extension Tables

Predefined in the repository for many business componentsHave name of parent table appended with _XM

Contains many predefined ATTRIB columns of varying

type

NAME column stores the name of the child entity

PAR_ROW_ID column stores foreign key to

ROW_ID in main table

TYPE column identifies the child business component

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 695: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

User Key

TYPE, PAR_ROW_ID, and NAME serve as a user key for the table

These three columns are requiredMust provide values for all three columns when creating a new record

Combined value of the three columns must be unique

S_CONTACT_XM

RO

W_ID

TYPE

PAR

_RO

W_ID

NA

ME User Key

For BCs with data that cannot be stored in a Varchar 100 column, you must still provide a unique value for NAME

• NAME has physical type varchar 100• If two rows in table share same TYPE & PAR_ROW_ID, then NAME

must be unique• Workaround is to store value of ROW_ID in NAME

Ensuring that NAME Is Unique

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 696: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Business Component Wizard

Use the Business Component Wizard to create a new business component

Select File > New Object, select BusComp, and then click OK

Wizard

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 697: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Business Component Wizard Inputs

The Business Component Wizard requires the following inputs:Project new business component will be part ofBusiness component name

Must be unique among all business components in all projects The business component’s table nameFields that will be part of this BC

Selected in the wizard by specifying Table Column, then entering a field name

Specify TYPE column and relate it to Type fieldSpecify PAR_ROW_ID column and relate it to Id field Specify NAME column and relate it to Name fieldUse ATTRIB_ columns for additional data

Columns are limited to the table you select in wizardUse a separate column for each field

Establishes User Key

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 698: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Business Component Wizard Outputs

The Business Component Wizard:Creates a business component object and its child object definitionsCreates fields and relates them to table columns

Aside from what you specify in the wizard, uses default field and table values; for example, Owner Delete is set to FALSE

Creates the business

component object

definition

Creates new fields and relates them to columns

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 699: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Set the Pre-Default Value

Automatically assigns a value to a field for a new recordFor extension tables, set Predefault Value property of the Type field to the value used in the BC search specificationCan be used to ensure that the user key is populated

Ensures that all new records have a type

of “Restaurant”

Matches the value in the Search Specification

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 700: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Set Search Specification

Manually set the search specification to match the unique TYPE value for the business component

Specifies the records to be retrieved by the business componentTypically used with extension tables

Supports the case where multiple BCs are based on the same extension table

Search retrieves only records with a Type

of “Restaurant”

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 701: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

Colleges Attended

Multiple Business Components

You can use one table to map multiple user-defined child business componentsEach BC has a unique TYPE value

Stored in the TYPE column of the tableEach BC retrieves only those rows with its TYPE valueSpecify properties on business components and fields

Search SpecificationPre Default Value

S_CONTACT_XM

RO

W_ID

NA

ME

TYPE

PAR

_RO

W_IDFavorite

Restaurants

Type = College

Type = Restaurant

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 702: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Post-Creation Tasks0/3

1. Relate Child and Parent BCs

2. Reference Business Component in Business Object

3. Enable Display Data in UI

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 703: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Relate Child and Parent BCs

For each child/parent relationship, associate the newly configured child business component to the parent:

Create a link definition to relate child and parent records

Favorite Restaurants

1/3

Parent

Child

Colleges Attended

Contact

Child

Contact/Favorite Restaurants Link

Contact/Colleges Attended Link

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 704: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

Relate Child and Parent BCs Continued

Create a separate link for each child/parent relationship

In our scenario, Contact/Favorite Restaurants and Contact/Colleges Attended

Link creation is same as with any standard BCThis will be the link you specify in the business object

1/3

Parent is

Contact

Child is Restaurant

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 705: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

Reference Business Component in Business Object

Create a Business Object Component definition for each new business component

The business object defined for the parent is the one to useThe business component is the child you just createdSet the Link property

2/3

Parent BC

Child BC

Link you just created

If you create a parent business component you must also create an entirely new business object.

New Parent BCs and Business Objects

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 706: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Enable Display Data in UI

Build applets and views as required to display data from the business component

To prevent users from changing the value, do not display the Type field

List Applet Wizard

3/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 707: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Creating a Standalone Business Component

May be necessary when your company's business logic requires a new table be added to the database

In most cases, Siebel's extensive database should meet most of your needs. There could be exceptions.

To create a standalone BC:Create a new table to hold BC dataAdd appropriate columns to this tableCreate a new BC and add BC fieldsCreate a new Business Object and reference the BC in this BOEnable data display in the UIStandalone BCs are based on standalone tables and have no relationships to other BCs or tables

The new steps of creating a table and adding columns is covered in a later module.

Creating a Table

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 708: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Create a new BC as child of an existing BC to capture new informationWhen possible, use predefined _XM tables to store dataUse the BC Wizard to create a new BCWhen using extension tables, use one extension table to map to multiple child BCs

Each BC has a unique TYPE valueSpecify properties on BC and fields

Include required fields, such as Type and NAME

Create a link definition to associate new child BCs with parentAdd new BC to a BO, then create applets and views to display dataCreate a standalone BC, when necessary

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 709: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create and display a new business component based on a 1:M extension table

30

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 710: Siebel 8.0 Essentials

Business Layer Configuration: New Business Components and

Fields 30.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 711: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.1

Siebel 8.0 Essentials

31Copyright © 2007, Oracle. All rights reserved.

Module 31: Business Layer Configuration: Picklists

Siebel 8.0 Essentials

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 712: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the differences between dynamic and static picklistsAdminister a list of valuesConfigure a static or dynamic picklist

Why you need to know:Enables you to add picklists to your Siebel application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 713: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Picklists

Allow users to populate one or more single-value fields by selecting a value from a list

Enforces business rules and policiesMakes data entry fasterReduces errors

Can be either static or dynamic

Configuring Siebel Business Applications: Configuring Picklists and Pick Applets

Configuring Siebel Business Applications: Creating and Administering Lists of Values

References

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 714: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Static Picklist

Displays values in a drop-down list for user selectionCopies the selected value into destination field

No link to the original picklist dataCan be bounded or unbounded

Bounded picklist forces users to enter only a value in the picklistUnbounded picklist permits users to enter any value into the field

Draws values from picklist data managed by an administratorValues displayed in static picklists do not change during run time

Drop-down list UI visual cue for

static picklist

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 715: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Static Picklist Values

Are stored for all static picklists in the S_LST_OF_VAL table Appear in List of Values or LOV Explorer administrative views

Administration – Data > List of Values (or LOV Explorer)Each have a type, which indicates which static picklist the value belongs to

Values for the MR_MS static picklist

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 716: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Administering a Static Picklist

Use Administration – Data > List of Values Explorer viewSelect an existing picklist or create a new picklist type in the List of Values - Types appletExpand the type and select the child Values folderEdit the picklist values in the List of Values (LOV) applet

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 717: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Dynamic Picklist

Displays values in a pick appletDraws values from a business component (BC) with records edited by users

Values are dynamic and depend on current BC recordsIs used to update joined fields

Copies foreign key reference to the selected value into destination field

UI visual cue for dynamic picklist

Pick applet displayed when

select icon clicked

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 718: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Picklist Terms

Siebel picklists:Are associated with a field in the originating business componentDraw values from a pick business component

Opportunity: originating business component

Account: pick business component

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 719: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Create a New Picklist

Use the Pick List Wizard to create a new static or dynamic picklist

Select File > New Object > Pick List

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 720: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Wizard Inputs for a Static Picklist

The Pick List Wizard requires the following inputs:Project the created picklist object will be part ofBusiness component and field populated by the picklistPicklist name and type (Static)

Business component and field populated by the picklist

Picklist type is static

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 721: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Wizard Inputs for a Static Picklist Continued

The Pick List Wizard requires the following inputs (continued):Bounded or unbounded picklistType value (example: MR_MS)Pick list values

May use existing type and/or values in S_LST_OF_VAL

Enter values for static picklist

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 722: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Pick List Wizard Outputs for a Static Picklist

The Pick List Wizard creates:A picklist objectA pick map that specifies values copied to the S_LST_OF_VAL tableValues in S_LST_OF_VAL for the picklistActivated drop-down list column or control in applets containing the originating field

Picklist

Pick map for originating field

Drop-down control

Static picklists all share a common pick business component, PickList Generic. This very simple, Siebel-provided business component provides a connection between the originating business component and field and the values that appear in S_LST_OF_VAL. PickList Generic contains fields corresponding to each of this table’s columns, such as Type and Value.

Notice in the middle picture above that the pick map is mapping the originating field M/M to the PickList Generic field Value, which links the MR_MS entries in S_LST_OF_VAL with the M/M field of Contact.

PickList Generic

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 723: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

Activating a Drop-Down List Column or Control

The Pick List Wizard may activate drop-down control for picklist field

The wizard displays all applets displaying the originating fieldOnly the applets locked by developer will be activated

Wizard sets list column or control Runtime property to TRUEA drop-down arrow appears as a cue

Runtime set to TRUE

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 724: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Wizard Inputs for Dynamic Picklists

The Pick List Wizard requires the following inputs:Project the created picklist object will be part ofOriginating business component and field for the picklistPicklist name and type (Dynamic)

Originating business

component and field

Set type to Dynamic

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 725: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Wizard Inputs for Dynamic Picklists Continued

The Pick List Wizard requires the following inputs (continued):A pick business componentA field in the pick business component to sort onA picklist nameA search specification

Pick business component

Business component field

to sort on

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 726: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

Wizard Inputs for Dynamic Picklists Continued

The Pick List Wizard requires the following inputs (continued):Pick applet properties (No Delete, No Insert, No Update, No Merge)Values for a pick map, mapping fields between originating and pick business components

Define a pick map

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 727: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

Pick List Wizard Outputs for a Dynamic Picklist

The Pick List Wizard creates:A picklist objectA pick map constructed in the wizardA new pick applet, if neededActivated list column or control in applets containing the originating field

List column or control for originating field must have Runtime property set to TRUE

Picklist

Pick map for originating field

Field with select icon

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 728: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Constrained Picklist

Filters values dynamically based on value in parent picklist

Values available when Area is

NetworkValues available

when Area is Printer

Parent picklist Constrained child picklist

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 729: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Constraining a Picklist

Create a pick map definition for each field that must matchSet the Constrain property to TRUE for each of the matching fields

Filters the pick business component records for matchesDoes not copy values for the field

Constrained to return only Sub-

Areas whose Parent is equal to the Current Area

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 730: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Picklists allow selection of values from a list for one or more single-value fields in an originating business componentStatic picklists:

Display values in a drop-down listContain static values, which are managed through List of Values administrative viewsStore values in S_LST_OF_VAL table

Dynamic picklists:Display values in a pick appletContain dynamic data, which is typically the result of user transactionsAccess data in pick business component using a foreign key

Picklists are created using Siebel Tools’ Pick List Wizard

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 731: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a new static picklistCreate a new dynamic picklist

31

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 732: Siebel 8.0 Essentials

Business Layer Configuration: Picklists 31.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 733: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.1

Siebel 8.0 Essentials

32Copyright © 2007, Oracle. All rights reserved.

Module 32: Configuring Multi-Value Groups

Siebel 8.0 Essentials

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 734: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe multi-value groups and their benefitsUse Siebel Tools to configure a multi-value group

Why you need to know:Enables you to incorporate child data directly in an applet

More child data can be available within a viewMore effective use of screen space

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 735: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Multi-Value Group

A multi-value group (MVG) is a set of detail (child) records associated with a parent record

The Parent applet displays only one of the child recordsThe MVG applet opens on demand to display all child records

MVG applet

Configuring Siebel Business Applications: Configuring Multi-Value Group and Association Applets

Reference

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 736: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Multi-Value Group Continued

Is an alternative to a detail view for managing parent and related child records

Makes effective use of spaceDoes not require dedicated space on a view

Allows for multiple sets of detail records to be available from a single view

Business Address MVG

Account Team MVG

Territory MVG

Industries MVG

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 737: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Multi-Value Group Continued

Allows users to access child records for multiple parent recordsin a single list view

Business Address MVG

Territory MVG

Industries MVG

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 738: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Multi-Value Group Continued

Allows for creating queries that include values for fields in both parent and child records

Query on Organization

Query on Industries

Query on Territory

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 739: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Primaries

Primary key allows fast retrieval of the primary child record for display in the parent applet

A primary refers to a designated child recordDesignating a primary allows one child record to be retrieved quickly for display

Supported by a primary foreign key field in the parent business component to reference the child’s primary key (ROW_ID)

Siebel Data Model includes many primary foreign keys

S_ORG_EXTRO

W_ID

NA

ME

LO

C

PR_A

DD

R_ID

S_ADDR_ORGRO

W_ID

AD

DR

CIT

Y

OU

_ID

Foreign key

Primary foreign

key

Child BCParent BC

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 740: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

Primaries Performance Example

Three MVGs on a list applet displaying 10 parent records requires 31 queries to populate without primaries

One query to populate parent fields in list applet30 queries (three per parent record) to populate the MVGs

Multi-value groups

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 741: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Primaries Performance Example Continued

Using primaries, one query will populate all the fields on the list applet

A query using SQL joins populates each MVG with its primary child record

Multi-value groups

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 742: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

Object Types Supporting MVGs

MVGs are implemented in Siebel applications using the following object types:

Link

Multi-Value Field (MVF)

MVG Applet

0/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 743: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

Link

Must exist between parent and child business components in the MVG

Specifies how to get data from child business component

AccountName Location City

Business AddressCity Street Address

Child business component

Parent business component

1/3

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 744: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Multi-Value Field (MVF)

Is a field in the parent business component that references a field in the child business componentIs required for an MVG

S_ORG_EXTRO

W_ID

NA

ME

LO

C

EM

P_CO

UN

T

Business Address

Child business component

Account

City Street Address

Parent business component

Single-value field Multi-value field

Name Location City

2/3

S_ADDR_ORGRO

W_ID

CIT

Y

AD

DR

ZIPC

OD

E

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 745: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

MVG Applet

Displays child business component recordsDisplays list columns that allow the user to distinguish the desired record

MVG applets’ type is MVG

3/3

There is no requirement that the MVG applet display only those multi-value fields that are displayed on the parent applet. This allows an MVG applet to be used in other MVGs throughout the application.

MVG Applet

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 746: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Creating a Multi-Value Group

Use the MVG Wizard in Siebel Tools to create a multi-value group

Verify that a link between the parent and child business components exists Select File > New Object > MVG

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 747: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Inputs to the MVG Wizard

Provide the following information to the MVG Wizard:The project that the MVG will belong toThe master (parent) and detail (child) business componentsThe name of the multi-value linkThe Auto Primary property (discussed later)The link properties

The following properties can be set to TRUE or FALSE for a link: No Associate, No Copy, No Delete, No Insert, No Update. No Associate equals TRUE specifies that no new associations can be created through the link. New child records may be added.

Link Properties

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 748: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

Setting Auto Primary Property in the MVG Wizard

Set the Auto Primary property to either:Default (the first child record becomes the primary)Selected (the highlighted record becomes the primary)None (the user must specify the primary)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 749: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

MVG Wizard Output

The MVG Wizard creates an MVGIf no suitable MVG applet exists suitable for the choice of parent and child business components and MVFs, the wizard will open the MVG Applet Wizard

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 750: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Multi-Value Groups for M:M Relationships

MVGs can be built on M:M relationships as wellLink must specify the Inter Table property

S_ORG_EXT

RO

W_ID

NA

ME

LO

C

_PR_IN

DU

ST_ID

S_ORG_INDUST

RO

W_ID

OU

_ID

IND

UST

_ID

FK FK

PK PK

S_INDUST

RO

W_ID

NA

ME

SIC

DE

SC_T

EX

T

Child BC

AccountName Location Industry

IndustryName SIC Code

Parent BC Multi-value field

Intersection table

Primary

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 751: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Configuring MVGs for M:M Relationships

Create object definitions required for 1:M MVGsSpecify an association applet for the MVG applet

Allows users to select other child records to add to the MVG

Association applet

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 752: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A multi-value group (MVG) is a set of detail (child) records associated with a parent recordA primary is a designated child record that is displayed in the parent’s applet

Speeds retrieval of parent record with primary child record for display in UISupported by a primary foreign key

Objects needed to support an MVG are:Multi-value fields (MVFs)A multi-value linkA MVG applet

Use the MVG Wizard to create an MVG in Siebel Tools

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 753: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a new MVGCreate an MVG applet to display the MVG

32

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 754: Siebel 8.0 Essentials

Configuring Multi-Value Groups 32.22

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 755: Siebel 8.0 Essentials

Data Layer Configuration 33.1

Siebel 8.0 Essentials

33Copyright © 2007, Oracle. All rights reserved.

Module 33: Data Layer Configuration

Siebel 8.0 Essentials

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 756: Siebel 8.0 Essentials

Data Layer Configuration 33.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create extension columns in a tableCreate custom tables

Standalone table1:1 extension table1:M extension tableIntersection table

Why you need to know:Enables you to incorporate additional attributes and business entities into a Siebel application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 757: Siebel 8.0 Essentials

Data Layer Configuration 33.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Incorporating Additional Data

Your business requirements may include:Adding new fields to capture additional dataCreating new business components to capture additional business entities

Extending the Siebel database can satisfy these requirementsAdding one or more columns to an existing tableCreating new database tables to support new business components

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 758: Siebel 8.0 Essentials

Data Layer Configuration 33.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Prior to extending the Siebel database, consider using:

Unused Columns in an Existing Table

Existing 1:M Extension Table

Evaluate the Existing Database Tables0/2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 759: Siebel 8.0 Essentials

Data Layer Configuration 33.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Unused Columns in an Existing Table

Consider mapping new fields to unused columns in an existing base or 1:1 extension table

Verify that the candidate column has the desired typeConsider possible upgrade conflicts in future releasesConsider performance impact of a join to the 1:1 extension table

1:1 extension table of S_OPTY

Unused columns

Find desired type and length

1/2

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 760: Siebel 8.0 Essentials

Data Layer Configuration 33.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Existing 1:M Extension Tables

Consider mapping the new business component to an appropriate 1:M extension table (as discussed in an earlier module)

Verify that the business component has the correct M:1 relationship to the candidate parent business component

FavoriteRestaurantsContact

New business component has M:1 relationship to parent

(Contact)

2/2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 761: Siebel 8.0 Essentials

Data Layer Configuration 33.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

Extending the Database

Changes the database schema and requires propagating the changes to:

Other developers during developmentMobile users after development for applications in productionProduction enterprise at completion of development and testing

Requires creating additional object definitions to: Map columns in the EIM tables needed to import and export data to the extension columns and tables Specify how data for these extension columns and tables are to be routed to remote users (Dock Objects)

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 762: Siebel 8.0 Essentials

Data Layer Configuration 33.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

Using Siebel Tools to Extend the Database

Supports creating new:Extension columns on tablesStandalone tables1:1 extension tables1:M extension tablesIntersection tables

Creates new object definitions for the database extensionInvokes a wizard to build new tables

Makes the corresponding physical database changesDevelopers do not create, use, or maintain SQL scripts

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 763: Siebel 8.0 Essentials

Data Layer Configuration 33.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Best Practices for Extending the Siebel Database

General suggestions:When adding a new column:

If column is not often populated, use an existing column in an extension table if availableIf field often populated, avoid join overhead by using adding anextension column to base table

If data for column appears in:A form applet, prefer an existing column in an extension tableA list applet, prefer an extension column in the base table

Join overhead can be significant when displaying many records

Siebel Bookshelf, Configuring Siebel Business Applications, “Configuring Tables and Columns”

Reference

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 764: Siebel 8.0 Essentials

Data Layer Configuration 33.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a Custom Extension Column

Make logical changes to the Data layerCheck out the appropriate projectSelect the table to be extendedCreate a new column record with the desired properties

Name automatically prefixed with X_

Extension column Select data type

and length

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 765: Siebel 8.0 Essentials

Data Layer Configuration 33.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a New Table

Use the Table Wizard to create a new tableSelect File > New Object > Table

Four types of table can be created:Standalone table1:1 extension table1:M extension tableIntersection table

A table name must start with CX_ and cannot exceed 15 characters.Table Name

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 766: Siebel 8.0 Essentials

Data Layer Configuration 33.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a Standalone Table

Table wizard creates a standalone table with:Data (Public) as its typeNine system columnsOne index P1 on ROW_ID

System columns

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 767: Siebel 8.0 Essentials

Data Layer Configuration 33.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a 1:1 Extension Table

Provide a base table as input to the Table Wizard Choice restricted to the Data (Public) typeMultiple extension tables relate directly to the base table, and not to each other

1:1 extension tables cannot be created for tables such as S_ORG_EXT and S_CONTACT, which are already extension tables of S_PARTY. Rather, create the new table as an extension table of S_PARTY.

Extension Tables

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 768: Siebel 8.0 Essentials

Data Layer Configuration 33.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a 1:1 Extension Table Continued

The Table Wizard creates an extension table with:Ten system columns

Required nine system columnsPAR_ROW_ID column as the foreign key column to the base table

Two indexes:P1 index on ROW_IDU1 index on PAR_ROW_ID and CONFLICT_ID

S_PROD_INT

RO

W_ID

NA

ME

PAR

T_N

UM

UO

M_C

D

CX_PROD_INT_XR

OW

_ID

NE

W C

OL

UM

N

PAR

_RO

W_ID

Is used by Siebel Remote to resolve synchronization conflicts between remote clients. See Siebel Bookshelf, Remote and Replication Manager Administration Guide for further details.

CONFLICT_ID

Indexes allow fast retrieval and sorting of records using one or more designated columns. Inserts and updates on indexed columns are costlier than on un-indexed ones.

Indexes

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 769: Siebel 8.0 Essentials

Data Layer Configuration 33.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a 1:M Extension Table

Create if the parent table does not have an existing 1:M tableProvide a parent table as input to the Table Wizard

Choice restricted to the Data (Public) type

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 770: Siebel 8.0 Essentials

Data Layer Configuration 33.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

Creating a 1:M Extension Table Continued

Table wizard creates an 1:M extension table with:Data (Public) as its typeTen system columns

Nine required columnsPAR_ROW_ID column as the foreign key column to the base table

TYPE and NAME columnsThree indexes:

P1 index on ROW_IDU1 index on PAR_ROW_ID, TYPE, NAME, and CONFLICT_IDM1 index on TYPE and NAME

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 771: Siebel 8.0 Essentials

Data Layer Configuration 33.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

Creating an Intersection Table

Select both parent tablesChoices restricted to the Data (Public) type

Specify the foreign key column name for each parent table

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 772: Siebel 8.0 Essentials

Data Layer Configuration 33.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

Creating an Intersection Table Continued

Table Wizard creates an intersection table with:Data (Intersection) as its typeNine system columnsTwo foreign key columns as specifiedThree indexes:

P1 index on ROW_IDU1 index on two foreign key columns, TYPE, and CONFLICT_IDF1 index on foreign key to second parent table

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 773: Siebel 8.0 Essentials

Data Layer Configuration 33.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

Applying and Propagating Database Changes

Test changes locally before applying them to the server database

Reduces the likelihood of undesired changes to the server schemaBest practices for changing the schema:

0/3

1. Apply Changes to the Local Database

2. Propagate Changes to the Server Database

3. Propagate Changes to Other Developers

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 774: Siebel 8.0 Essentials

Data Layer Configuration 33.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

1. Apply Changes to Local Database

Click Apply/DDL to make the physical database changesChoice to apply schema changes or generate DDL scriptChanges are preserved across Siebel application upgrades

Compile relevant objects and projects Test changes locally before checking in to the server

Query tables/columns using a database SQL utility

1/3

New table

Stands for Data Definition Language, the subset of SQL statements used to define and manipulate database objects. Typical SQL commands used in DDL are CREATE, DELETE, ALTER, and so on.

DDL

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 775: Siebel 8.0 Essentials

Data Layer Configuration 33.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

2. Propagate Changes to Server Database

Check project into the serverCopies the table and column object definitionsDoes not apply those changes to the server database schema

Apply changes to the server database To make changes visible, press the Activate button on the Table object on the server machine

Compile and test against the server database

Apply

Server Machine Developer Workstation

Developer Workstation

Developer Workstation

Check in

2/3

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 776: Siebel 8.0 Essentials

Data Layer Configuration 33.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

3. Propagate Changes to Other Developers

Other developers need to apply changes to their local databases

Have other developers Get or check out the project and apply changes locallyAlternatively re-extract developers and have them get all projects

Server Machine Developer Workstation

Developer Workstation

Developer Workstation

Get/Check out

Get/Check out

3/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 777: Siebel 8.0 Essentials

Data Layer Configuration 33.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Alternatives to extending Siebel database schema:Utilize unused columns in an existing tableUse an existing 1:M extension table if appropriate

Extend the Siebel database in Siebel Tools:Add an extension column to an existing tableUse the Table wizard to create a new table:

Standalone1:1 extension table1:M extension tableIntersection table

Best practices to modify Siebel database schema:Apply changes locally and testPropagate changes to the server databasePropagate changes to other developers

33

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 778: Siebel 8.0 Essentials

Data Layer Configuration 33.24

Siebel 8.0 Essentials

24 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a custom extension column on a tableCheck in configuration and apply to the server database

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 779: Siebel 8.0 Essentials

Siebel Business Services 34.1

Siebel 8.0 Essentials

34Copyright © 2007, Oracle. All rights reserved.

Module 34: Siebel Business Services

Siebel 8.0 Essentials

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 780: Siebel 8.0 Essentials

Siebel Business Services 34.2

Siebel 8.0 Essentials

2 of 18Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe a business serviceDescribe the structure and role of property setsUse the business service simulator to test a business service

Why you need to know:Business services are an important building block for Siebel workflow

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 781: Siebel 8.0 Essentials

Siebel Business Services 34.3

Siebel 8.0 Essentials

3 of 18Copyright © 2007, Oracle. All rights reserved.

Automating Business Processes

A business process is a series of activities executed to achievea specific business objective

Example: the Quote to Cash business process (how an enterprise creates a quote and converts it to an order for submission)

Automation options within the Siebel application can address such challenges as:

Maintaining and standardizing consistent business processes across all business unitsRouting and assigning tasks accurately and efficientlyResponding in a timely, effective manner to customer inquiries and service requestsAssisting users with the implementation of best practicesOffering consistent and personalized service to customers

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 782: Siebel 8.0 Essentials

Siebel Business Services 34.4

Siebel 8.0 Essentials

4 of 18Copyright © 2007, Oracle. All rights reserved.

Siebel Workflow

Is a set of capabilities to extend the functionality of Siebel applications by automating business processesIncludes capabilities such as:

Workflow ProcessesAutomates steps in a business process

Workflow PoliciesInvokes workflow process under specified conditions

TasksGuides users through a series of views to complete a step in business process

Assignment ManagerAutomates assignment of data (such as opportunities and service requests) to the desired people

State ModelEnforces a limited life cycle for select business entities

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 783: Siebel 8.0 Essentials

Siebel Business Services 34.5

Siebel 8.0 Essentials

5 of 18Copyright © 2007, Oracle. All rights reserved.

Business Service

Is a unit of functionality that is reusable and globally accessibleExample: The ISS Shipping Cost Service computes shipping charges corresponding to a company’s shipping policies

Enables business logic to be executed repeatedly in multiple different contexts

Business logic is not restricted to a specific object (business component, applet, and so forth)

Can be invoked in a Siebel workflow process or a Siebel task

Integration Platform Technologies: Siebel EAI : Business ServicesReference

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 784: Siebel 8.0 Essentials

Siebel Business Services 34.6

Siebel 8.0 Essentials

6 of 18Copyright © 2007, Oracle. All rights reserved.

Prebuilt Business Services

Siebel repository contains many prebuilt business services to support processing in areas such as

Customer order managementISS Credit Check ServiceISS Shipping Cost ServiceISS Tax Calculation Service

Enterprise application integrationEAI Siebel AdapterEAI HTTP Transport

XML document processingXML Hierarchy ConverterXML Converter

Enforcing customer business rulesBusiness Rule Service

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 785: Siebel 8.0 Essentials

Siebel Business Services 34.7

Siebel 8.0 Essentials

7 of 18Copyright © 2007, Oracle. All rights reserved.

Repository-Stored Business Services

Some business services are stored in the Siebel repositorySiebel-developed business services

Are written in C++Cannot be modified by customers

Custom business services developed by usersAre written in Siebel Visual Basic or eScriptAre created and modified by customers using Siebel Tools

Custom business service

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 786: Siebel 8.0 Essentials

Siebel Business Services 34.8

Siebel 8.0 Essentials

8 of 18Copyright © 2007, Oracle. All rights reserved.

Client-Stored Business Services

Some business services are stored in the client databaseSiebel-developed business servicesCustom business services developed by users

Client-stored business servicesAre written in Siebel Visual Basic or eScriptAre created and modified by customers using the Administration -Business Services screenAre never executed if there is a repository-stored business service of the same name

The term “client database” refers to tables in the Siebel database that store user data.

Client Database

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 787: Siebel 8.0 Essentials

Siebel Business Services 34.9

Siebel 8.0 Essentials

9 of 18Copyright © 2007, Oracle. All rights reserved.

Methods

A business service consists of one or more operations called methods

Each method has a set of input and output arguments, each with aspecified type

StringManipulation

Length

Truncate

Concatenate

InputStringString

InputStringString

String1String

String2String

OutputStringString

OutputStringString

LengthNumber

LengthNumber

Business service

Input argumentsMethod

Output arguments

Argument name

Argument type

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 788: Siebel 8.0 Essentials

Siebel Business Services 34.10

Siebel 8.0 Essentials

10 of 18Copyright © 2007, Oracle. All rights reserved.

Identifying Methods for a Business Service

In Siebel Tools, navigate to Business Service | Business ServiceMethod

Name that appears in client when selecting a

business service method

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 789: Siebel 8.0 Essentials

Siebel Business Services 34.11

Siebel 8.0 Essentials

11 of 18Copyright © 2007, Oracle. All rights reserved.

Identifying Arguments and Types for a Method

In Siebel Tools, navigate to Business Service | Business ServiceMethod | Business Service Method Arg

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 790: Siebel 8.0 Essentials

Siebel Business Services 34.12

Siebel 8.0 Essentials

12 of 18Copyright © 2007, Oracle. All rights reserved.

Invoking a Method

Involves:Assigning values to the input parameters

Not all input parameters are required to have valuesRetrieving the values assigned to the output parameters

StringManipulation

Length

Truncate

Concatenate

InputStringString

OutputStringString

LengthNumber

Siebel 4 Sieb

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 791: Siebel 8.0 Essentials

Siebel Business Services 34.13

Siebel 8.0 Essentials

13 of 18Copyright © 2007, Oracle. All rights reserved.

Property Set

Is the in-memory data structure used to:Pass a set of input arguments into a methodReceive a set of output arguments from a method

Output property

set

Input property

set StringManipulation

Length

Truncate

Concatenate

InputStringString

OutputStringString

LengthNumber

Siebel 4 Sieb

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 792: Siebel 8.0 Essentials

Siebel Business Services 34.14

Siebel 8.0 Essentials

14 of 18Copyright © 2007, Oracle. All rights reserved.

Property Set Continued

Represents data using name/value pairsHas two predefined properties: Type and ValueHas an array for storing user-provided name/value pairsIs automatically created and populated when invoking most business services from a Siebel workflow or task

Type

Value

InputString Siebel Length 4

Predefined property names

Values for predefined properties

Array of user-provided name/value pairs

Input property set

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 793: Siebel 8.0 Essentials

Siebel Business Services 34.15

Siebel 8.0 Essentials

15 of 18Copyright © 2007, Oracle. All rights reserved.

Testing a Business Service

Use the business service simulator in the Siebel ClientNavigate to Administration - Business Service > SimulatorSelect the business service and methodCreate the property set name/value pairs

Optionally load data from an input file

Input property set

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 794: Siebel 8.0 Essentials

Siebel Business Services 34.16

Siebel 8.0 Essentials

16 of 18Copyright © 2007, Oracle. All rights reserved.

Testing a Business Service Continued

Use the business service simulator in the Siebel clientClick Run on One InputExamine the output property set name/value pairsOptionally save the output to a file

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 795: Siebel 8.0 Essentials

Siebel Business Services 34.17

Siebel 8.0 Essentials

17 of 18Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A business service is a unit of functionality that is reusable and globally accessible

Can be stored in the repository or in user database tablesConsist of one or more methods

Each method is specified by a set of input and output arguments

A property set is an in-memory data structure consisting of name value pairsA business service

Is invoked by passing in the input arguments in a property setReturns the output arguments in a property set

Use the business service simulator to test a business service

34

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 796: Siebel 8.0 Essentials

Siebel Business Services 34.18

Siebel 8.0 Essentials

18 of 18Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Import a custom business service into the repositoryExamine the methods and arguments for a business serviceUse the business service simulator to test a business service and examine the output property sets

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 797: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.1

Siebel 8.0 Essentials

35Copyright © 2007, Oracle. All rights reserved.

Module 35: Building Siebel Workflow Processes

Siebel 8.0 Essentials

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 798: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.2

Siebel 8.0 Essentials

2 of 26Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:List the types of workflow processes and workflow stepsCreate a new workflow process and configure business service, Siebel operation, and decision steps

Why you need to know:Siebel workflow processes are one of several declarative techniques to automate business logic

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 799: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.3

Siebel 8.0 Essentials

3 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Process

Is an ordered set of steps executed in response to a defined setof conditionsIs used to automate parts of a business processes in a Siebel application

Siebel Business Process Framework Workflow Guide: Introduction to Workflow Processes

Reference

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 800: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.4

Siebel 8.0 Essentials

4 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Designer

Siebel Tools includes a Workflow Designer used to create, examine, and modify Siebel workflow processes

Contains a palette, workspace, and associated property windows

Palette of workflow steps

Properties window (displays properties

of selected item)

Workspace for editing workflows

Multi Value Property Window (displays properties of child

records of selected item)

Siebel Business Process Framework Workflow Guide: For Developers: Basics of Building Workflow Processes

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 801: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.5

Siebel 8.0 Essentials

5 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Process Steps

Siebel workflow processes consist of different types of steps

Sub process step

Decision point step

Business service step

User interact step

Start step

End step

eSales – Complete Checkout Process

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 802: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.6

Siebel 8.0 Essentials

6 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Process Steps Continued

All workflow processes have a:Start stepEnd step

Workflow processes often include the following common steps:Business service stepSiebel operation stepDecision point step

Start step

End step

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 803: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.7

Siebel 8.0 Essentials

7 of 26Copyright © 2007, Oracle. All rights reserved.

Siebel Operation Step

Performs the following operations on a business componentInsertUpdate DeleteQuery

Next record and previous record operations supported for iteration over multiple records returned by a query

Queries the Contact business component

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 804: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.8

Siebel 8.0 Essentials

8 of 26Copyright © 2007, Oracle. All rights reserved.

Business Service Step

Invokes a method of a business service

Invokes the Truncate method of the StringManipulation business service

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 805: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.9

Siebel 8.0 Essentials

9 of 26Copyright © 2007, Oracle. All rights reserved.

Decision Point Step

Allows a workflow to branch to one of multiple steps based on the value of inputs

If input = yes

If input = no

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 806: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.10

Siebel 8.0 Essentials

10 of 26Copyright © 2007, Oracle. All rights reserved.

Process Properties

Process properties are variables that store inputs used by and outputs produced by workflow stepsEach workflow process has a set of process properties that persist while the workflow process is executing

Some are populated when the workflow process is invokedSome return data to invoking workflow process or business service upon completion

Specific to this workflow

Some of default properties that appear in all workflows

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 807: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.11

Siebel 8.0 Essentials

11 of 26Copyright © 2007, Oracle. All rights reserved.

Process Properties Continued

Provide inputs to workflow stepsReceive outputs from workflow steps

Can be used as inputs for following stepsFirstName

LastNameContactCode

StringManipulation

Length

Truncate

Concatenate

String1String

String2String

OutputStringString

Business service step

Process Properties

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 808: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.12

Siebel 8.0 Essentials

12 of 26Copyright © 2007, Oracle. All rights reserved.

Configuring a Siebel Workflow0/5

1. Create a New Workflow Process

2. Specify the Process Properties

3. Add Workflow Steps

4. Configure the Steps

5. Validate the Workflow Process

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 809: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.13

Siebel 8.0 Essentials

13 of 26Copyright © 2007, Oracle. All rights reserved.

1. Create a New Workflow Process

In Siebel Tools, select the Workflow Process object typeCreate a new workflow process definition

Enter the process nameAssign the process to a locked projectAssign a business object

Provides context for references to business components and fields

Right-click and select Edit Workflow Process to invoke the Workflow Designer

1/5

A business object must be specified whenever you use a workflow step (such as a Siebel Operation step) that references a business component. In addition if a workflow references a business object, then the workflow must be executed in the context of that business object.

Business Object

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 810: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.14

Siebel 8.0 Essentials

14 of 26Copyright © 2007, Oracle. All rights reserved.

2. Specify the Process Properties

Select the Process Properties tab in the Multi Value Property Window (MVPW) to display the default process propertiesEdit the default set of process properties

Add new process properties to store additional values created and used by the workflow stepsLeave the default process properties as is

Default process properties for all workflows

2/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 811: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.15

Siebel 8.0 Essentials

15 of 26Copyright © 2007, Oracle. All rights reserved.

3. Add Workflow Steps

Add a start and end step to the designerDrag steps from the palette to the workspace

Add other steps as requiredAdd connectors to sequence the steps

Make sure that connector ends are anchored (red box appears)

Dynamic connectors (are drawn automatically with right angles as necessary)

Connector anchored

3/5

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 812: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.16

Siebel 8.0 Essentials

16 of 26Copyright © 2007, Oracle. All rights reserved.

4. Configure the Steps (Siebel Operation)

For each Siebel operation stepSpecify the business component and operation

Use the properties windowSpecify additional child arguments as required in the MVPW

Field namesSearch spec input argumentsOutput arguments

Business component

Operation

Fields retrieved

4/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 813: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.17

Siebel 8.0 Essentials

17 of 26Copyright © 2007, Oracle. All rights reserved.

4. Configure the Steps (Business Service)

For each business service stepSpecify the business service name and business service method

Use the Properties window

Business service and method

4/5

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 814: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.18

Siebel 8.0 Essentials

18 of 26Copyright © 2007, Oracle. All rights reserved.

4. Configure the Steps (Business Service) Continued

For each business service stepSpecify inputs to use in the workflow

Select the Input Arguments tab in the MVPWAssign a literal value or a process property to each input

Specify outputs of the business service stepSelect the Output arguments tab in the MVPWAssign each output to a process property

Input arguments defined for method

Constant value assigned as input

Value of process property assigned as input

Value of output argument assigned to process property

4/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 815: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.19

Siebel 8.0 Essentials

19 of 26Copyright © 2007, Oracle. All rights reserved.

4. Configure the Steps (Decision Point Step) Continued

For each decision point step, set conditions on each branch (connector) originating at the step

Select connectorRight-click and select Edit Conditions

4/5

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 816: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.20

Siebel 8.0 Essentials

20 of 26Copyright © 2007, Oracle. All rights reserved.

4. Configure the Steps (Decision Point Step)

Enter the condition criteria for each branch in the Compose Condition Criteria dialog boxDo not create a condition criteria for the default branch

Execution path taken if no other branches are satisfied

Does contact have a middle name

4/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 817: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.21

Siebel 8.0 Essentials

21 of 26Copyright © 2007, Oracle. All rights reserved.

5. Validate the Workflow Process

Save all the configuration performed in the Workflow DesignerReturn to the Workflow Process ListRight-click the workflow and select ValidateClick Start to perform the validation checks

Syntactic errors are displayed in the Errors window

5/5

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 818: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.22

Siebel 8.0 Essentials

22 of 26Copyright © 2007, Oracle. All rights reserved.

Additional Workflow Steps

Siebel workflows may contain additional types of stepsSub process

Invokes another workflow process as a sub processUser interact

Navigates the user a view and waits for user activityWait

Pauses the workflow for a specified period of time before proceedingStop

Stops the workflow process instance if a predefined exception occurs Task

Invokes a Siebel task (subject of a subsequent module)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 819: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.23

Siebel 8.0 Essentials

23 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Modes

Workflows are characterized by modes that describe their runtime behavior

Service FlowExecutes a discrete set of steps and completesIs the default mode for a new workflowCannot include wait or user interact steps

Interactive flowDesigned to navigate users through a set of viewsIs being replaced by Siebel tasks

Long running flowIs a workflow that is intended to persist for some indeterminate period of timeCan be paused and resumed as an inbox itemCannot include a wait step

7.0 flows Provided for backward compatibility of workflows defined prior to Siebel 7.5 releaseShould not be used for any new workflows

Siebel Task UI provides significantly enhanced capabilities to guide users through a series of views. However interactive flows may still be used if all you wish is to navigate a user from one regular Siebel view to another. In addition, Task UI is applicable in only the High Interactivity client. Interactive flows must be used for the Standard interactivity client.

Interactive Flows

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 820: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.24

Siebel 8.0 Essentials

24 of 26Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A workflow process is an ordered set of steps executed in response to a defined set of conditions

Is used to automate parts of a business processes in a Siebel application

Siebel workflow processes consist of different types of steps (Business service, Siebel operation, decision point, etc.)Process properties are variables that store inputs used by and outputs produced by workflow stepsBuild a workflow process by:

Creating a new workflow processSpecifying the process propertiesAdding workflow stepsConfiguring each stepValidating the workflow process

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 821: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.25

Siebel 8.0 Essentials

25 of 26Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Configure a workflow process that includes business service stepsConfigure a workflow process that includes a decision point step

35

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 822: Siebel 8.0 Essentials

Building Siebel Workflow Processes 35.26

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 823: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.1

Siebel 8.0 Essentials

36Copyright © 2007, Oracle. All rights reserved.

Module 36: Testing and Deploying Workflow Processes

Siebel 8.0 Essentials36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 824: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.2

Siebel 8.0 Essentials

2 of 26Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Test a Siebel workflow process using the simulatorDeploy a Siebel workflow process

Why you need to know:Workflow processes should be tested to verify that they behave as desired prior to deployment Deployment is a critical step in making a new workflow process available for use

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 825: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.3

Siebel 8.0 Essentials

3 of 26Copyright © 2007, Oracle. All rights reserved.

Managing Siebel Workflow Processes

Workflow process differ from most other object definitionsAre not compiled into an .srf fileCannot be archived into .sif filesCan be exported to and imported from XML files

After a workflow process has been configured in Siebel ToolsSimulate the workflowDeploy the workflow

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 826: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.4

Siebel 8.0 Essentials

4 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Simulator

Use the workflow simulator to verify that the workflow performs as desired

Workflow simulation is controlled in Siebel ToolsWorkflow is actually executed in an instance of a Siebel client

Tools and the Siebel client must be connected to a common database

DB

Siebel Business Process Framework Workflow Guide: For Developers: Testing Workflow Processes

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 827: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.5

Siebel 8.0 Essentials

5 of 26Copyright © 2007, Oracle. All rights reserved.

Enabling Workflow Simulation

Configure the connection to the Siebel run-time instanceIn Siebel Tools, select View > Options > Debug

Simulator shares the connection parameters used by Tools DebuggerSpecify the run-time Siebel instanceProvide a valid login

Executable: Location of siebel.exe file for the Mobile Web Client

Arguments: Use default, opens communication between Tools and

Mobile Web Client

CFG file: Location of the Mobile Web Client configuration file

Working directory: The Mobile Web Client directory

Login information: Login name, password, data source

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 828: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.6

Siebel 8.0 Essentials

6 of 26Copyright © 2007, Oracle. All rights reserved.

Test a Workflow Using the Workflow Simulator0/4

1. Specify the Test Record

2. Start the Simulator

3. Start the Simulation

4. Execute the Workflow

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 829: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.7

Siebel 8.0 Essentials

7 of 26Copyright © 2007, Oracle. All rights reserved.

1. Specify the Test Records

In the Siebel client, create test records to support the simulationUse About Record to determine the row ID

In Siebel Tools, enter the row ID of the test record as the default string for the Object ID process property

When the workflow is invoked in production, row ID of the record is passed in as an input argument

1/4

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 830: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.8

Siebel 8.0 Essentials

8 of 26Copyright © 2007, Oracle. All rights reserved.

2. Start the Simulator

Make sure that all instances of the Siebel client application are closedRight-click the Workflow Designer workspace and select Simulate

Workflow Designer displays the workflow in the simulator window

2/4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 831: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.9

Siebel 8.0 Essentials

9 of 26Copyright © 2007, Oracle. All rights reserved.

3. Start the Simulation

Click the Start Simulation button in the simulation toolbarUse View > Toolbars > Simulation to display the simulation toolbar

A new instance of the Siebel client is launched

3/4

Wait until Siebel client application starts and displays the Workflow Simulator view

Start simulation

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 832: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.10

Siebel 8.0 Essentials

10 of 26Copyright © 2007, Oracle. All rights reserved.

4. Execute the Workflow

Execute the workflow in eitherSingle step mode using the Simulate Next buttonContinuous mode using the Complete Simulation button

Verify that the workflow branches correctly at decision steps

4/4

Simulate next Complete Simulation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 833: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.11

Siebel 8.0 Essentials

11 of 26Copyright © 2007, Oracle. All rights reserved.

4. Execute the Workflow Continued

Inspect the watch window to verify that process properties have the expected values

Values of user added process properties can be edited during a simulation

4/4

Inspect process properties in watch window

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 834: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.12

Siebel 8.0 Essentials

12 of 26Copyright © 2007, Oracle. All rights reserved.

4. Execute the Workflow Continued

Complete the simulationUse either Simulate Next or Complete Simulation buttons

Verify that the final values of process properties are correctClick the Stop Simulation buttonInspect the client and verify that the desired changes occurred

4/4

Stop simulation

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 835: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.13

Siebel 8.0 Essentials

13 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Simulator Considerations

Cannot simulate workflow processes that invoke server components

Must test these workflows directly on the Siebel Web ClientCannot simulate workflows with run-time events on start steps (discussed in a subsequent module)Can simulate workflows with user interact steps

Requires the developer to perform the activity in the client application to allow the simulation to proceed

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 836: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.14

Siebel 8.0 Essentials

14 of 26Copyright © 2007, Oracle. All rights reserved.

Managing Siebel Workflow Processes

After a workflow process has been configured in Siebel ToolsSimulate the workflowDeploy the workflow

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 837: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.15

Siebel 8.0 Essentials

15 of 26Copyright © 2007, Oracle. All rights reserved.

Deploying Workflow Processes

Transfers the workflow from the repository to run-time tables to make it available for useConsists of:

Developer setting the workflow complete in Siebel ToolsAdministrator activating the workflow in the run-time client

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 838: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.16

Siebel 8.0 Essentials

16 of 26Copyright © 2007, Oracle. All rights reserved.

Publish the Workflow

In Siebel Tools, click the Publish button in the Workflow toolbarSets the status to Completed

Prevents any further editing of the workflow processMakes the workflow available for activation

Publish

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 839: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.17

Siebel 8.0 Essentials

17 of 26Copyright © 2007, Oracle. All rights reserved.

Checking in the Workflow Process

In Siebel Tools, check in the completed workflow process to the server repository

Siebel Web Client can now access the workflow

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 840: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.18

Siebel 8.0 Essentials

18 of 26Copyright © 2007, Oracle. All rights reserved.

Activating the Workflow

In the Siebel Web Client, activate the workflowNavigate to Business Process - Administration > Workflow DeploymentSelect the newly deployed workflow and click Activate

Transfers the workflow definitions in the repository tables intocorresponding run-time tables

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 841: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.19

Siebel 8.0 Essentials

19 of 26Copyright © 2007, Oracle. All rights reserved.

Publishing/Activating a Workflow Process

Developers can deploy and activate a workflow process from Siebel Tools to expedite testing of the deployed workflowIn Siebel Tools, click the Publish/Activate button in the Workflow toolbar

Sets the status to CompletedTransfers the workflow definitions in the repository tables intocorresponding run-time tables

Siebel client (for testing) must use the same database as Siebel Tools

Publish/Activate

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 842: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.20

Siebel 8.0 Essentials

20 of 26Copyright © 2007, Oracle. All rights reserved.

Workflow Monitoring

Navigate to Business Process - Administration > Workflow Deployment

Select the active workflow processSet the monitoring level in the active workflow process as required

The value assigned is used whenever the workflow process is invoked or resumed

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 843: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.21

Siebel 8.0 Essentials

21 of 26Copyright © 2007, Oracle. All rights reserved.

Monitoring Level

Monitoring levels can be set as follows to record differing degrees of detail

Performance can degrade as level of detail recorded increases

* In Detail, data is written at the end of the workflow** In Debug mode, data is written to disk after every step

All Steps

All StepsAll StepsNone

None

Record Step Instance

Y

YYY

N

Record Process Instance

All Steps

All steps NoneNone

None

Record Process Properties

4-Debug**

3-Detail*2-Progress1-Status

0-None

Levels

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 844: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.22

Siebel 8.0 Essentials

22 of 26Copyright © 2007, Oracle. All rights reserved.

Deployment Considerations

Deploy all child workflows (sub processes) first to make them available to the deployed workflowCompile any new repository objects referenced in the deployed workflow such as business components, fields, and views

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 845: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.23

Siebel 8.0 Essentials

23 of 26Copyright © 2007, Oracle. All rights reserved.

Revising Workflows

Workflows are versionedExisting versions are kept and a new version is created

To revise a workflowIn Siebel Tools, select the desired workflow (check out if necessary)Click the Revise button in the Workflow toolbar

Creates a copy of the workflowIncrements the version numberSets status to In Progress

Edit and test the workflowDeploy the workflow

Revise

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 846: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.24

Siebel 8.0 Essentials

24 of 26Copyright © 2007, Oracle. All rights reserved.

Administering a Revised Workflow

In the Siebel Web Client, activate the workflow as beforeSets the deployment status of the prior version to Outdated

After being activated the new version will be invokedAny instances of the prior workflow version running at the time of activation run to completion

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 847: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.25

Siebel 8.0 Essentials

25 of 26Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Use the workflow simulator to verify that the workflow behaves as designed

Workflow simulation is controlled in Siebel ToolsWorkflow is executed in an instance of a Siebel client

Deploy a workflow to make it available for use in the run-time client

In Siebel Tools, publish the workflowIn the run-time client, activate the workflow to make the workflow available for invocation

Revise a deployed workflow to edit itThis creates a new version

36

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 848: Siebel 8.0 Essentials

Testing and Deploying Workflow Processes 36.26

Siebel 8.0 Essentials

26 of 26Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Simulate workflows you previously configured

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 849: Siebel 8.0 Essentials

Executing Workflow Processes 37.1

Siebel 8.0 Essentials

37Copyright © 2007, Oracle. All rights reserved.

Module 37: Executing Workflow Processes

Siebel 8.0 Essentials

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 850: Siebel 8.0 Essentials

Executing Workflow Processes 37.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the workflow execution architectureList several ways to invoke workflowInvoke a workflow process using a run-time eventInvoke a workflow process using a custom control

Why you need to know:There are multiple ways to invoke a workflow process and you need to understand the choices available

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 851: Siebel 8.0 Essentials

Executing Workflow Processes 37.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Executing Workflow Processes

Workflow processes are executed either inThe user’s application object manager

Supports synchronous processingA separate server component known as the Workflow Process Manager component

Supports asynchronous processing

In both cases workflow processes are executed using the Workflow Process Manager business service

Is often referred to as the Workflow Engine

Siebel Business Process Framework: Workflow Guide: Introduction to Workflow Processes

Reference

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 852: Siebel 8.0 Essentials

Executing Workflow Processes 37.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Synchronous Workflow Processing

Is typically executed in the user’s application object managerUser is forced to wait until the workflow completes (or pauses)

Hourglass icon appears

Can be triggered by an action on the part of the user:Directly by clicking a button or menu itemIndirectly by performing a record or applet operation

Is used to execute specific business logic that: Is triggered by the user’s activityShould be completed before the user continues activity

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 853: Siebel 8.0 Essentials

Executing Workflow Processes 37.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Asynchronous Workflow Processing

Is executed in the Workflow Process Manager server component

User (if any) is not prevented from continuing activityIs typically triggered by a change in the value of some column in a database table

Can respond to changes not associated with user activityFor example: updates resulting from Enterprise Integration Manager imports

Can respond to conditions that exist for some threshold period of time

Is used to execute specific business logic when a specified condition is satisfiedWill be discussed in the following module

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 854: Siebel 8.0 Essentials

Executing Workflow Processes 37.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking Workflow Processes

A workflow process can be invoked by a variety of mechanisms Run-time events Custom buttons and menu itemsWorkflow policiesProgrammatically (that is as part of script)

This module

Next moduleBeyond scope

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 855: Siebel 8.0 Essentials

Executing Workflow Processes 37.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

Run-Time Events

Are a mechanism that allows customer-configured processing to be triggered by user activityConsist of:

A specification of some user activity such as:Record being updatedNavigating to/from an applet

The resultant processingWorkflowOne or more calls to business services

Known as an action set

Siebel Personalization Administration Guide: Tracking Run-Time Events

Run-time events were introduced as part of Siebel Personalization and are therefore described in the Personalization Administration Guide.

Reference

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 856: Siebel 8.0 Essentials

Executing Workflow Processes 37.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

Run-Time Events Continued

Can be defined for three types of objects:Application

Examples: logging in, logging outApplet

Examples: displaying an applet, displaying a recordBusiness component

Examples: Querying, deleting a record, setting a field value

Are fired when a user performs the corresponding activity

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 857: Siebel 8.0 Essentials

Executing Workflow Processes 37.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Business Component Events

Business component events often come in pairs such as:PreDelete/DeletePreSetField/SetFieldPreWriteRecord/WriteRecord

The Pre- event is fired immediately prior to object manager executing the operation

Example: PreWriteRecord executes customer processing before the record is saved

Allows for possible verification of field values

The other event is fired immediately after the object manager executes the action

Example: WriteRecord executes customer processing after the record is written

Allows for follow-on processing after a record is saved

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 858: Siebel 8.0 Essentials

Executing Workflow Processes 37.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Adding a Run-Time Event to a Workflow Process

A run-time event can be added to a workflow process as a condition on the connector out of a:

Start step Used to invoke the workflow

Wait stepUsed to resume the workflow

User interact stepUsed to resume the workflow

Add run-time event here

Add run-time event here

Siebel Business Process Framework: Workflow Guide: For Developers: Understanding How Workflow Processes Are Designed

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 859: Siebel 8.0 Essentials

Executing Workflow Processes 37.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking a Workflow Using a Run-Time Event0/3

1. Add the Run-Time Event

2. Deploy and Activate the Workflow

3. Reload the Run-Time Events

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 860: Siebel 8.0 Essentials

Executing Workflow Processes 37.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

1. Add the Run-Time Event

Create the workflow process as usualSelect the connector to attach a run-time event

Must be a start, wait, or user interact stepIn the properties window, specify the triggering eventCaution: A workflow with a run-time event on the start step cannot be tested with the workflow simulator

Select connector

Specify the event type, business component, and event to monitor

1/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 861: Siebel 8.0 Essentials

Executing Workflow Processes 37.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

2. Deploy and Activate the Workflow

In Siebel Tools, deploy the eventIn the Siebel client, activate the event

2/3

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 862: Siebel 8.0 Essentials

Executing Workflow Processes 37.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

2. Deploy and Activate the Workflow Continued

Activating the event automatically registers the run-time event and associated workflow with the Siebel run-time event engine

Creates an action set that invokes the Workflow Process Manager

2/3

Row ID of activated workflow Business Service,

method to invoke

Arguments to pass in

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 863: Siebel 8.0 Essentials

Executing Workflow Processes 37.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

3. Reload the Run-Time Events

Navigate to Administration - Runtime Events > EventsSelect Menu > Reload Runtime Events

Updates the run-time event engine with the new run-time eventNot necessary to query for the specific run-time event

Run-time event created by activating the workflow process

3/3

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 864: Siebel 8.0 Essentials

Executing Workflow Processes 37.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking Workflows Using a Custom Control

User explicitly clicks a custom button or menu item to invoke the workflowConfiguration involves applet user properties

Custom menu item that invokes a workflow

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 865: Siebel 8.0 Essentials

Executing Workflow Processes 37.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking a Workflow Using a Custom Menu Item

Create a command objectSpecify a value for the Method property

Add an applet method menu item to reference the command37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 866: Siebel 8.0 Essentials

Executing Workflow Processes 37.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking a Workflow Using a Custom Menu Item Continued

Add a new Applet User property that associates the workflow to be invoked with the new named method

Invoke this business service and method and …

… pass in these pairs of argument names and values

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 867: Siebel 8.0 Essentials

Executing Workflow Processes 37.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking a Workflow Using a Custom Button

Create a custom control for the buttonSpecify a value for the Method Invoked property

Add a new Applet User property that associates the workflow to be invoked with the new named method

Create an applet user property specifying the workflow to execute when the named method is invoked

Specify a user-defined name for a Method to invoke

on the control

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 868: Siebel 8.0 Essentials

Executing Workflow Processes 37.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking a Workflow Process Explicitly

The Workflow Process Manager business service can be referenced explicitly:

In a scriptAs parameters in declarative configuration

Developers must specify:The name of the business service and methodThe name of the workflow process and other parameters as input arguments

Often the RowId parameter must be passed in

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 869: Siebel 8.0 Essentials

Executing Workflow Processes 37.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

Invoking a Workflow Process Explicitly Continued

A workflow process can also be executed using the business service simulator

Is an alternative way of testing new workflows

Business service that executes workflow processes

Provide name of workflow process as input argument

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 870: Siebel 8.0 Essentials

Executing Workflow Processes 37.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Workflow processes are executed in the Workflow Process manager in either the application object manager or in a server component

Can be executed either synchronously or asynchronouslyA workflow process can be invoked by a variety of mechanisms

Run-time events Custom buttons and menu itemsWorkflow policies

Run-time events are a mechanism that allows customer-configured processing to be triggered by user activity

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 871: Siebel 8.0 Essentials

Executing Workflow Processes 37.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Invoke a workflow from a custom menu itemInvoke a workflow using a run-time event

37

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 872: Siebel 8.0 Essentials

Executing Workflow Processes 37.24

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 873: Siebel 8.0 Essentials

Using Workflow Policies 38.1

Siebel 8.0 Essentials

38Copyright © 2007, Oracle. All rights reserved.

Module 38: Using Workflow Policies

Siebel 8.0 Essentials

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 874: Siebel 8.0 Essentials

Using Workflow Policies 38.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create a workflow policy that invokes a workflow process in the Workflow Process Manager server componentEnable the workflow policy using workflow server components

Why you need to know:Some workflow processes are best executed asynchronously on the Siebel server

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 875: Siebel 8.0 Essentials

Using Workflow Policies 38.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

Asynchronous Workflow Processing

Some workflows need to be executed asynchronouslyThey might run for a long time and should not execute in the user’s object managerThey might need to wait for the invoking condition to be satisfied for some period of time

Example: If a critical service request remains unassigned for more than two hours, notify the service manager and set the priority to High

Workflow policies are a mechanism for asynchronous execution of workflow processes

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 876: Siebel 8.0 Essentials

Using Workflow Policies 38.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

Workflow Policies

A workflow policy is a rule consisting of:One of more policy conditionsA policy action

Action is invoked when all conditions are trueExample: When a service request priority = Critical AND substatus = Unassigned:

Send urgent message to service manager

Conditions:Substatus = UnassignedService Request Priority = Critical

Conditions:Substatus = UnassignedService Request Priority = Critical

Actions:Update priority to HighSend message to service manager

Actions:Update priority to HighSend message to service manager

IF True… then execute

WorkflowPolicy

WorkflowPolicy

Siebel Business Process Framework: Workflow Guide: Workflow PoliciesReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 877: Siebel 8.0 Essentials

Using Workflow Policies 38.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Workflow Policy Conditions

Policy condition specifies a logical relationship between a workflow policy column and a valueAll policy conditions must be satisfied for a condition to applyPolicy may have a duration specified

Conditions must apply for the duration before the action is executed

Conditions:Status = OpenService Request Priority = High

Conditions:Status = OpenService Request Priority = High

Actions:Update priority to Very HighSend message to owner

Actions:Update priority to Very HighSend message to owner

IF True for at least two hours … then execute

WorkflowPolicy

Duration = 2 hours

WorkflowPolicy

Duration = 2 hours

A workflow policy column is an object definition configured in Siebel Tools that identifies a column in a Siebel database table that can be monitored by a workflow policy.

Workflow Policy Column

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 878: Siebel 8.0 Essentials

Using Workflow Policies 38.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Workflow Policy Actions

A workflow policy action is the response to be executedConsists of:

Type of program to be executedExamples: Run workflow process, send email, send message broadcast

One or more program-specific argumentsMultiple types of programs are supported

Not restricted to running workflow processesActions are defined separately

Can be used in multiple workflow policies

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 879: Siebel 8.0 Essentials

Using Workflow Policies 38.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

Workflow Policies

Leverage: A separate server component known as the Workflow Process Manager component

Is a server component optimized for executing workflowsBehaves like an object manager

Can access the business and data layersDoes not have a user interface for direct user interaction

Database triggers:A trigger is a process or a stored procedure attached to a database table that fires when a specified data modification event occursAre created by the Generate Triggers server component

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 880: Siebel 8.0 Essentials

Using Workflow Policies 38.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

Executing Workflow Policies

Generate Triggers creates the database triggers required to monitor conditions in policiesWorkflow Monitor Agent checks for fired triggers

Identifies policy conditions that are satisfiedInvokes the desired workflow process

Workflow Process Manager executes the workflow processExecution is asynchronous

Workflow Monitor Agent

Server Request Broker

WorkflowProcess Mgr

Siebel Database

Generate Triggers

S_ESCL_REQEnd-user activity or server process

EIM

Create triggers corresponding to policy conditions Triggers fire when

conditions satisfied and inserts record

Retrieves records and executes the actionExecutes the workflow

process specified in action

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 881: Siebel 8.0 Essentials

Using Workflow Policies 38.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Workflow Policy Groups

A workflow policy group is a collection of workflow policies that are monitored as a group by a workflow monitor agent process

Typically workflow policies that can be monitored at the same frequency are assigned to the same policy group

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 882: Siebel 8.0 Essentials

Using Workflow Policies 38.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Prerequisite for Executing Workflow Policies

Enable the Workflow Management component group on the enterpriseAssign and enable the component group on a server

Navigate to Administration - Server Configuration > Enterprises > Component Groups

If the Workflow Management component group is not enabled as part of installation, it can be enabled using the Server Configuration Administration screen.

Enable Component Group

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 883: Siebel 8.0 Essentials

Using Workflow Policies 38.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

Workflow Component Definitions

Workflow Component Group consists of six server component definitions

Recovers crashed instances and resumes instances that have been waiting beyond a due date.

Workflow Recovery Manager

This is the workflow engine for workflow processes and is used for real-time process automation.

Workflow Process Manager

Enables workflow processes to be run in batch mode, allowing actions to be executed for multiple records.

Workflow Process Batch Manager

Monitors workflow policies to invoke workflow processes. Workflow Monitor Agent

Optional component with email consolidation. Executes actions associated to a workflow policy.

Workflow Action Agent

Creates insert, update, and delete triggers on base tables based on defined workflow policies.

Generate Triggers

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 884: Siebel 8.0 Essentials

Using Workflow Policies 38.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

Implementing a Workflow Policy0/5

1. Create a Workflow Group

2. Create a Workflow Policy Action

3. Create a Workflow Policy

4. Generate Database Triggers

5. Start Workflow Monitor Agent

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 885: Siebel 8.0 Essentials

Using Workflow Policies 38.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

1. Create a Workflow Group

Navigate to Administration - Business Process > Policy GroupsCreate a new policy group

1/5

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 886: Siebel 8.0 Essentials

Using Workflow Policies 38.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

2. Create a Workflow Policy Action

Navigate to Administration - Business Process > ActionsCreate a new action

Specify Run Workflow ProcessProvide workflow process as an argument

Specify the Run Workflow Process program

Specify the workflow process to invoke

2/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 887: Siebel 8.0 Essentials

Using Workflow Policies 38.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

3. Create a Workflow Policy

Navigate to Administration - Business Process > PoliciesCreate a new policy

Specify conditionsAdd one or more actions

Associate an action to invoke the workflow process

Create a policy

Create a condition

3/5

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 888: Siebel 8.0 Essentials

Using Workflow Policies 38.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

3. Set Duration

Set duration for the workflow policyAll conditions must be met and the policy duration must be satisfied to trigger the workflow policy actionsDefaults to 0

The workflow policy actions are triggered as soon as the policy conditions are met

3/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 889: Siebel 8.0 Essentials

Using Workflow Policies 38.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

4. Generate Database Triggers

Run a Generate Triggers batch job to create database triggers corresponding to the policy conditions

When a trigger fires against a Policy Condition, a record is inserted in the Escalation Request Table (S_ESCL_REQ)S_ESCL_REQ contains all the rows in the database that could trigger a policy to take action

Generate DatabaseTriggers

Record is inserted, updated, or deleted

S_ESCL_REQTable updated

4/5

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 890: Siebel 8.0 Essentials

Using Workflow Policies 38.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

4. Generate Database Triggers Continued

Navigate to Administration - Server Management > JobsCreate a new job

Select Generate TriggersSpecify parameters

Submit job

Create new Job and select Generate Triggers

Specify parameters

Click Submit Job to start Component Job

4/5

Credentials for a privilege user must be specified in order to allow the generation of triggers on the Siebel database tables. Most often the database owner for the Siebel database is specified.

Privileged User

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 891: Siebel 8.0 Essentials

Using Workflow Policies 38.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

5. Start Workflow Monitor Agent

Create a custom Workflow Monitor Agent component definition to specify a Workflow group

Monitors all policies within a single Workflow group Activate the new component definition to make it available

5/5

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 892: Siebel 8.0 Essentials

Using Workflow Policies 38.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

Verify the Workflow Policy

Create a test record (or modify an existing record) that violates the policy conditionWait for at least the policy durationVerify that the desired workflow actions are executed

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 893: Siebel 8.0 Essentials

Using Workflow Policies 38.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

YesYesNo (runs on Siebel Server)

Runs on Mobile Client

Synchronous (runs in user session)

Synchronous (runs in user session)

Asynchronous (runs in background)

Synchronous

Not UsedInvokes processNot UsedRuntime Event

Not RequiredNot RequiredRequiredWF Monitor Agent

Not RequiredNot RequiredRequiredGenerate Triggers

Comparing Different Methods

WorkflowPolicies

WorkflowPolicies

RuntimeEvents

RuntimeEvents

Custom Control

Custom Control

Use different methods for different needs

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 894: Siebel 8.0 Essentials

Using Workflow Policies 38.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A workflow policy is a rule consisting of one or more conditionsand a policy action to be executed when the conditions are satisfiedWorkflow policies implement asynchronous execution of workflow processesWorkflow policies require the use of:

Generate Triggers to create the database triggersWorkflow Monitor Agent to check for fired triggersWorkflow Process Manager to execute the associated workflow policy

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 895: Siebel 8.0 Essentials

Using Workflow Policies 38.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a workflow policyEnable the workflow management group componentsTest the workflow policy

38

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 896: Siebel 8.0 Essentials

Using Workflow Policies 38.24

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 897: Siebel 8.0 Essentials

Siebel Task UI 39.1

Siebel 8.0 Essentials

39Copyright © 2007, Oracle. All rights reserved.

Module 39: Siebel Task UI

Siebel 8.0 Essentials

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 898: Siebel 8.0 Essentials

Siebel Task UI 39.2

Siebel 8.0 Essentials

2 of 20Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the role and benefits of Siebel Task UIInvoke and complete a task

Why you need to know:Siebel Task UI provides an alternate style of user interaction that assists successful completion of business tasks and incorporatesautomation of activities

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 899: Siebel 8.0 Essentials

Siebel Task UI 39.3

Siebel 8.0 Essentials

3 of 20Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Many tasks require users to perform several steps to complete the task

Users may not be familiar with the sequence of stepsUsers may inadvertently skip a stepUsers often require additional training to complete the task

Companies would like to implement a user interaction style that assists users in completing such tasks

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 900: Siebel 8.0 Essentials

Siebel Task UI 39.4

Siebel 8.0 Essentials

4 of 20Copyright © 2007, Oracle. All rights reserved.

Business Solution: Siebel Task UI

Uses a wizard-like interface to guide users through steps in a task

Consists of a sequenced set of views, each of which collects a small set of relevant data from the user

Extends business process automation to the UI layerUsers are directed to complete some steps in a task in a prescribed order

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 901: Siebel 8.0 Essentials

Siebel Task UI 39.5

Siebel 8.0 Essentials

5 of 20Copyright © 2007, Oracle. All rights reserved.

Features of Siebel Task UI

Supports forward and backward navigation through a sequence of views

Allows for a set of records to be reviewed and corrected prior to completion of the task

Supports branching based on user inputSupports pausing and resuming tasks if users are interrupted

Instance of the partially completed task is saved in the user’s inboxContext and all data are maintained

Task is resumed from the Universal Inbox Supports transfer of paused tasks to other users

The term task (in the context of task UI) refers in general to a unit of work to be preformed by a user as part of larger business process. The term task is also used to refer to a specific task developed using the Task UI framework.

Task

Task UI refers to both the wizard-like style of the user interface as well as to the underlying Task UI framework which consists of the development, run-time, and administrative features that support this type of user interface.

Task UI

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 902: Siebel 8.0 Essentials

Siebel Task UI 39.6

Siebel 8.0 Essentials

6 of 20Copyright © 2007, Oracle. All rights reserved.

Using Task UI

Click the Task button to expose the Task paneDisplays links to tasks that can be invoked in the current application context

Task button

Task link

Task pane

Task group (a collection

of related tasks)

Siebel Business Process Framework: Task UI Guide: Task UI ConceptsReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 903: Siebel 8.0 Essentials

Siebel Task UI 39.7

Siebel 8.0 Essentials

7 of 20Copyright © 2007, Oracle. All rights reserved.

Invoking a Task

Click the link for the desired taskA task view replaces the standard Siebel viewTask pane displays other views in the task to provide context for the overall task

Views may be grouped into chapters

Enter data in fields in the first viewClick Next to proceed to subsequent views

Enter dataTask pane shows current position in task

Click Next to proceed

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 904: Siebel 8.0 Essentials

Siebel Task UI 39.8

Siebel 8.0 Essentials

8 of 20Copyright © 2007, Oracle. All rights reserved.

Invoking a Task Continued

Task views are typically characterized by:Small number of fields in each applet in the view

Each view focuses the user on a specific set of data to editA set of navigation buttons located above and/or below the applets

Known as a Playbar appletAbsence of navigation options such as view tabs and hyperlinks

Click Next to proceed

Playbar applet

Small number of related fields

Task view

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 905: Siebel 8.0 Essentials

Siebel Task UI 39.9

Siebel 8.0 Essentials

9 of 20Copyright © 2007, Oracle. All rights reserved.

Progressing Through a Task

Enter data in each subsequent viewClick Next to proceedClick Back to return to a previous view to inspect or modify previously entered data

Task views in chapter are listed as user

navigates to the view

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 906: Siebel 8.0 Essentials

Siebel Task UI 39.10

Siebel 8.0 Essentials

10 of 20Copyright © 2007, Oracle. All rights reserved.

Branching in a Task

Tasks can branch based on data the user inputsExample: branching based on lead quality of an opportunity

Some views may explicitly present to the user a choice about the next step to be executed

Select the desired activity and click Next

User makes a selection

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 907: Siebel 8.0 Essentials

Siebel Task UI 39.11

Siebel 8.0 Essentials

11 of 20Copyright © 2007, Oracle. All rights reserved.

Pausing a Task

Click Pause to suspend task activityAll data and context is retainedA link to the paused task is added to the user’s inbox

Navigating outside the task view implicitly pauses a task For example clicking a screen tab or the site map button

Inbox

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 908: Siebel 8.0 Essentials

Siebel Task UI 39.12

Siebel 8.0 Essentials

12 of 20Copyright © 2007, Oracle. All rights reserved.

Resuming a Task

Click the link in the Inbox to resume the taskTask resumes exactly where it was paused

Inbox

Task view reappears

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 909: Siebel 8.0 Essentials

Siebel Task UI 39.13

Siebel 8.0 Essentials

13 of 20Copyright © 2007, Oracle. All rights reserved.

Completing a Task

Review the data if a final summary view is providedClick Submit or Finish to complete the task

Commits all remaining uncommitted data to the databaseThe task view is closed and the previous standard view is displayed

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 910: Siebel 8.0 Essentials

Siebel Task UI 39.14

Siebel 8.0 Essentials

14 of 20Copyright © 2007, Oracle. All rights reserved.

Persistent Data in Task UI

All data entered during a task is initially stored in temporary storage managed by the Object Manager

Is not automatically written to the database as user proceeds tonext view

Persistent data is committed to the database:When the task completesAt intermediate points in the task flow if the underlying task flow contains explicit commit steps

Records can not be rolled back after being committedData created or modified is not available to others until it is committedData in temporary storage:

Is maintained while the task is paused Is cleared only when the task is cancelled or completed

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 911: Siebel 8.0 Essentials

Siebel Task UI 39.15

Siebel 8.0 Essentials

15 of 20Copyright © 2007, Oracle. All rights reserved.

Transient Data in Task UI

Refers to data collected and used during the execution of a taskbut not saved afterwards

Example: user choice about the next stepTransient data may be mapped to persistent data in a later step in the task

User enters name of a contact to retrieveIf no contact is found, a new contact record is created and saved

Transient data disappears when the task ends

User’s selection does not need to be stored persistently

Task applet

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 912: Siebel 8.0 Essentials

Siebel Task UI 39.16

Siebel 8.0 Essentials

16 of 20Copyright © 2007, Oracle. All rights reserved.

Tasks and Workflow Processes

A workflow process can invoke a taskInvokes a task step in the workflow process

A task can invoke a workflow processInvokes Workflow Process Manager business service in a task flowInvokes a workflow using event handlers associated with a Playbarbutton

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 913: Siebel 8.0 Essentials

Siebel Task UI 39.17

Siebel 8.0 Essentials

17 of 20Copyright © 2007, Oracle. All rights reserved.

Tasks and Long-Running Workflow Processes

Initial task can start a long-running workflow upon completionLong-running workflow can assign a task to a user’s inbox and then go to sleepUser can invoke the assigned task from the inbox and upon completion will wake up the long-running workflow

Workflow (Business Process )

Views of Expense Report ApproverViews of Expense Report Submitter

CreateExpense

Create Expense Report Task

View End

HomePage

Submit Expense

Check Limit(Bus Service )

ApprovalNeeded? Yes

View

Home Page

StartWorkflow

Task Step End

No

Inbox View

Create/Assign Task

Approve Expense Report Task

View End

Inbox- Task: Approve

Expense Report - Task: Approve

Transfer

Approve Expense

InboxView

ResumeWorkflow

LaunchTask

LaunchTask

Process Expense Report

Task to create an expense report Task to approve

an expense report

Workflow initiated by first task

Workflow may pause; waits for second task to complete

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 914: Siebel 8.0 Essentials

Siebel Task UI 39.18

Siebel 8.0 Essentials

18 of 20Copyright © 2007, Oracle. All rights reserved.

Comparison of Task UI and the Standard UI

Consider using Task UI for tasks that:Are inherently complex

Lengthy, complex sets of inputs, lots of branchingAre performed by novice or infrequent usersCan take advantage of the the ability to pause and transfer tasksInvolve transactional processing Might be integrated with workflows

Consider using the standard UI for tasks that:Are simplerAre performed frequently by power usersDo not involve transactional processing

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 915: Siebel 8.0 Essentials

Siebel Task UI 39.19

Siebel 8.0 Essentials

19 of 20Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel Task UI is a wizard-like interface that guides users through steps in a taskInvoke a task from a link in the task paneUse the buttons in the Playbar applet to proceed, return to the previous view, pause, or complete the task

Paused tasks are resumed from the user’s inboxData collected during a task is not committed to the database

Until the task is completed Or is explicitly committed at specific points in the task

39

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 916: Siebel 8.0 Essentials

Siebel Task UI 39.20

Siebel 8.0 Essentials

20 of 20Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Execute a task

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 917: Siebel 8.0 Essentials

Task UI: Creating a Task 40.1

Siebel 8.0 Essentials

40Copyright © 2007, Oracle. All rights reserved.

Module 40: Task UI: Creating a Task

Siebel 8.0 Essentials

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 918: Siebel 8.0 Essentials

Task UI: Creating a Task 40.2

Siebel 8.0 Essentials

2 of 30Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Identify the major components of a taskConfigure a taskAdminister a task

Why you need to know:These are the steps to create and deploy a task

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 919: Siebel 8.0 Essentials

Task UI: Creating a Task 40.3

Siebel 8.0 Essentials

3 of 30Copyright © 2007, Oracle. All rights reserved.

Creating a Task

Consists of the following activities:Configuring several types of Task UI components in Siebel ToolsDeploying the task to the run-time clientAdministering the task in the run-time client

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 920: Siebel 8.0 Essentials

Task UI: Creating a Task 40.4

Siebel 8.0 Essentials

4 of 30Copyright © 2007, Oracle. All rights reserved.

Components of a Task0/3

Task Flow

Task View

Task Group

Siebel Business Process Framework: Task UI Guide: Task UI ConceptsReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 921: Siebel 8.0 Essentials

Task UI: Creating a Task 40.5

Siebel 8.0 Essentials

5 of 30Copyright © 2007, Oracle. All rights reserved.

Task Flow

Specifies the flow of a task as a sequence of task stepsExamples: Siebel operation, business service, and so on

Includes one or more task view steps that display a view to the userIs configured in Siebel Tools using the Task Flow Designer

Is a visual, declarative editor similar to the workflow designer

1/3

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 922: Siebel 8.0 Essentials

Task UI: Creating a Task 40.6

Siebel 8.0 Essentials

6 of 30Copyright © 2007, Oracle. All rights reserved.

Task View

Is a special type of view used in a taskDisplays data to a userAllows user to enter dataAllows user to navigate using the buttons in the Playbar applet

Consists of one or more applets and the Playbar appletIs invoked in a task view step in a task flow

2/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 923: Siebel 8.0 Essentials

Task UI: Creating a Task 40.7

Siebel 8.0 Essentials

7 of 30Copyright © 2007, Oracle. All rights reserved.

Task View Continued

Differs from standard viewsThe view is not displayed in the context of a screenThe user must use buttons in the Playbar applet to navigate

Clicking any UI element outside the task view and task pane pauses the task and displays the prior standard Siebel view

Applets in a task view do not have An applet menuThe standard record controls such as New, Delete, and Query

2/3

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 924: Siebel 8.0 Essentials

Task UI: Creating a Task 40.8

Siebel 8.0 Essentials

8 of 30Copyright © 2007, Oracle. All rights reserved.

Task Group

Represents a collection of related tasks that can be displayed as a set in the task paneCan be configured to be:

Associated with a single standard viewAvailable independent of the standard viewRestricted to a single applicationAvailable across all applications

3/3

A task group

Another task group

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 925: Siebel 8.0 Essentials

Task UI: Creating a Task 40.9

Siebel 8.0 Essentials

9 of 30Copyright © 2007, Oracle. All rights reserved.

Configuring a Task0/9

1. Configure the Task Flow

2. Create Applets for Task Views

3. Configure the Task Views

4. Bind the Task Views

5. Configure Remaining Task Steps

6. Assign Chapters

Siebel Business Process Framework: Task UI Guide: Configuring Task UIReference

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 926: Siebel 8.0 Essentials

Task UI: Creating a Task 40.10

Siebel 8.0 Essentials

10 of 30Copyright © 2007, Oracle. All rights reserved.

7. Create the Task Group

8. Compile the Configured Objects

9. Publish the Task Flow

Configuring a Task Continued

0/9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 927: Siebel 8.0 Essentials

Task UI: Creating a Task 40.11

Siebel 8.0 Essentials

11 of 30Copyright © 2007, Oracle. All rights reserved.

1. Configure the Task Flow

Use the Task Wizard to create a Task objectSelect File > New ObjectSelect the Task Tab and click the Task iconEnter fields as below:

1/9

Name that appears in the task pane

Identifies the business object for

this task40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 928: Siebel 8.0 Essentials

Task UI: Creating a Task 40.12

Siebel 8.0 Essentials

12 of 30Copyright © 2007, Oracle. All rights reserved.

1. Configure the Task Flow Continued

In the task Designer, add steps as requiredDrag connectors and anchor them to the steps

1/9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 929: Siebel 8.0 Essentials

Task UI: Creating a Task 40.13

Siebel 8.0 Essentials

13 of 30Copyright © 2007, Oracle. All rights reserved.

2. Create Applets for Task Views

Use the Form Applet Wizard to create applets that display a small set of focused dataAlternatively, copy an existing applet and delete the unnecessary fields

2/9

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 930: Siebel 8.0 Essentials

Task UI: Creating a Task 40.14

Siebel 8.0 Essentials

14 of 30Copyright © 2007, Oracle. All rights reserved.

3. Configure the Task Views

Use the Task View Wizard to create one or more task viewsView objects with type = Task

3/9

Upgrade behavior is a property of several object types that specifies how the object should be processed when a repository merge is run with an Incorporate custom layout.

Upgrade Behavior

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 931: Siebel 8.0 Essentials

Task UI: Creating a Task 40.15

Siebel 8.0 Essentials

15 of 30Copyright © 2007, Oracle. All rights reserved.

3. Configure the Task Views Continued

Select a view Web templateAssign one or more customized appletsAdd the Playbar applet to the top and/or the bottom of the view

3/9

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 932: Siebel 8.0 Essentials

Task UI: Creating a Task 40.16

Siebel 8.0 Essentials

16 of 30Copyright © 2007, Oracle. All rights reserved.

4. Bind the Task Views

For each task view step in the flow, assign a task viewRight-click the task step and select Bind Task ViewSelect the view from the list of available viewsSet the button properties for the view

4/9

Determines which buttons are disabled in a view

Set to Next for all but the final view

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 933: Siebel 8.0 Essentials

Task UI: Creating a Task 40.17

Siebel 8.0 Essentials

17 of 30Copyright © 2007, Oracle. All rights reserved.

5. Configure Remaining Task Steps

Configure other types of steps such as:Siebel Operation

Identify the business component and operationSet the Defer Write property to TRUE if necessary

Decision Point stepSet the conditions on each branch

5/9

Prevents Object Manager from rejecting the record because

some required business component fields are not

populated

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 934: Siebel 8.0 Essentials

Task UI: Creating a Task 40.18

Siebel 8.0 Essentials

18 of 30Copyright © 2007, Oracle. All rights reserved.

6. Assign Chapters

Optionally, create chapters to group steps in the task paneAssign each step to a chapter

6/9

Assigned to chapter 2

Assigned to chapter 1

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 935: Siebel 8.0 Essentials

Task UI: Creating a Task 40.19

Siebel 8.0 Essentials

19 of 30Copyright © 2007, Oracle. All rights reserved.

7. Create the Task Group

Assign the task to an existing (or new) task groupGroups several tasks in the task pane

Assign the task group to a view Assign to the Task Pane View to make the tasks visible in all views

7/9

Assign task to task group

Assign task group to view

Assign to single application if required

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 936: Siebel 8.0 Essentials

Task UI: Creating a Task 40.20

Siebel 8.0 Essentials

20 of 30Copyright © 2007, Oracle. All rights reserved.

8. Compile the Configured Objects

Compile the configured objects into the target SRF file

8/9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 937: Siebel 8.0 Essentials

Task UI: Creating a Task 40.21

Siebel 8.0 Essentials

21 of 30Copyright © 2007, Oracle. All rights reserved.

9. Publish the Task Flow

Validate the task flow to identify any possible errorsRight-click and select Validate

9/9

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 938: Siebel 8.0 Essentials

Task UI: Creating a Task 40.22

Siebel 8.0 Essentials

22 of 30Copyright © 2007, Oracle. All rights reserved.

9. Publish the Task Flow Continued

Click the Publish button in the Deployment toolbar to deploy thetask flow

Sets the task flow to completeMakes it available for activation

9/9

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 939: Siebel 8.0 Essentials

Task UI: Creating a Task 40.23

Siebel 8.0 Essentials

23 of 30Copyright © 2007, Oracle. All rights reserved.

Administering a Task0/3

1. Activate the Task Flow

2. Register the Task Flow

3. Add Responsibilities

Siebel Business Process Framework: Task UI Guide: Administering Task UIReference

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 940: Siebel 8.0 Essentials

Task UI: Creating a Task 40.24

Siebel 8.0 Essentials

24 of 30Copyright © 2007, Oracle. All rights reserved.

1. Activate the Task Flow

Navigate to Administration - Business Processes > Task DeploymentSelect the published task and click Activate

Makes the task available for use in the clientAlternatively, publish/activate directly from Siebel Tools

1/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 941: Siebel 8.0 Essentials

Task UI: Creating a Task 40.25

Siebel 8.0 Essentials

25 of 30Copyright © 2007, Oracle. All rights reserved.

2. Register the Task Flow

Navigate to Application - Administration > TasksCreate a new record and select the task from the list of published tasks

2/3

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 942: Siebel 8.0 Essentials

Task UI: Creating a Task 40.26

Siebel 8.0 Essentials

26 of 30Copyright © 2007, Oracle. All rights reserved.

3. Add Responsibilities

Add one or more responsibilities to the registered taskAllows users with the responsibility to see the task in the task paneClick Clear Cache to make the task immediately available

3/3

Adds task to the Siebel Administrator responsibility

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 943: Siebel 8.0 Essentials

Task UI: Creating a Task 40.27

Siebel 8.0 Essentials

27 of 30Copyright © 2007, Oracle. All rights reserved.

Testing the Deployment

Click the Tasks button to display the Task paneVerify that the desired task appearsClick the task link and execute the task

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 944: Siebel 8.0 Essentials

Task UI: Creating a Task 40.28

Siebel 8.0 Essentials

28 of 30Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Creating a task in Siebel Tools consists of:Configuring a task flow

Creating and binding task view stepsAssigning steps to chapters

Adding the task to a task groupAssigning the task group to a viewPublishing the task to the run-time client

Administering the task in the run-time client consists of:Activating the taskRegistering the taskAdding the task to one or more responsibilities

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 945: Siebel 8.0 Essentials

Task UI: Creating a Task 40.29

Siebel 8.0 Essentials

29 of 30Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a taskDeploy and administer the task

40

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 946: Siebel 8.0 Essentials

Task UI: Creating a Task 40.30

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 947: Siebel 8.0 Essentials

Transient Business Components and Branching 41.1

Siebel 8.0 Essentials

41Copyright © 2007, Oracle. All rights reserved.

Module 41: Transient Business Components and Branching

Siebel 8.0 Essentials

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 948: Siebel 8.0 Essentials

Transient Business Components and Branching 41.2

Siebel 8.0 Essentials

2 of 24Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the role of transient business components and task appletsConfigure branching logic in a task

Why you need to know:Transient business components allow you to incorporate branching logic into task flows and to manage user data that is not mapped immediately to a business component field

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 949: Siebel 8.0 Essentials

Transient Business Components and Branching 41.3

Siebel 8.0 Essentials

3 of 24Copyright © 2007, Oracle. All rights reserved.

User-Entered Data

Is typically persistentMaps immediately to regular business component fieldsIs written to the database during or at the end of the task flow

May be transientIs entered and then referenced in a subsequent step in the task flowDoes not need to be stored persistently

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 950: Siebel 8.0 Essentials

Transient Business Components and Branching 41.4

Siebel 8.0 Essentials

4 of 24Copyright © 2007, Oracle. All rights reserved.

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 TransientHas one or more single-value fieldsDoes not support joins or multi-value fieldsMaps to a special table: S_TU_LOGIs based on a special class: CSSBCTaskTransientStores one record at most

Is managed by the Object Manager

Siebel Business Process Framework: Task UI Guide: Configuring Transient Business Components

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 951: Siebel 8.0 Essentials

Transient Business Components and Branching 41.5

Siebel 8.0 Essentials

5 of 24Copyright © 2007, Oracle. All rights reserved.

Uses for a Transient Business Component

Capture user selections that control the flow of a task at run-timeCollect data that will be incorporated into persistent data later in the task such as:

Postal code or telephone area codeData 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

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 952: Siebel 8.0 Essentials

Transient Business Components and Branching 41.6

Siebel 8.0 Essentials

6 of 24Copyright © 2007, Oracle. All rights reserved.

Task Applet

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

Maps to a transient business componentDisplays data from only that business component

Can be assigned only to a task viewCan appear in a view by itself or with one or more standard applets

Task Applet

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 953: Siebel 8.0 Essentials

Transient Business Components and Branching 41.7

Siebel 8.0 Essentials

7 of 24Copyright © 2007, Oracle. All rights reserved.

Task Applet Continued

Differs from standard appletsIs always a form applet displaying a single recordMust be based on grid Web templates

Applets do not display an applet title or applet menuIs based on a specialized class: CSSSWEFrameTask

Task applet 41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 954: Siebel 8.0 Essentials

Transient Business Components and Branching 41.8

Siebel 8.0 Essentials

8 of 24Copyright © 2007, Oracle. All rights reserved.

Branching in a Task

Task UI framework supports branching (in a task) based on user inputInput can be persistent data such as the account typeIs implemented by configuring a decision point step

Follow the same procedure as in a workflow process

Task flow with branching

Decision point step for branching

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 955: Siebel 8.0 Essentials

Transient Business Components and Branching 41.9

Siebel 8.0 Essentials

9 of 24Copyright © 2007, Oracle. All rights reserved.

Branching in a Task Continued

Input can also be transient data, such as the selection that theuser makes when presented a choice about the next stepRequires the use of a transient business componentIs implemented by configuring a decision point step

User selection is transient data

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 956: Siebel 8.0 Essentials

Transient Business Components and Branching 41.10

Siebel 8.0 Essentials

10 of 24Copyright © 2007, Oracle. All rights reserved.

Configuring Branching in a Task Using a TBC0/7

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

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 957: Siebel 8.0 Essentials

Transient Business Components and Branching 41.11

Siebel 8.0 Essentials

11 of 24Copyright © 2007, Oracle. All rights reserved.

1. Modify the Task Flow

Add a task view step to the flow to allow the user to make a choiceAdd a decision point step to evaluate the user’s choiceAdd connectors to implement the desired business flow

Example of direct branching

1/7

Task view to allow user to make choice

Decision point step to evaluate choice

A separate task view for each user choice

Each branch corresponds to a

member in an LOV

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 958: Siebel 8.0 Essentials

Transient Business Components and Branching 41.12

Siebel 8.0 Essentials

12 of 24Copyright © 2007, Oracle. All rights reserved.

1. Modify the Task Flow Continued

Example of iteration

1/7

Decision point step to evaluate choiceLoop that

adds a note and then asks

user to choose again

Each branch corresponds to a member in an LOV

Task view to allow user to make choice

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 959: Siebel 8.0 Essentials

Transient Business Components and Branching 41.13

Siebel 8.0 Essentials

13 of 24Copyright © 2007, Oracle. All rights reserved.

2. Create a Picklist

A picklist is required when the user is presented a set of choicesSelect an existing picklist if availableAlternatively create a new picklist

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

2/7

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 960: Siebel 8.0 Essentials

Transient Business Components and Branching 41.14

Siebel 8.0 Essentials

14 of 24Copyright © 2007, Oracle. All rights reserved.

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

3/7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 961: Siebel 8.0 Essentials

Transient Business Components and Branching 41.15

Siebel 8.0 Essentials

15 of 24Copyright © 2007, Oracle. All rights reserved.

3. Create the Transient Business Component Continued

Add one or more fieldsAssign name, type, and length as requiredDo not assign a column

Will be assigned automatically after the record is savedIf required, assign the picklist

Create the single-value field pick map

3/7

Assigned automatically by Siebel Tools

Provides choices for user selection

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 962: Siebel 8.0 Essentials

Transient Business Components and Branching 41.16

Siebel 8.0 Essentials

16 of 24Copyright © 2007, Oracle. All rights reserved.

4. Create the Task Applet

Use the Task Applet Wizard to create the task appletIdentify the transient business componentIdentify the task in which the applet will be usedSelect the TBC field(s) that are to be displayed

4/7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 963: Siebel 8.0 Essentials

Transient Business Components and Branching 41.17

Siebel 8.0 Essentials

17 of 24Copyright © 2007, Oracle. All rights reserved.

4. Create the Task Applet Continued

Inspect the applet in the Web Layout EditorWizard assigns a radio button control to all fields

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 valueReposition and/or resize the label and control for each field

4/7

Radio button control (displays the members of

a LOV)

Control caption, can be edited to

include instructions

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 964: Siebel 8.0 Essentials

Transient Business Components and Branching 41.18

Siebel 8.0 Essentials

18 of 24Copyright © 2007, Oracle. All rights reserved.

5. Create the Task View

Use the Task View Wizard to create a new task viewAssign zero or more regular applets as requiredAssign the task applet

Selection is restricted to task applets assigned to the taskSelect and position the Playbar applet

Alternatively, add the task applet to an existing task viewDrag a Task Applet icon from the Applet pane to an applet placeholderSelect the desired task applet

5/7

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 965: Siebel 8.0 Essentials

Transient Business Components and Branching 41.19

Siebel 8.0 Essentials

19 of 24Copyright © 2007, Oracle. All rights reserved.

6. Configure the Decision Point Step

Right-click the decision point stepSet the name property to a meaningful value

Right-click each connector leading from the decision point stepSet the label property to a meaningful value as well

6/7

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 966: Siebel 8.0 Essentials

Transient Business Components and Branching 41.20

Siebel 8.0 Essentials

20 of 24Copyright © 2007, Oracle. All rights reserved.

6. Configure the Decision Point Step Continued

Compose the conditions for each connectorRight-click each connector leading from the decision point step and select Edit ConditionsSelect TBC, field, and desired value for this branch

6/7

TBC Field

LOV member

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 967: Siebel 8.0 Essentials

Transient Business Components and Branching 41.21

Siebel 8.0 Essentials

21 of 24Copyright © 2007, Oracle. All rights reserved.

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 NextAssign each step to a chapterCompile all new and modified objects

7/7

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 968: Siebel 8.0 Essentials

Transient Business Components and Branching 41.22

Siebel 8.0 Essentials

22 of 24Copyright © 2007, Oracle. All rights reserved.

Test the Modified Task

Validate the taskPublish and activate the taskInvoke the task in the client and verify that the task applet appears and branches as desired

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 969: Siebel 8.0 Essentials

Transient Business Components and Branching 41.23

Siebel 8.0 Essentials

23 of 24Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Tasks may include transient dataData 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 componentA task can include branching based on user entered values including transient dataBranching requires adding a decision point step to the task flow

41

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 970: Siebel 8.0 Essentials

Transient Business Components and Branching 41.24

Siebel 8.0 Essentials

24 of 24Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Extend a task to include branching

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 971: Siebel 8.0 Essentials

Siebel Business Rules 42.1

Siebel 8.0 Essentials

42Copyright © 2007, Oracle. All rights reserved.

Module 42: Siebel Business Rules

Siebel 8.0 Essentials

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 972: Siebel 8.0 Essentials

Siebel Business Rules 42.2

Siebel 8.0 Essentials

2 of 22Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the Siebel Business Rules architectureUse HaleyAuthority to examine business rules

Why you need to know:Siebel Business Rules provides a powerful way to automate business decisions and logic in a Siebel application

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 973: Siebel 8.0 Essentials

Siebel Business Rules 42.3

Siebel 8.0 Essentials

3 of 22Copyright © 2007, Oracle. All rights reserved.

Implementing Business Logic in Siebel Applications

Can often be done using declarative configuration such as:Properties in business components and fields

Example: validation and post-default valuesSiebel workflowsSiebel state models

Occasionally requires custom scriptingCan result in:

Business logic that is distributed throughout the applicationDifficult to understand the complete set of implemented logic

Business logic that is represented in multiple ways with different syntax

Difficult to modify to meet new requirementsThe need to compile and deploy a new Siebel repository file (SRF)

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 974: Siebel 8.0 Essentials

Siebel Business Rules 42.4

Siebel 8.0 Essentials

4 of 22Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Companies want a more unified way to implement business logic

Centralized store of business rules or logic that can be easily modified to incorporate changing business processesReviewable by non-implementers such as business analystsDeployable without recompiling the SRF file

Allows updating of business logic at run time

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 975: Siebel 8.0 Essentials

Siebel Business Rules 42.5

Siebel 8.0 Essentials

5 of 22Copyright © 2007, Oracle. All rights reserved.

Solution: Siebel Business Rules

Provides the ability for companies to create and enforce rules that capture their business policies

Rules are expressed in “natural English” rather than a script orSQL statements

Rules can be specified and reviewed by business expertsRules are centrally developed and administeredRules are enforced globally throughout the Siebel application

Uses client-side configuration rather than repository-based configuration and compilation

Allows rules to be created, updated, and deployed during run time

Siebel Business Rules Administration Guide: About Business RulesReference

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 976: Siebel 8.0 Essentials

Siebel Business Rules 42.6

Siebel 8.0 Essentials

6 of 22Copyright © 2007, Oracle. All rights reserved.

Examples of Uses of Siebel Business Rules

Perform validation of dataProvide default values for fields in recordsProvide default child recordsUpdate recordsImplement dynamic read-only/required behaviorCompute values of parameters to be used in decision steps in workflow process and UI tasksPerform business calculations

Determine if a warranty appliesDetermine if a customer is eligible for a discount or offer and explain whyApprove or reject an application for insuranceCompute a limit for loans or insurance coverage

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 977: Siebel 8.0 Essentials

Siebel Business Rules 42.7

Siebel 8.0 Essentials

7 of 22Copyright © 2007, Oracle. All rights reserved.

Siebel Business Rule

Is a conditional or qualified statement about business entities and characteristics that apply in a business environment

Is written using the rules of English grammar

Set “Reimbursable Flag” of an expense item to false

if the expense item’s expense item type is “Personal”

unless the expense item’s description is “Pre-approved”

Qualified rule statement

if an expense has any expense item which does not have a description then invalidate the expense with "All expense items must have a description"

Conditional rule statement

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 978: Siebel 8.0 Essentials

Siebel Business Rules 42.8

Siebel 8.0 Essentials

8 of 22Copyright © 2007, Oracle. All rights reserved.

if an expense has any expense item which does not have a description then

invalidate the expense with "All expense items must have a description"

Concepts

Are nouns that represent the entities and their characteristicsAre used to build rule statements

Correspond to business components and fields in the Siebel data model

Concept (Field)

Rule statement

Concept (represents a business component)

In traditional grammar, a noun is described as a word or expression that refers to a person, thing, event, place, concept, and so forth.

Noun

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 979: Siebel 8.0 Essentials

Siebel Business Rules 42.9

Siebel 8.0 Essentials

9 of 22Copyright © 2007, Oracle. All rights reserved.

Siebel Business Rules

Are created using HaleyAuthorityAre executed in the Siebel client using a run-time inference engine

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 980: Siebel 8.0 Essentials

Siebel Business Rules 42.10

Siebel 8.0 Essentials

10 of 22Copyright © 2007, Oracle. All rights reserved.

HaleyAuthority

Is a separate third-party application used to examine and develop Siebel business rules

Is installed as part of a Siebel Tools installationIs invoked from the Siebel Tools program group

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 981: Siebel 8.0 Essentials

Siebel Business Rules 42.11

Siebel 8.0 Essentials

11 of 22Copyright © 2007, Oracle. All rights reserved.

HaleyAuthority Continued

Imports relevant object definitions from the Siebel development repositoryGenerates the corresponding Haley conceptsIs used to author the rule statements based on the generated conceptsStores concepts and statements in a separate database referred to as a knowledge baseDeploys rules to a set of tables in the Siebel run-time client

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 982: Siebel 8.0 Essentials

Siebel Business Rules 42.12

Siebel 8.0 Essentials

12 of 22Copyright © 2007, Oracle. All rights reserved.

Run-Time Inference Engine

Is a third-party rules engine used to evaluate and execute business rules at run timeIs installed automatically in the Siebel client during a standard client installationIs accessed by calling the Business Rules Service business service

Serves as the interface to the inference engineCan be invoked using:

An action set in a run-time eventA business service step in a Siebel workflow or taskA business service call in a script

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 983: Siebel 8.0 Essentials

Siebel Business Rules 42.13

Siebel 8.0 Essentials

13 of 22Copyright © 2007, Oracle. All rights reserved.

Exploring Rules

Use HaleyAuthority to examine rulesClick the Modules & Statements tab to display rule statements

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 984: Siebel 8.0 Essentials

Siebel Business Rules 42.14

Siebel 8.0 Essentials

14 of 22Copyright © 2007, Oracle. All rights reserved.

Structure of Rules

Rules are written using English grammar (“natural English”)A given rule can be expressed in several ways

Common practice is to create statements followed by qualifiers that determine if the statement applies

If: statement applies when at least one if qualifier is trueUnless: statement does not apply when unless qualifier is trueOnly if: statement applies when all only if qualifiers are true

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 985: Siebel 8.0 Essentials

Siebel Business Rules 42.15

Siebel 8.0 Essentials

15 of 22Copyright © 2007, Oracle. All rights reserved.

Rule Statements

A statement can be either a:Statement of fact

Example: An expense report is a valid expense reportStatement of action

Set “Reimbursable Flag” of an expense item to false

Siebel-specific actions consist of three action typesActions: Produce output or modify data in the Siebel application

Set a field value, invalidate with reasonFunctions: Return a value from the Siebel application

Get profile attribute, get active view namePredicates: Return a Boolean value

User in task mode, currency is equal to

For a list of all of the Siebel supported actions, functions, and predicates refer to Siebel Business Rules Administration Guide: :Reference Topics for Siebel Business Rules.

Reference

This action raises an error but does not stop evaluation of rules. Accordingly the message displayed upon completion might contain multiple such error messages.

Invalidate with Reason

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 986: Siebel 8.0 Essentials

Siebel Business Rules 42.16

Siebel 8.0 Essentials

16 of 22Copyright © 2007, Oracle. All rights reserved.

Concepts

Click the Concepts tab in HaleyAuthority to display the conceptsEntity: Describes entities (things) in the business modelValue: Describes characteristics of entities in the business model

Siebel Business Rules uses only these two types

of concepts

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 987: Siebel 8.0 Essentials

Siebel Business Rules 42.17

Siebel 8.0 Essentials

17 of 22Copyright © 2007, Oracle. All rights reserved.

Entities

Expand Entity to display the entitiesRepresent the business components imported from the Siebel repository

Expense and Expense Item business components

imported for these rules

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 988: Siebel 8.0 Essentials

Siebel Business Rules 42.18

Siebel 8.0 Essentials

18 of 22Copyright © 2007, Oracle. All rights reserved.

Value

Expand Value and its children types to display the valuesRepresent business component fields imported from the Siebel repositoryAre grouped by the type of the field

Expense and Expense Item (text) fields imported for these

rules

Expense Item (Boolean) fields imported for these rules

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 989: Siebel 8.0 Essentials

Siebel Business Rules 42.19

Siebel 8.0 Essentials

19 of 22Copyright © 2007, Oracle. All rights reserved.

Phrasings

Consist of short expressions that capture a relationship betweenconcepts

Typically represent the relationship between a business component and one of its fields or a child business component

Are used to build rule statements

Capture relationship between business component and one of its fields

Capture relationship between parent and child BCs

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 990: Siebel 8.0 Essentials

Siebel Business Rules 42.20

Siebel 8.0 Essentials

20 of 22Copyright © 2007, Oracle. All rights reserved.

Concepts in Siebel Business Rules

Concepts are generated automatically using the Siebel Object Importer in HaleyAuthority

Entities correspond to Siebel objectsValues correspond to single-value fields of objects

Rules developers must not modify or extend the concepts in any way

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 991: Siebel 8.0 Essentials

Siebel Business Rules 42.21

Siebel 8.0 Essentials

21 of 22Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel Business Rules allows users to create and enforce rules that capture business policies

Rules are expressed in natural EnglishRules are developed by client-side configuration

Siebel Business Rules consist of:Authoring tool accessible from Siebel ToolsA run-time execution engine accessed by calling a business service

A rules module consists of multiple statements based on a set ofpredefined concepts, actions, functions, and predicates

Concepts correspond to business components and fields in the Siebel repository

42

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 992: Siebel 8.0 Essentials

Siebel Business Rules 42.22

Siebel 8.0 Essentials

22 of 22Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Examine an existing rule

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 993: Siebel 8.0 Essentials

Creating Business Rules 43.1

Siebel 8.0 Essentials

43Copyright © 2007, Oracle. All rights reserved.

Module 43: Creating Business Rules

Siebel 8.0 Essentials

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 994: Siebel 8.0 Essentials

Creating Business Rules 43.2

Siebel 8.0 Essentials

2 of 28Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create rules using HaleyAuthorityDeploy and administer rules in the Siebel clientInvoke rules in the Siebel client

Why you need to know:You perform these steps to create business rules

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 995: Siebel 8.0 Essentials

Creating Business Rules 43.3

Siebel 8.0 Essentials

3 of 28Copyright © 2007, Oracle. All rights reserved.

Creating Siebel Business Rules

Concepts are generated in HaleyAuthorityAre based on object definitions in the Siebel repositoryAre created by invoking the Siebel Object Importer

Statements are then written based on the conceptsRules developers must not:

Modify the underlying conceptsCreate additional concepts manually

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 996: Siebel 8.0 Essentials

Creating Business Rules 43.4

Siebel 8.0 Essentials

4 of 28Copyright © 2007, Oracle. All rights reserved.

Developing Rules0/4

1. Create a New Knowledge Base

2. Import Siebel Object Definitions

3. Create a Rule Module

4. Deploy the Rule Module

Siebel Business Rules Administration Guide: Creating and Deploying RulesReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 997: Siebel 8.0 Essentials

Creating Business Rules 43.5

Siebel 8.0 Essentials

5 of 28Copyright © 2007, Oracle. All rights reserved.

1. Create a New Knowledge Base

Start HaleyAuthority from the Siebel Tools program groupSelect the ODBC connection string for the new knowledge base

1/4

HaleyAuthority also supports using an Access local database for single developer prototyping.

AKB Files

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 998: Siebel 8.0 Essentials

Creating Business Rules 43.6

Siebel 8.0 Essentials

6 of 28Copyright © 2007, Oracle. All rights reserved.

1. Create a New Knowledge Base Continued

Verify that a base set of Haley concepts appears

1/4

No entities yet

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 999: Siebel 8.0 Essentials

Creating Business Rules 43.7

Siebel 8.0 Essentials

7 of 28Copyright © 2007, Oracle. All rights reserved.

2. Import Siebel Object Definitions

Invoke the Siebel object importerIn HaleyAuthority, select File > Import > Siebel Object

Provide the connection information for:Master repository data source (source of object definitions)Run-time data source (environment where rules will be run)

2/4

Example of configuration for importing from

sample repository

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1000: Siebel 8.0 Essentials

Creating Business Rules 43.8

Siebel 8.0 Essentials

8 of 28Copyright © 2007, Oracle. All rights reserved.

2. Import Siebel Object Definitions Continued

On the first import for a new knowledge base the following occurs immediately:

Object definitions relating to currency and currency code are importedConcepts to support Siebel currency calculation procedures are createdSiebel-specific actions, functions, and predicates are created

2/4

Siebel applications manage currency using amounts, currency codes, and exchange rates. Rules that include references to currencies must use call-backs (actions and functions) to the Siebel application for currency operations. These operations are not supported using the base set of Haley actions and functions.

Currency Calculations

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1001: Siebel 8.0 Essentials

Creating Business Rules 43.9

Siebel 8.0 Essentials

9 of 28Copyright © 2007, Oracle. All rights reserved.

2. Import Siebel Object Definitions Continued

After currency-related concepts are created:Select Import Siebel ObjectsSpecify the Siebel Business ObjectSelect the business component and, possibly, child business componentsFor each selected business component, select one or more fields

2/4

Business components and fields required for

the expense report rules discussed in the previous module

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1002: Siebel 8.0 Essentials

Creating Business Rules 43.10

Siebel 8.0 Essentials

10 of 28Copyright © 2007, Oracle. All rights reserved.

2. Inspect Concepts

Inspect the output window to verify that corresponding nouns, concepts, and phrasings were created

2/4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1003: Siebel 8.0 Essentials

Creating Business Rules 43.11

Siebel 8.0 Essentials

11 of 28Copyright © 2007, Oracle. All rights reserved.

2. Inspect Concepts Continued

In the Concepts tab, expand entity and valueVerify that the entities and values corresponding to the objectsand fields have been createdInspect the phrasings

Should be of the form “a <BusComp> has a <Field>” and equivalents

2/4

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1004: Siebel 8.0 Essentials

Creating Business Rules 43.12

Siebel 8.0 Essentials

12 of 28Copyright © 2007, Oracle. All rights reserved.

2. Import Siebel Object Definitions Continued

Additional import considerationsEntities are used to represent business components

Parent and child business components that are selected explicitlyBusiness components that are referenced in multi-value fields

Values are used to represent single-value fields

Are categorized by the field typeExample:

DTYPE_TEXT value: stringDTYPE_PHONE value: stringDTYPE_INTEGER value: number

Several Siebel field types cannot be converted

Are not displayed in the list of selectable fields

2/4

For a list of all of the mappings (including fields types that can not be converted) refer to Siebel Business Rules Administration Guide: Reference Topics for SiebelBusiness Rules.

Field Mappings

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1005: Siebel 8.0 Essentials

Creating Business Rules 43.13

Siebel 8.0 Essentials

13 of 28Copyright © 2007, Oracle. All rights reserved.

3. Create a Rule Module

A module is a collection of rule statements that are deployed together

Suggestion: Create a rule module to contain only the statements that need to be evaluated as a set by the rules engineName the rule module to indicate how the module will be invoked

A module can be divided into submodules to improve readability

3/4

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1006: Siebel 8.0 Essentials

Creating Business Rules 43.14

Siebel 8.0 Essentials

14 of 28Copyright © 2007, Oracle. All rights reserved.

3. Create a Rule Module Continued

Click the Modules & Statement tabAdd a new module (and submodules if desired)

3/4

Module

Submodules

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1007: Siebel 8.0 Essentials

Creating Business Rules 43.15

Siebel 8.0 Essentials

15 of 28Copyright © 2007, Oracle. All rights reserved.

3. Create a Rule Module Continued

Add one or more statementsUse the Edit Statement dialog box to enter the statement

Text is bolded if it can be parsed, that is if the words enteredcorrespond to defined concepts and phrasesA list of eligible words is presented at all times

3/4

Enter text

Allowable words based on phrasings

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1008: Siebel 8.0 Essentials

Creating Business Rules 43.16

Siebel 8.0 Essentials

16 of 28Copyright © 2007, Oracle. All rights reserved.

3. Create a Rule Module Continued

3/4

Add applicability conditions to specify when the statement appliesEdit statements until all content parses

Right-click Applicability to select condition

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1009: Siebel 8.0 Essentials

Creating Business Rules 43.17

Siebel 8.0 Essentials

17 of 28Copyright © 2007, Oracle. All rights reserved.

4. Deploy the Rule Module

Invoke the Siebel DeployerIn HaleyAuthority select Tools > Siebel DeploymentVerify the connection parameters for the run-time data sourceSelect the modules to deploy and click OK

4/4

The Siebel Deployer is a HaleyAuthority plug-in that allows developers to deploy to a run-time environment rule modules that they created.

Siebel Deployer

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1010: Siebel 8.0 Essentials

Creating Business Rules 43.18

Siebel 8.0 Essentials

18 of 28Copyright © 2007, Oracle. All rights reserved.

Administer Deployed Rules

In the Siebel client, navigate to Administration - Business Rules > Rule Modules ListSelect the deployed rule moduleSpecify the business object that will provide data to the run-time rules engine

Should be the business object specified for object import

Siebel Business Rules Administration Guide: Configuring and Activating Rule Modules

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1011: Siebel 8.0 Essentials

Creating Business Rules 43.19

Siebel 8.0 Essentials

19 of 28Copyright © 2007, Oracle. All rights reserved.

Administer Deployed Rules Continued

Create one or more Rule Module Relation recordsThey identify the business components necessary to evaluate the rules

Click New and select the records that specify the parent-child relationships captured in the rules

This fields indicates whether the complete set of Siebel data should be provided to the rules engine at once or smaller sets of data can be provided. This is relevant when the rules iterate over a set of records.

Data Assertion Mode

A value of Y in the Inconsistent field indicates that the data model and Siebel repository and the concepts in the knowledge base are no longer consistent. In this event, the models need to be resynchronized before the rule module can be administered.

Inconsistent

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1012: Siebel 8.0 Essentials

Creating Business Rules 43.20

Siebel 8.0 Essentials

20 of 28Copyright © 2007, Oracle. All rights reserved.

Activate Rules

Click the Activate button in the Rule Modules list applet to setthe status to active

Only active rules are evaluated by the rules engine

Status changes to Active

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1013: Siebel 8.0 Essentials

Creating Business Rules 43.21

Siebel 8.0 Essentials

21 of 28Copyright © 2007, Oracle. All rights reserved.

Invoking the Rules Engine

The rules engine is accessed by calling the Business Rule Service business service

Can be invoked using an action set for a run-time event

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1014: Siebel 8.0 Essentials

Creating Business Rules 43.22

Siebel 8.0 Essentials

22 of 28Copyright © 2007, Oracle. All rights reserved.

Creating a Run-Time Event Action Set

In the Siebel client, navigate to Administration - Runtime Events > Action SetsCreate a new action set, and a child action of BusService type

Action set

Action for the action set

Siebel Business Rules Administration Guide: Integrating Rules with Siebel Runtime Events

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1015: Siebel 8.0 Essentials

Creating Business Rules 43.23

Siebel 8.0 Essentials

23 of 28Copyright © 2007, Oracle. All rights reserved.

Creating a Run-Time Event Action Set Continued

In the More Info appletSpecify Business Rule Service and RunRules as the business service name and methodSpecify the rule module name as the context

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1016: Siebel 8.0 Essentials

Creating Business Rules 43.24

Siebel 8.0 Essentials

24 of 28Copyright © 2007, Oracle. All rights reserved.

Creating a Run-Time Event Action Set Continued

Navigate to Administration - Runtime Events > EventsCreate an event record for the business component

Specify the desired run-time eventAssign the action set

Select Reload Runtime Events from the applet menu

Action set Run-time event

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1017: Siebel 8.0 Essentials

Creating Business Rules 43.25

Siebel 8.0 Essentials

25 of 28Copyright © 2007, Oracle. All rights reserved.

Test the Rule Module

Create a record and trigger the run-time eventVerify that the desired business logic is executed

Create additional records as required to fully test the rules

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1018: Siebel 8.0 Essentials

Creating Business Rules 43.26

Siebel 8.0 Essentials

26 of 28Copyright © 2007, Oracle. All rights reserved.

Additional Ways to Invoke the Rules Engine

The business rules service can be invoked:In custom scriptsIn business service steps in Siebel workflows and tasks

Invokes rules engine to determine

the lead quality

A limitation of this release is that custom scripting is required to extract the arguments returned by the Business Rules Service business service. Consult Bookshelf for an example of such a custom script.

Invoking the Rules Engine in a Workflow

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1019: Siebel 8.0 Essentials

Creating Business Rules 43.27

Siebel 8.0 Essentials

27 of 28Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Create rules by:Creating concepts by importing business components and fields from the Siebel repositoryBuilding statements based on the concepts

Deploy the rules module to the Siebel run-time clientActivate the rules in the clientInvoke the rules by using a run-time event

Configure an action set

43

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1020: Siebel 8.0 Essentials

Creating Business Rules 43.28

Siebel 8.0 Essentials

28 of 28Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create a new rule

Import a set of Siebel objectsCreate the rule moduleDeploy and administer the moduleCreate an action set triggered by a run-time event

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1021: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.1

Siebel 8.0 Essentials

44Copyright © 2007, Oracle. All rights reserved.

Module 44: Introducing Siebel Assignment Manager

Siebel 8.0 Essentials

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1022: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.2

Siebel 8.0 Essentials

2 of 20Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Explain the role of Siebel Assignment ManagerList the elements used to create rules that assign business data

Why you need to know:Your company may have rules and policies about how to assign data that can be automated using Siebel Assignment Manager

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1023: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.3

Siebel 8.0 Essentials

3 of 20Copyright © 2007, Oracle. All rights reserved.

Business Challenge

Companies need to assign business data in a timely fashion and in a way that consistently follows their business rules and policies

Sales leadsContactsAccountsService requests

Typical characteristicsLarge volumes of dataShort response timesMultiple rules and policies

ComplexConflicting

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1024: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.4

Siebel 8.0 Essentials

4 of 20Copyright © 2007, Oracle. All rights reserved.

Business Solution: Siebel Assignment Manager

Allows companies to automatically assign business data to the most appropriate positions, people, and organizationsConsists of:

Administrative functionality to define assignment rulesServer components to automatically assign business data according to the rules

Siebel Assignment Manager Administration GuideReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1025: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.5

Siebel 8.0 Essentials

5 of 20Copyright © 2007, Oracle. All rights reserved.

Assignment Rules

Assignment Manager uses assignment rules to assign dataRules assign one or more candidates to assignment objects based on one or more criteria

EmployeesPositionsOrganizations

SkillsExpertiseAvailabilityProductWorkloadSales Territory

AccountsCampaignsService RequestsProduct DefectsOpportunitiesActivities

Criteria

Assignment Objects

Candidates

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1026: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.6

Siebel 8.0 Essentials

6 of 20Copyright © 2007, Oracle. All rights reserved.

Assignment Objects

Assignment objects identify the type of data being assignedSeveral assignment objects are pre-configured in the as-delivered application

Examples:AccountContactService Request

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1027: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.7

Siebel 8.0 Essentials

7 of 20Copyright © 2007, Oracle. All rights reserved.

Assignment Candidates

Candidates are instances of entities to which data can be assigned

PositionEmployeeOrganization

Examples of candidates for pre-configured objects:Accounts can be assigned to both positions and organizationsActivities can be assigned to employeesService Requests can be assigned to both employees and organizations

Types of candidates must be consistent with the allowed access control mechanisms for the object

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1028: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.8

Siebel 8.0 Essentials

8 of 20Copyright © 2007, Oracle. All rights reserved.

Assignment Criteria

Criteria express conditions that must be satisfied for data to be assigned

Are expressed in terms of attributes of objects and/or candidatesExamples:

Account State = CAAccount Product = a product that candidate has expertise for

Rules often include multiple criteria

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1029: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.9

Siebel 8.0 Essentials

9 of 20Copyright © 2007, Oracle. All rights reserved.

Administering Assignment Rules

Rules are created and administered using the Siebel Web ClientAre not part of the Siebel repositoryAre not compiled into the .srf fileCan be deployed during run time

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1030: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.10

Siebel 8.0 Essentials

10 of 20Copyright © 2007, Oracle. All rights reserved.

Examples of Assignment Rules0/2

Assign Accounts by Sales Region

Assign Service Requests to Skilled Agents

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1031: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.11

Siebel 8.0 Essentials

11 of 20Copyright © 2007, Oracle. All rights reserved.

Assign Accounts by Sales Region

ABC Company assigns accounts to its sales organizationABC Company also assigns accounts to its sales reps by sales region

Opportunities in the Western Region (CA, OR, WA) are assigned to Sales Rep – WestOpportunities in the Eastern Region (CT, MA, ME, NH, RI, VT) areassigned to Sales Rep – East

1/2

VP Sales - USPat

Sales Rep – WestAlex

Sales Rep – EastJane

ABC Sales Organization

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1032: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.12

Siebel 8.0 Essentials

12 of 20Copyright © 2007, Oracle. All rights reserved.

Rule to Assign Accounts by Sales Region

Rule includesCandidates (desired organization and positions)Criteria for determining region to assign the account

Object: Account

Criteria: Account State is one of CT,MA,ME,NH,RI,VT

Candidates:Sales Rep – East Sales Organization

Rule: Assign East Accounts

Position candidate

Organization candidate

Rule applies when

1/2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1033: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.13

Siebel 8.0 Essentials

13 of 20Copyright © 2007, Oracle. All rights reserved.

Rule to Assign Accounts by Sales Region Continued

A separate rule is required for each sales region

Object: Account

Criteria: Account State is one of CT,MA,ME,NH,RI,VT

Candidates:Sales Rep – East Sales Organization

Rule: Assign East Accounts

Object: Account

Criteria: Account State is one of CA,OR,WA

Candidates:Sales Rep – West Sales Organization

Rule: Assign West Accounts

This rule applies when This rule applies when

1/2

Territory is another name for sales region. Formally, a territory is a collection of accounts, contacts, and or assets that are managed by a team of positions. Most often a territory is based on a geographical area such as states.

Territory

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1034: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.14

Siebel 8.0 Essentials

14 of 20Copyright © 2007, Oracle. All rights reserved.

Candidates for Rules

Two assignment rule records are createdCandidates are listed in the Position Candidates view

1/2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1035: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.15

Siebel 8.0 Essentials

15 of 20Copyright © 2007, Oracle. All rights reserved.

Criteria for Rules

Applicable states are listed in the Criteria view

1/2

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1036: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.16

Siebel 8.0 Essentials

16 of 20Copyright © 2007, Oracle. All rights reserved.

Assign Service Request to Skilled Agents

VP ServiceChris

(no skill)

Service Agent 1Craig

(Network)

Service Agent 2Ellen

(CPUs)

Service Agent 3Jack

(Power supplies)

XYZ company assigns service requests to employees with the correct skills to resolve them

Skills are properties that reflect the candidate’s abilities in various areas such as:

Product expertiseInstallation and upgrade skillsLanguages

Service Organization

2/2

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1037: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.17

Siebel 8.0 Essentials

17 of 20Copyright © 2007, Oracle. All rights reserved.

Assign Service Request to Skilled Agents Continued

Rule includesCriteria for assigning request

Employee skill matches the area of the service requestCandidates to be considered

Can list select employees or consider all available employees

Object: Service Request

Criteria: Candidate’s product skill = product associated with Service Request

Candidates:All service agents

Rule: Assign Service Request

2/2

Employee candidates

Rule applies when

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1038: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.18

Siebel 8.0 Essentials

18 of 20Copyright © 2007, Oracle. All rights reserved.

Running Assignment Manager

Assignment Manager can be invoked in three modes Batch Assignment: Can be used to submit batches of data for one-time assignment or reassignmentDynamic Assignment: Automatically invokes Assignment Manager to assign data in near real time as records are created or modifiedInteractive Assignment: Can be used to manually assign candidates in real time

Enabled for Service Request and Activity assignment objects

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1039: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.19

Siebel 8.0 Essentials

19 of 20Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Siebel Assignment Manager allows companies to automatically assign business data to the most appropriate positions, people, and organizationsAssignment rules are used to assign candidates to objects

Include assignment objects, candidates, and criteria

44

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1040: Siebel 8.0 Essentials

Introducing Siebel Assignment Manager 44.20

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1041: Siebel 8.0 Essentials

Creating Assignment Rules 45.1

Siebel 8.0 Essentials

45Copyright © 2007, Oracle. All rights reserved.

Module 45: Creating Assignment Rules

Siebel 8.0 Essentials

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1042: Siebel 8.0 Essentials

Creating Assignment Rules 45.2

Siebel 8.0 Essentials

2 of 28Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Create an assignment rule that assigns sales data to a sales teamCreate an assignment rule that assigns service data to a skilledemployeeTest assignment rules

Why you need to know:Assignment Manager uses rules to assign data to candidates

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1043: Siebel 8.0 Essentials

Creating Assignment Rules 45.3

Siebel 8.0 Essentials

3 of 28Copyright © 2007, Oracle. All rights reserved.

Assignment Rules

Assign one or more candidates to assignments objects based on one or more criteriaAre specified using several key concepts

Captures the criteria aspect of the rule

How to pick the assignee from the qualified candidates

Who to consider as candidates

Siebel Assignment Manager Administration Guide: Assignment Rule Administration

Reference

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1044: Siebel 8.0 Essentials

Creating Assignment Rules 45.4

Siebel 8.0 Essentials

4 of 28Copyright © 2007, Oracle. All rights reserved.

Creating Assignment Rules

General process to create assignment rules:Design the ruleCreate the rule recordDefine the criteriaSpecify the candidates

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1045: Siebel 8.0 Essentials

Creating Assignment Rules 45.5

Siebel 8.0 Essentials

5 of 28Copyright © 2007, Oracle. All rights reserved.

Example: Assigning Data by Sales Region0/4

1. Design the Assignment Rules

2. Create the Rule

3. Specify the Criteria

4. Specify the Candidates

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1046: Siebel 8.0 Essentials

Creating Assignment Rules 45.6

Siebel 8.0 Essentials

6 of 28Copyright © 2007, Oracle. All rights reserved.

1. Design the Assignment Rules

Determine the criteria to identify each sales regionExample: Sales regions are based on account state

East region includes MA, VT, NH, ME, RI, CT

Determine the candidates to be assigned in each sales region

1/4

Sales Rep - West 1 Sales Rep - West 2

West (CA, OR, WA)

Sales Rep - EastSales Mgr - East

East (CT, MA, ME, NH, RI, VT)

PositionsRegion

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1047: Siebel 8.0 Essentials

Creating Assignment Rules 45.7

Siebel 8.0 Essentials

7 of 28Copyright © 2007, Oracle. All rights reserved.

2. Create the Rule

Navigate to Administration - Assignment > Assignment Rules ListCreate a new rule for each sales region

Select the assignment objectSet Person Candidate Source to From RuleSelect the Assignee FilterAssign a rule group

2/4

Assigns multiple qualifying candidates

Specify Default Group if not rule groups

Consider only the candidates listed in rule

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1048: Siebel 8.0 Essentials

Creating Assignment Rules 45.8

Siebel 8.0 Essentials

8 of 28Copyright © 2007, Oracle. All rights reserved.

3. Specify the Criteria

Drill down on the ruleIn the Criteria view, create a new Rule Criterion to be used to assign data

Example: Only opportunities with an account state in the East region will be assigned

Specify the Comparison MethodSpecify the attribute value(s) to be used in the comparison

3/4

Compares Account State to the list below

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1049: Siebel 8.0 Essentials

Creating Assignment Rules 45.9

Siebel 8.0 Essentials

9 of 28Copyright © 2007, Oracle. All rights reserved.

4. Specify the Candidates

Navigate to the Position Candidates viewAdd a new record for each position to be assignedOptionally assign organizations using the Organization Candidates view

4/4

Specify one or more positions

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1050: Siebel 8.0 Essentials

Creating Assignment Rules 45.10

Siebel 8.0 Essentials

10 of 28Copyright © 2007, Oracle. All rights reserved.

Example: Assigning Service Data to Employees0/5

1. Design the Assignment Rule

2. Create the Rule

3. Specify the Criteria

4. Specify the Candidates

5. Associate Skills with Candidates

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1051: Siebel 8.0 Essentials

Creating Assignment Rules 45.11

Siebel 8.0 Essentials

11 of 28Copyright © 2007, Oracle. All rights reserved.

1. Design the Assignment Rule

Determine the criteria to assign a candidate to a service requestMatching criteria include:

Skill matchLocationAvailabilityWorkload

Determine the set of eligible candidatesAlternatively consider all available employees

1/5

Object: Service Request

Criteria: Candidate’s product skill = product associated with service request

Candidates:All service agents

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1052: Siebel 8.0 Essentials

Creating Assignment Rules 45.12

Siebel 8.0 Essentials

12 of 28Copyright © 2007, Oracle. All rights reserved.

2. Create the Rule

Navigate to Administration - Assignment > Assignment Rules ListSelect the assignment objectSet Person Candidate Source to All PeopleSet Assignee Filter to One, Best FitAssign a rule group

2/5

Assign only one candidate

Consider all employees

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1053: Siebel 8.0 Essentials

Creating Assignment Rules 45.13

Siebel 8.0 Essentials

13 of 28Copyright © 2007, Oracle. All rights reserved.

3. Specify the Criteria

Drill down on the ruleIn the Criteria view, create a new rule criterion to be used to assign data

Example: Consider employees only if they are skilled in the product associated with the SR

Specify the comparison method

3/5

Qualify only employees with product skill

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1054: Siebel 8.0 Essentials

Creating Assignment Rules 45.14

Siebel 8.0 Essentials

14 of 28Copyright © 2007, Oracle. All rights reserved.

4. Specify the Candidates

When considering a restricted set of candidates for assignment, set Person Candidate Source = From Rule

Navigate to the Employee Candidates viewAdd a new record for each employee to be considered

Otherwise set Person Candidate Source = All PeopleDo not explicitly add any employees to rule

4/5

Do not add any employees

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1055: Siebel 8.0 Essentials

Creating Assignment Rules 45.15

Siebel 8.0 Essentials

15 of 28Copyright © 2007, Oracle. All rights reserved.

5. Associate Skills with Candidates

Navigate to Administration - User > Employees Assignment Skills

Skills are employees attributes that can be used in assignmentSelect a skill and assign one or more values that apply to the user

5/5

Specific skills in the area

Areas of expertise

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1056: Siebel 8.0 Essentials

Creating Assignment Rules 45.16

Siebel 8.0 Essentials

16 of 28Copyright © 2007, Oracle. All rights reserved.

Overview of Key Concepts0/4

Person Candidate Source

Comparison Method

Scoring

Assignee Filter

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1057: Siebel 8.0 Essentials

Creating Assignment Rules 45.17

Siebel 8.0 Essentials

17 of 28Copyright © 2007, Oracle. All rights reserved.

Person Candidate Source

Determines the set of possible candidates that can be assigned to data by this rule

1/4

Consider only employees/positions listed explicitly as a candidate in the rule

From Rule

Team Name

All People

Candidate Source

Consider every employee/position as a candidate

Consider the members of a team as candidatesImplements dynamic assignment

Action

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1058: Siebel 8.0 Essentials

Creating Assignment Rules 45.18

Siebel 8.0 Essentials

18 of 28Copyright © 2007, Oracle. All rights reserved.

Comparison Method

Determines how a rule is evaluatedExpressed in terms of object and candidate attributes

2/4

Checks if an organization attribute matches a value specified in a rule

Compare to Organization

Checks if a person attribute matches a value specified in a rule

Compare to Person

Compare Object to Organization

Compare Object to Person

Compare to Object

Comparison Method

Checks if a record attribute matches a value specified in rule

Checks if record attribute matches that attribute of an organization candidate

Checks if a record attribute matches that attribute of an employee or position candidate

Action

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1059: Siebel 8.0 Essentials

Creating Assignment Rules 45.19

Siebel 8.0 Essentials

19 of 28Copyright © 2007, Oracle. All rights reserved.

Scoring

Is a mechanism used to rank candidates for potential assignmentRules can specify passing scoresAssign higher scores to more important criteria and lower scores to less important criteria

3/4

Add this value to candidates score if candidate qualifies

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1060: Siebel 8.0 Essentials

Creating Assignment Rules 45.20

Siebel 8.0 Essentials

20 of 28Copyright © 2007, Oracle. All rights reserved.

Assignee Filter

Determines how candidates that qualify are selected for assignment

Multiple candidates might qualifySome rules may allow multiple candidates to be assigned

4/4

Assign a single qualifying candidate by random selection

One, random

Assign the candidate with the highest score (must score higher than the rule’s passing score)

One, best fit

Assign the highest scoring candidate as well as any others with scores higher than the rule’s passing score

All, must assign

Assign all candidates with a score higher than the rule’s passing score

All, above minimum

ActionAssignee filter

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1061: Siebel 8.0 Essentials

Creating Assignment Rules 45.21

Siebel 8.0 Essentials

21 of 28Copyright © 2007, Oracle. All rights reserved.

Testing Assignment Rules0/5

1. Release Assignment Rules

2. Enable Detailed Logging

3. Run a Batch Assignment

4. Examine the Assigned Records

5. Inspect the Assignment Log Files

After creating a rule, run Batch Assignment to test the rule

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1062: Siebel 8.0 Essentials

Creating Assignment Rules 45.22

Siebel 8.0 Essentials

22 of 28Copyright © 2007, Oracle. All rights reserved.

1. Release Assignment Rules

In the Assignment Rules List view:Verify that the rule has not expiredClick Release to update the list of rules used by Assignment Manager

A rule must be released again every time it is modified

1/5

All rules are active and are released

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1063: Siebel 8.0 Essentials

Creating Assignment Rules 45.23

Siebel 8.0 Essentials

23 of 28Copyright © 2007, Oracle. All rights reserved.

2. Enable Detailed Logging

Navigate to Administration - Server Configuration > Servers > Components

Select Batch AssignmentSet Log Level for Object Assignment and Rules Evaluation to 4

Log levels can range from 0 to 5 in order of increasing detail

2/5

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1064: Siebel 8.0 Essentials

Creating Assignment Rules 45.24

Siebel 8.0 Essentials

24 of 28Copyright © 2007, Oracle. All rights reserved.

3. Run a Batch Assignment

Navigate to Administration - Server Management > JobsCreate a Batch Assignment job and submit the request

3/5

Specify assignment object for this job

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1065: Siebel 8.0 Essentials

Creating Assignment Rules 45.25

Siebel 8.0 Essentials

25 of 28Copyright © 2007, Oracle. All rights reserved.

4. Examine the Assigned Records

Navigate to the list view for the data assignedInspect the records and verify that the desired assignments were made

4/5

Has expertise in this product

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1066: Siebel 8.0 Essentials

Creating Assignment Rules 45.26

Siebel 8.0 Essentials

26 of 28Copyright © 2007, Oracle. All rights reserved.

5. Inspect the Assignment Log Files

Navigate to the Siebel Server log directory to locate the log file generated by the Batch Assignment job

Detailed log files document:How each rule is evaluated and why it failed or passedWhether the candidates from each passed rule qualifyHow the assignees are determined from the list of qualified candidates

5/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1067: Siebel 8.0 Essentials

Creating Assignment Rules 45.27

Siebel 8.0 Essentials

27 of 28Copyright © 2007, Oracle. All rights reserved.

Module Highlights

General process to create assignment rules:Design the ruleCreate the rule recordDefine the criteriaSpecify the candidates

Test assignment rules by:Releasing the ruleRunning a batch assignmentExamining the assignment recordsInspecting the assignment log files

Enable an appropriate level of detailed logging

45

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1068: Siebel 8.0 Essentials

Creating Assignment Rules 45.28

Siebel 8.0 Essentials

28 of 28Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create assignment rulesTest the rules

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1069: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.1

Siebel 8.0 Essentials

46Copyright © 2007, Oracle. All rights reserved.

Module 46: Tailoring Assignment Manager Behavior

Siebel 8.0 Essentials

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1070: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.2

Siebel 8.0 Essentials

2 of 28Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the steps in the assignment methodologyPrioritize rules using exclusive rules and rule group sequencingModify the behavior of an assignment object

Why you need to know:Developing effective rules requires an understanding of the waysassignments rules can be tailored

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1071: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.3

Siebel 8.0 Essentials

3 of 28Copyright © 2007, Oracle. All rights reserved.

Assignment Methodology

Refers to the steps followed by Assignment Manager to assign candidates to objectsSimplified representation (does not contain all steps)

Identify rules that applyIdentify a list of qualified candidates for the applicable rulesDetermine primary assignee and assign candidates

For more details, consult the Assignment Methodology section in the Siebel Assignment Manager Administrative Guide

Siebel Assignment Manager Administration Guide: Overview of Siebel Assignment Manager

Reference

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1072: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.4

Siebel 8.0 Essentials

4 of 28Copyright © 2007, Oracle. All rights reserved.

Identify Rules That Apply

Assignment Manager evaluates all rules that apply to the objectEliminates rules that fail the Compare to Object criteria

Example: Value of Required field determines if rule qualifiesMultiple rules may survive

Always: Rule qualifies if and only if State = CA, OR,or WANever: Rule qualifies regardless of stateWhen Available: Rule qualifies if state not specified or State = CA, OR,or WA

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1073: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.5

Siebel 8.0 Essentials

5 of 28Copyright © 2007, Oracle. All rights reserved.

Identify Qualified Candidates

For each rule that passes, Assignment Manager generates a list of qualified candidates

Evaluates the candidates specified in the rule using criteria:Compare to Person/OrganizationCompare Object to Person/Organization

Scores each candidateApplies the Assignee Filter

Determines how to process qualifying

candidates for the rule

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1074: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.6

Siebel 8.0 Essentials

6 of 28Copyright © 2007, Oracle. All rights reserved.

Score Candidates

Scores can be defined for many parameters:

To rank the best candidate from a group of qualified candidates

Candidate

To rank criteria from the most important to the least important

Criteria

Workload distribution

Criteria values

Assignment rule

Item Scored

To apply the score to the candidate’s total score when the candidate meets the rule criteria

To distribute workload across all candidatesThe higher the candidate’s current workload is, the lower his/her score is

To rank criteria values from the most important to the least important

Action

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1075: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.7

Siebel 8.0 Essentials

7 of 28Copyright © 2007, Oracle. All rights reserved.

Score Candidates Continued

A candidate’s score is the sum of the individual scores

Candidate total score = 40 …

Candidate total score = 35 …

… so both candidates qualify as each score

exceeds the passing score

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1076: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.8

Siebel 8.0 Essentials

8 of 28Copyright © 2007, Oracle. All rights reserved.

Assign Candidates

Assignment Manager:Generates assignments using the Assignees Filter from the rule with the highest scoring assigneeFor team-based assignment, the highest-scoring qualifying candidate from the highest-scoring rule is made primary

Rule may optionally identify the primary explicitly

Will be assigned as primary (total score = 40)

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1077: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.9

Siebel 8.0 Essentials

9 of 28Copyright © 2007, Oracle. All rights reserved.

Workload Distribution

Is used to distribute work among qualified candidates Prevents individuals from being overloaded with work

Consists of:Workload Distribution RuleMaximum WorkloadScore

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1078: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.10

Siebel 8.0 Essentials

10 of 28Copyright © 2007, Oracle. All rights reserved.

Service Scenario

Business Rule: Assign service requests to agents based on product skill and current workload

Employee: EllenSkill: CPUWorkload: 10 SRs

Employee: CraigSkill: NetworkWorkload: 18 SRs

Employee: JackSkill: Network Workload: 20 SRs

Assign incoming service requests …

… to the appropriate candidate

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1079: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.11

Siebel 8.0 Essentials

11 of 28Copyright © 2007, Oracle. All rights reserved.

Workload Distribution Rules

Balance workload across candidatesAssign a computed score to candidates based on:

Maximum Workload: the maximum number of service requests that a candidate should own at any timeScore: the weight assigned to workload in comparison to other criteria

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1080: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.12

Siebel 8.0 Essentials

12 of 28Copyright © 2007, Oracle. All rights reserved.

Employee Product Score

Employee Workload ScoreScore * [1 - (Current Workload / Max Load)]

TotalScore

Craig 20 45 * [1 – (18 / 20)] = 4.5 24.5Ellen 0 45 * [1 – (10 / 20)] = 22.5 22.5Jack 20 45 * [1 – (20 / 20)] = 0 20

Calculating Scores for the Scenario

Craig is assigned

Employee: EllenSkill: CPUWorkload: 10 SRs

Employee: CraigSkill: NetworkWorkload: 18 SRs

Employee: JackSkill: Network Workload: 20 SRs

Service Request Product = Network

Assign incoming network service request to Craig

Compute a workload score and add it to other scoresAssign a score for product skill

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1081: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.13

Siebel 8.0 Essentials

13 of 28Copyright © 2007, Oracle. All rights reserved.

Rule Prioritization

Multiple assignment rules may exist for the same assignment object

Can result in qualified candidates from both rules being assignedBusiness policies may require that candidates from only a singlerule be assigned

Assign Opportunities based on Account State to the state sales

office

Assign Opportunities based on Account Industry to only the

industry specialists Only positions from this rule should be assigned

Siebel Assignment Manager Administration Guide: Assignment Rule Administration

Reference

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1082: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.14

Siebel 8.0 Essentials

14 of 28Copyright © 2007, Oracle. All rights reserved.

Exclusive Rules

Rules can be marked exclusive to prioritize themResults in only the qualified candidates from that rule being assigned

All rules are first evaluated and scored as beforeExclusive rule must first pass and have qualifying candidates

Set flag to make rule exclusive

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1083: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.15

Siebel 8.0 Essentials

15 of 28Copyright © 2007, Oracle. All rights reserved.

Multiple Exclusive Rules

When several exclusive rules have qualifying candidates, the rule with the highest scoring candidate prevails

Keep qualifying assignees from only that ruleWhen two or more exclusive rules tie for highest score, none of the rules prevail

Only the default candidate is assignedDesign exclusive rules carefully to avoid such behavior

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1084: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.16

Siebel 8.0 Essentials

16 of 28Copyright © 2007, Oracle. All rights reserved.

Sequencing Rules

Rules within a rule group can be sequenced to prioritize themA rule group is a named collection (or subset) of assignment rules

A rule can appear in one and only one groupRules not explicitly assigned to a group belong automatically to the Default Rule Group

Defines rules groups

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1085: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.17

Siebel 8.0 Essentials

17 of 28Copyright © 2007, Oracle. All rights reserved.

Rule Sequence

Specifies the order in which Assignment Manager evaluates rules in a group

Rules with the same sequence number are evaluated in unspecified orderRules with no sequence number are considered to have a sequence number of 0

Rule evaluated first

Rule evaluated

last

Two rules evaluated

next

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1086: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.18

Siebel 8.0 Essentials

18 of 28Copyright © 2007, Oracle. All rights reserved.

Rule Sequence Continued

Assignment Manager pauses after evaluating rules with a given sequence number

Stops if an assignment can be madeOtherwise, continues to rules with next higher sequence number

Permit hierarchical assignment strategiesFor example:

Assign opportunity first to a qualifying local officeIf not, then to a district officeIf not, then to a regional officeIf not, then to headquarters

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1087: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.19

Siebel 8.0 Essentials

19 of 28Copyright © 2007, Oracle. All rights reserved.

Run-Time Behavior of Assignment Manager

Is determined by the Assignment object definitionIs located in the repositoryIs configured individually for each assignment object

70 plus properties

Siebel Assignment Manager Administration Guide: Advanced Assignment Manager Configuration

Reference

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1088: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.20

Siebel 8.0 Essentials

20 of 28Copyright © 2007, Oracle. All rights reserved.

Assignment Mode

Specifies how candidates are assigned when a rule assigns both positions and organizations

Assign positions and organizations independently

Assign only positions/organizations pairs that both qualify

Assign positions first and consider only corresponding organizations

Assign organizations first and consider only corresponding positions

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1089: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.21

Siebel 8.0 Essentials

21 of 28Copyright © 2007, Oracle. All rights reserved.

Default Candidate

Is a predefined position/employee who is assigned in the following situations:

Conflict between two rules with same scoreAssigns candidates for both rules and assigns the default candidate to the teamMakes default candidate the primary for team-based assignments

Conflict between two exclusive rules with the same scoreAssigns default candidate to the team as primary

Rules do not identify any candidates to assignAssigns default candidate to the team as primary

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1090: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.22

Siebel 8.0 Essentials

22 of 28Copyright © 2007, Oracle. All rights reserved.

Default Candidate Continued

Is specified as properties of the Assignment Object definitionDefault EmployeeDefault GroupDefault OrgDefault Position

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1091: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.23

Siebel 8.0 Essentials

23 of 28Copyright © 2007, Oracle. All rights reserved.

Keep Creator

If this property is set to TRUE, Assignment Manager keeps the creator of the record on the team regardless of which rules pass

Assign positions/employees to dataAssign positions/employees to data

Keep creator on team

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1092: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.24

Siebel 8.0 Essentials

24 of 28Copyright © 2007, Oracle. All rights reserved.

Configuring Assignment Manager Objects

Use Siebel Tools to edit object definitions to modify the behavior of Assignment Manager

Same as editing other object definitions

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1093: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.25

Siebel 8.0 Essentials

25 of 28Copyright © 2007, Oracle. All rights reserved.

Assignment Manager

Reads Assignment object from repository tables (not the repository file) at run time

No need to compile the Assignment object itselfCan deploy a modified Assignment object at run time

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1094: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.26

Siebel 8.0 Essentials

26 of 28Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Assignment methodology refers to the steps followed by Assignment Manager to assign candidates to objects

Identify rules that applyIdentify a list of qualified candidates for the applicable rulesScoring candidatesDetermine primary assignee and assign candidates

Workload rules can be used to distribute work among qualified candidatesMultiple assignment rules may exist for the same assignment object

Rules can be prioritized byMarking a rule as exclusiveSequencing rules

Run-time behavior of Assignment Manager is specified by the configuration of the assignment object

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1095: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.27

Siebel 8.0 Essentials

27 of 28Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create prioritized rulesModify the run-time behavior of Assignment Manager

46

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1096: Siebel 8.0 Essentials

Tailoring Assignment Manager Behavior 46.28

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1097: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.1

Siebel 8.0 Essentials

47Copyright © 2007, Oracle. All rights reserved.

Module 47: Invoking Siebel Assignment Manager

Siebel 8.0 Essentials

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1098: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.2

Siebel 8.0 Essentials

2 of 16Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:List the modes in which Assignment Manager can be invokedInvoke Assignment Manager in dynamic mode

Why you need to know:You need to enable your Siebel environment to support dynamic assignment management

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1099: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.3

Siebel 8.0 Essentials

3 of 16Copyright © 2007, Oracle. All rights reserved.

Running Assignment Manager

Assignment Manager is invoked in three modes: Batch AssignmentDynamic AssignmentInteractive Assignment

All modes require that the Assignment Manager component group be enabled

Siebel Assignment Manager Administration Guide: Running Assignment Manager

Reference

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1100: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.4

Siebel 8.0 Essentials

4 of 16Copyright © 2007, Oracle. All rights reserved.

Batch Assignment

Is used to submit batches of data for one-time assignment or reassignmentIs implemented via a server taskBusiness scenarios:

Change assignment rules and reassign existing objects that are already assigned Sales region or territory realignmentExisting assignments are inaccurateAfter a batch data load

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1101: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.5

Siebel 8.0 Essentials

5 of 16Copyright © 2007, Oracle. All rights reserved.

Dynamic Assignment

Automatically invokes Assignment Manager to assign data in near real time as records are created or modifiedBusiness scenarios:

Whenever a service request is created, assign it to a service agent with the appropriate product skillWhenever an opportunity is created, assign it to the sales representative who handles that territory

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1102: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.6

Siebel 8.0 Essentials

6 of 16Copyright © 2007, Oracle. All rights reserved.

Dynamic Assignment Continued

Is implemented using:Assignment policies Generate TriggersWorkflow Monitor AgentAssignment Manager

Is similar to workflow policiesBoth execute asynchronously on the server

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1103: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.7

Siebel 8.0 Essentials

7 of 16Copyright © 2007, Oracle. All rights reserved.

Assignment Policies

Specify which objects are to be assignedAre expired by default

Navigate to Site Map > Administration – Assignment > Assignment PoliciesRemove the expiration date to activate policies

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1104: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.8

Siebel 8.0 Essentials

8 of 16Copyright © 2007, Oracle. All rights reserved.

Generate Triggers

Is a server task that creates database triggers Builds triggers for all active assignment policies

Must be run after policies are activated

Requires a user with privileges to add triggers to the database

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1105: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.9

Siebel 8.0 Essentials

9 of 16Copyright © 2007, Oracle. All rights reserved.

Workflow Monitor Agent

Start Workflow Monitor Agent and specify:Group Name (the group of assignment policies you activated)Sleep Time (interval in seconds between iterations)

Follow steps used in enabling workflow policies

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1106: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.10

Siebel 8.0 Essentials

10 of 16Copyright © 2007, Oracle. All rights reserved.

Assignment Manager

Is invoked by Workflow Monitor Agent Assignment Manager server component must be online

Performs the assignment of data to candidates

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1107: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.11

Siebel 8.0 Essentials

11 of 16Copyright © 2007, Oracle. All rights reserved.

Dynamic Assignment Process Flow

Is similar to the flow for workflow policies

Workflow Monitor Agent

Server Request Broker

AssignmentManager

Siebel Database

Generate triggers

Create triggers corresponding to assignment policies Triggers fire when

conditions satisfiedand write record

Monitors S_ESCL_REQ table for changes and invokes

Assignment Manager

Evaluate the assignment rules

Account created

S_ESCL_REQ

Makes assignments

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1108: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.12

Siebel 8.0 Essentials

12 of 16Copyright © 2007, Oracle. All rights reserved.

Interactive Assignment

Is used to assign candidates in real timeEnabled for Service Request and Activity assignment objects

Business scenarios:A customer service representative receives a call and creates a new service request, then clicks Assign to find the right person to work on that service requestA field service supervisor wants to find the right person to work on a repair activity, and uses Interactive Assignment to obtain a list of people with the right skills to perform the repair

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1109: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.13

Siebel 8.0 Essentials

13 of 16Copyright © 2007, Oracle. All rights reserved.

Using Interactive Assignment

Implemented via user interaction and tasks on server User makes assignment from a generated list of candidates

1. Select the work to be assigned

3. Select employee and click Assign

2. Click Menu and select Assign

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1110: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.14

Siebel 8.0 Essentials

14 of 16Copyright © 2007, Oracle. All rights reserved.

Requirements for Interactive Assignment

Verify that Assignment Manager is online and Server Request Broker is running

Performs Assignment

Brokers client requests

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1111: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.15

Siebel 8.0 Essentials

15 of 16Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Assignment Manager is invoked in three modes Batch Assignment: Is used to submit batches of data for one-time assignment or reassignment

Is implemented by submitting a job requestDynamic Assignment: Is used to assign data in near real time as records are created or modified

Is implemented using:Assignment policies Generate TriggersWorkflow Monitor AgentAssignment Manager

Interactive Assignment: Is used to assign candidates in real timeIs implemented via user interaction and tasks on server

47

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1112: Siebel 8.0 Essentials

Invoking Siebel Assignment Manager 47.16

Siebel 8.0 Essentials

16 of 16Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create new service records and verify that they are dynamically assigned to the desired employee

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1113: Siebel 8.0 Essentials

State Models 48.1

Siebel 8.0 Essentials

48Copyright © 2007, Oracle. All rights reserved.

Module 48: State Models

Siebel 8.0 Essentials48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1114: Siebel 8.0 Essentials

State Models 48.2

Siebel 8.0 Essentials

2 of 18Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe how state models can enforce business logicCreate a new state model

Why you need to know:A state model is a simple declarative way to enforce business logic that involves changes to values of certain fields in a business component

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1115: Siebel 8.0 Essentials

State Models 48.3

Siebel 8.0 Essentials

3 of 18Copyright © 2007, Oracle. All rights reserved.

Business Entities and Life Cycles

Many business entities have a defined life cycle described by:A set of states named by the values of one of the entity’s fieldsA set of allowed transitions between the states

For example: A service request could have a life cycle defined in terms of these values of the status field:

Open, Pending, Closed, Cancelled

Closed

Cancelled

PendingOpen

Arrow indicates a permitted transition

State

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1116: Siebel 8.0 Essentials

State Models 48.4

Siebel 8.0 Essentials

4 of 18Copyright © 2007, Oracle. All rights reserved.

Business Challenge

A company’s business policies may restrict transitions between states

Direct transitions between all pairs of states may not be permittedNot everyone may be permitted to invoke a specific transitionThere may be conditions that must apply before a transition can occur

Need a way to easily incorporate such restrictions into the lifecycle of an entity

Closed

Cancelled

PendingOpen

Permitted only if severity <> critical

Permitted only by call center manager

Owner must be assigned

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1117: Siebel 8.0 Essentials

State Models 48.5

Siebel 8.0 Essentials

5 of 18Copyright © 2007, Oracle. All rights reserved.

Business Solution

A state model captures and enforces such restrictions on transitions

Uses a set of rules and conditions that specify allowed transitionsUses declarative configuration as opposed to script

Is implemented in the Siebel client and not Siebel ToolsDoes not involve compiling and deploying a new SRF file

Siebel Applications Administration Guide: State ModelsReference

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1118: Siebel 8.0 Essentials

State Models 48.6

Siebel 8.0 Essentials

6 of 18Copyright © 2007, Oracle. All rights reserved.

State Model

A state model consists of:A set of states corresponding to the values of a single-value field

Must have a bounded picklist declared in the List Of Values table

State field

States for this state model

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1119: Siebel 8.0 Essentials

State Models 48.7

Siebel 8.0 Essentials

7 of 18Copyright © 2007, Oracle. All rights reserved.

State Model Continued

A state model also consists of:A set of allowed transitions that can be restricted

Only can be executed by authorized positionsOnly can be executed when a condition is satisfied

Condition on transition

Unrestricted

Only selected positions allowed to make transition

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1120: Siebel 8.0 Essentials

State Models 48.8

Siebel 8.0 Essentials

8 of 18Copyright © 2007, Oracle. All rights reserved.

Enabling Siebel State Model

Only a small number of business components are enabled for state model in the as-delivered application

Indicated by a business component user property (State Model, Y)Other business components can be enabled for state model

Business component class is restricted to CSSBCBase

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1121: Siebel 8.0 Essentials

State Models 48.9

Siebel 8.0 Essentials

9 of 18Copyright © 2007, Oracle. All rights reserved.

Creating a State Model0/6

1. Define the Desired Life Cycle

2. Create a New State Model

3. Specify the Allowed States

4. Specify the Allowed Transitions and Restrictions

5. Specify Authorized Positions

6. Test the State Model

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1122: Siebel 8.0 Essentials

State Models 48.10

Siebel 8.0 Essentials

10 of 18Copyright © 2007, Oracle. All rights reserved.

1. Define the Desired Life Cycle

Review relevant business policies to identify restricted transitionsDocument the allowed transitions and corresponding restrictions

1/6

Closed

Cancelled

PendingOpen

Permitted only if severity <> critical

Permitted only by call center manager

Owner must be assigned

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1123: Siebel 8.0 Essentials

State Models 48.11

Siebel 8.0 Essentials

11 of 18Copyright © 2007, Oracle. All rights reserved.

2. Create a New State Model

Navigate to Administration - Application > State ModelsCreate a new state model record

Specify the business component and “state” field

2/6

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1124: Siebel 8.0 Essentials

State Models 48.12

Siebel 8.0 Essentials

12 of 18Copyright © 2007, Oracle. All rights reserved.

3. Specify the Allowed States

Navigate to the States viewCreate a record for each allowable value of the “state” field

Specify one state as the default initial state in which new records are created

3/6

Set by default

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1125: Siebel 8.0 Essentials

State Models 48.13

Siebel 8.0 Essentials

13 of 18Copyright © 2007, Oracle. All rights reserved.

4. Specify the Allowed Transitions and Conditions

Navigate to the Transitions viewCreate a record for each allowable transition

Select the from and to states using the drop-down listIndicate if there are restrictions on who can execute the transitionSpecify any conditions to be satisfied before transition can occur

4/6

1. Select the from state

2. Select the to state

3. Deselect Public if transition restricted

4. Add any additional conditions

on transition

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1126: Siebel 8.0 Essentials

State Models 48.14

Siebel 8.0 Essentials

14 of 18Copyright © 2007, Oracle. All rights reserved.

5. Specify Authorized Positions

For any transitions not marked Public, specify the positions that are permitted to execute the transition in the Authorized Positions applet

5/6

Transition restricted

Specify positions allow to make the transition

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1127: Siebel 8.0 Essentials

State Models 48.15

Siebel 8.0 Essentials

15 of 18Copyright © 2007, Oracle. All rights reserved.

6. Test the State Model

Make sure the state model activation and expiration dates are valid

Only one state model based on a given field can be active at anygiven time

Create one or more test records and verify that the business policy is correctly implemented

New state model is effective when a new application object manager process starts

New process reads the updated state model cache

6/6

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1128: Siebel 8.0 Essentials

State Models 48.16

Siebel 8.0 Essentials

16 of 18Copyright © 2007, Oracle. All rights reserved.

Module Highlights

A state model restricts the life cycle of a business componentDefines a set of states and allowed transitions between the states

State models:Are built in the Siebel client using declarative configurationDo not require recompiling the .srf file

Transitions between states can be restricted as follows:Not allowed at allAllowed under only certain conditionsAllowed by only certain positions

A few as-delivered business components are enabled for state model

Customers can enable others for state model if the business component class is CSSBCBase

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1129: Siebel 8.0 Essentials

State Models 48.17

Siebel 8.0 Essentials

17 of 18Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Create and test a state model

48

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1130: Siebel 8.0 Essentials

State Models 48.18

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1131: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.1

Siebel 8.0 Essentials

49Copyright © 2007, Oracle. All rights reserved.

Module 49: Introducing Enterprise Integration Manager

Siebel 8.0 Essentials

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1132: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.2

Siebel 8.0 Essentials

2 of 16Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you will be able to:Describe the features of Enterprise Integration Manager (EIM)Describe how EIM supports referential integrityDescribe why direct SQL statements must not be used to insert user data

Why you need to know:EIM enables you to properly import external data into the Siebeldatabase

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1133: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.3

Siebel 8.0 Essentials

3 of 16Copyright © 2007, Oracle. All rights reserved.

Enterprise Integration Manager (EIM)

Business Challenge: To exchange large volumes of data between an external application and the Siebel database

Implementation project challenge: To perform an initial data load for a Siebel application

Business Solution: Enterprise Integration Manager (EIM)Is a server component that moves large volumes of data in batch mode between Siebel interface tables and Siebel base tables

Interface tables act as a staging area for external data

ExternalDatabase

Siebel Database

SiebelInterface Tables

SiebelBase Tables

EIM

SQL Utility

To exchange large volumes of data, a SQL utility copies mainframe updates to EIM interface tables, and then EIM runs a batch job to synchronize the Siebel account data.

Exchanging Data

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1134: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.4

Siebel 8.0 Essentials

4 of 16Copyright © 2007, Oracle. All rights reserved.

User Data

The Siebel database contains several types of data:Seed data: application data populated during product installationRepository data: metadata initialized at installation and modified during application configurationUser data: user-supplied data, such as account records, contacts, price lists, or assignment rules

EIM is only used to move user data

Siebel Database

User-supplied data such as account information,

contacts, or price lists

Seed data

Repositorydata

User data

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1135: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.5

Siebel 8.0 Essentials

5 of 16Copyright © 2007, Oracle. All rights reserved.

Populating and Managing User Data

Use the client application to enter, update, or delete small amounts of user data directly in the base tablesUse EIM to:

Import large amounts of data from external sources through interface tablesDelete large amounts of data

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1136: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.6

Siebel 8.0 Essentials

6 of 16Copyright © 2007, Oracle. All rights reserved.

Siebel Database

Components of EIM

Important components of EIM are:

Base table

Interface tablePrepared and

cleansed external data

Server component

Non-Siebel loading tool

Siebel client

Base Tables

Interface Tables

EIM Server Component

EIM Configuration File

0/4

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1137: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.7

Siebel 8.0 Essentials

7 of 16Copyright © 2007, Oracle. All rights reserved.

Base Tables

User data is stored in one or more base tables in the Siebel database

Relationships between base tables (referential integrity) rely upon primary keys (PKs) and foreign keys (FKs) based on ROW_IDs

ROW_ID is the system primary key for every base tableROW_ID is a system-generated value

PK

S_ORG_EXT S_ADDR_ORG

FKFKPK

S_BU

FK

1/4

There are two types of base tables:Target base tables (also known as a parent tables); examples include S_PARTY, S_PROD_INT, and S_OPTY.Non-target base tables (also knows as secondary base tables); examples include S_ORG_EXT, S_ADDR_ORG, AND S_ACCT_POSTN.

Base Tables

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1138: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.8

Siebel 8.0 Essentials

8 of 16Copyright © 2007, Oracle. All rights reserved.

Interface Tables

Interface tables store external data inside the Siebel databaseStaging area for data to be imported, updated, or merged into base tables by EIMStaging area for data exported by EIMStaging area for data to be deleted in the base table by EIM

EIM_ACCOUNT S_ORG_EXT

S_ADDR_ORG

External data

Interface Tables

Base Tables

External database

2/4

EIM Server Component

During imports, EIM attempts to import data from the interface table to the base tables. It is important to note that if the data loaded in the interface table is faulty, it will remain faulty in the base table(s). EIM does not perform data cleansing.

Data Cleansing

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1139: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.9

Siebel 8.0 Essentials

9 of 16Copyright © 2007, Oracle. All rights reserved.

Interface Tables Continued

Are meant to represent typical business “entities”Typically map to multiple Siebel base tables

Are denormalizedExample: EIM_ACCOUNT interface table maps to eight base tables

2/4

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1140: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.10

Siebel 8.0 Essentials

10 of 16Copyright © 2007, Oracle. All rights reserved.

EIM Server Component

Manages the exchange of data between interface tables and user data in base tablesBelongs to Enterprise Application Integration (EAI) component group

S_ORG_EXT

S_ADDR_ORG

EIM_ACCOUNT

External data

3/4

EIM Server Component

Siebel Enterprise Integration Manager Administration GuideReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1141: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.11

Siebel 8.0 Essentials

11 of 16Copyright © 2007, Oracle. All rights reserved.

EIM Configuration File

EIM server component reads a configuration file (.ifb) to determine:

Whether data should be imported, merged, deleted, or exportedWhich interface table(s) and base table(s) are used and affected

Import, merge, delete, or export

EIM Server Component

4/4

Configuration file (.ifb)

EIM deletes are useful for archiving old data and deleting obsolete data. During delete processing, deleted rows are written to interface tables, from which they can be archived in a format allowing easy re-import if necessary.

Archiving

This course focuses on import (insert) and delete.Course Focus

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1142: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.12

Siebel 8.0 Essentials

12 of 16Copyright © 2007, Oracle. All rights reserved.

User Keys

Based on multiple columns, user keys are used to uniquely identify a row for EIMPrimary and foreign keys based on ROW_ID are used for system-wide referential integrity

S_ORG_EXT

ROW_ID NAME LOC BU_ID

S_BU

User KeyPK FK

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1143: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.13

Siebel 8.0 Essentials

13 of 16Copyright © 2007, Oracle. All rights reserved.

Referential Integrity

User key column mappings in interface tables are used to resolve ROW_IDs for base tables, maintaining referential integrity

PK (ROW_ID)

Acme

1-8D

User key

1-8DInterface Table

Base Tables

FK (ROW_ID)

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1144: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.14

Siebel 8.0 Essentials

14 of 16Copyright © 2007, Oracle. All rights reserved.

SQL

You must not use SQL to populate user data in base tablesRelationships between tables are complex Referential integrity is maintained programmatically through ROW_IDs, not using constraints on the databaseSQL statements cannot generate Siebel ROW_IDs

FK PK

S_ORG_EXT S_ADDR_ORG

SQL

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1145: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.15

Siebel 8.0 Essentials

15 of 16Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Enterprise Integration Manager (EIM) is a server component that supports bulk imports and exports to and from a Siebel database

Useful for initial data loadsThe main components of EIM are:

Base tablesInterface tablesEIM server componentEIM configuration files (.ifb)

You must not insert user data into Siebel base tables using SQL!

49

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1146: Siebel 8.0 Essentials

Introducing Enterprise Integration Manager 49.16

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1147: Siebel 8.0 Essentials

Creating Data Maps 50.1

Siebel 8.0 Essentials

50Copyright © 2007, Oracle. All rights reserved.

Module 50: Creating Data Maps

Siebel 8.0 Essentials

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1148: Siebel 8.0 Essentials

Creating Data Maps 50.2

Siebel 8.0 Essentials

2 of 26Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Determine correct interface (EIM) tables and columns to use to import data into and delete data from Siebel base tables and columnsDocument data mappings between EIM tables and Siebel base tables

Why you need to know:Enables you to construct a strategy for successfully importing data into and deleting data from the Siebel database

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1149: Siebel 8.0 Essentials

Creating Data Maps 50.3

Siebel 8.0 Essentials

3 of 26Copyright © 2007, Oracle. All rights reserved.

Data Mapping

The first step in using EIM to import external data is data mappingData mapping determines:1. Which Siebel base table columns will store external source data2. Which interface (EIM) table columns will be used to import from

source to destination

Source(external)

Destination(base table)

Interface (EIM) table

1. Decide where data

ends up

2. Determine how to get

there

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1150: Siebel 8.0 Essentials

Creating Data Maps 50.4

Siebel 8.0 Essentials

4 of 26Copyright © 2007, Oracle. All rights reserved.

Source Data

Analyze external source dataDecide which attributes to storeDetermine which entity the collection of attributes representsAnalyze relationships between entities

Customer

DecisionMaker

SalesPerson

Name...

Name...

Name...

Entity

Attribute

M:M

M:M

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1151: Siebel 8.0 Essentials

Creating Data Maps 50.5

Siebel 8.0 Essentials

5 of 26Copyright © 2007, Oracle. All rights reserved.

Siebel Destination

Analyze Siebel destination tables and columnsStart with applets and fields used, and work down to business layerUse Siebel Tools to view tables and columns, business components (BCs), and relationships

Contact

PositionAccount

Table

BC

Relationships between business components and BC fields and base tables and columns can be examined easily in Siebel Tools. Select the business component object definition of interest in Tools’ Object List Editor, right-click, and choose View Details. The mapping of BC fields to database tables and columns will be graphically depicted.

Siebel Tools

Account, Position, and Contact entities are person- and organization-related. Therefore, their business components share the S_PARTY table.

Party Business Components

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1152: Siebel 8.0 Essentials

Creating Data Maps 50.6

Siebel 8.0 Essentials

6 of 26Copyright © 2007, Oracle. All rights reserved.

Identify and Verify Destination Tables and Columns0/3

1. Determine Destination Applet

2. Identify BC Fields

3. Map BC Field to Database Column

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1153: Siebel 8.0 Essentials

Creating Data Maps 50.7

Siebel 8.0 Essentials

7 of 26Copyright © 2007, Oracle. All rights reserved.

1. Determine Destination Applet

Use the Siebel client to identify applets and controls where external data is to be displayed

Determine applet and business component namesExample: Verify mapping for Main Phone # field of an account

Data to appear in Account Entry Applet

1/3

Control to map

Desired destination

applet

Applet name

BC Name

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1154: Siebel 8.0 Essentials

Creating Data Maps 50.8

Siebel 8.0 Essentials

8 of 26Copyright © 2007, Oracle. All rights reserved.

2. Identify BC Fields

Use Siebel Tools to map the applet control to the BC field

2/3

Locate control in Web Layout

view

Properties window displays

field name

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1155: Siebel 8.0 Essentials

Creating Data Maps 50.9

Siebel 8.0 Essentials

9 of 26Copyright © 2007, Oracle. All rights reserved.

3. Map BC Field to Database Column

Examine BC field properties in Siebel Tools to determine which Siebel base table and column it maps to

3/3

Table and column

BC field being

mapped

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1156: Siebel 8.0 Essentials

Creating Data Maps 50.10

Siebel 8.0 Essentials

10 of 26Copyright © 2007, Oracle. All rights reserved.

Map Source to Siebel Destination

Specify the source mapping to the Siebel destinationIdentify business component mapped to external entityDetermine Siebel base tables and columns that will store source attributes

Account

Contact

Position

Customer SalesPerson

Name... Name...

DecisionMakerName...

External entity

BC Table

Attribute

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1157: Siebel 8.0 Essentials

Creating Data Maps 50.11

Siebel 8.0 Essentials

11 of 26Copyright © 2007, Oracle. All rights reserved.

Document Mappings

Document mappings between source and base so that everyone has a common understanding

EIM and configuration tasks are often performed by different peopleCan reduce need to re-do tasks if team members leave the project

Address

Phone

Name

Source Attribute EIM Table

Customer

Customer

Source Entity

ZIPCODES_ADDR_ORG

CITYS_ADDR_ORG

ADDRS_ADDR_ORG

MAIN_PH_NUMS_ORG_EXT

NAMES_ORG_EXT

Base ColumnBase TableEIM Column

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1158: Siebel 8.0 Essentials

Creating Data Maps 50.12

Siebel 8.0 Essentials

12 of 26Copyright © 2007, Oracle. All rights reserved.

How to Get There: Determine Interface Tables

After verifying and documenting the source-to-base mappings, determine and document EIM-to-base mappings

Interface (EIM) ?

AddressPhoneName

Source Attribute EIM Table

CustomerCustomer

Source Entity

ZIPCODES_ADDR_ORGCITYS_ADDR_ORGADDRS_ADDR_ORGMAIN_PH_NUMS_ORG_EXTNAMES_ORG_EXT

Base ColumnBase TableEIM Column

How to get there?Source Destination

A base table is the destination table in the Siebel database for your data import.

Base Table

Siebel Tools ReferenceReference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1159: Siebel 8.0 Essentials

Creating Data Maps 50.13

Siebel 8.0 Essentials

13 of 26Copyright © 2007, Oracle. All rights reserved.

Table Relationships

An interface table may populate more than one base tableA base table may be populated by more than one interface table

EIM_ADDR_ORG

S_ORG_EXT

S_ADDR_ORG

EIM_ACCOUNT

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1160: Siebel 8.0 Essentials

Creating Data Maps 50.14

Siebel 8.0 Essentials

14 of 26Copyright © 2007, Oracle. All rights reserved.

Locate EIM Tables

Locate candidate EIM tables using Siebel ToolsExample: Locate EIM tables that populate S_ORG_EXT

Query

Result

Flat tab

EIM tables that populate S_ORG_EXT

Note: Use EIM_ tables, not _IF tables

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1161: Siebel 8.0 Essentials

Creating Data Maps 50.15

Siebel 8.0 Essentials

15 of 26Copyright © 2007, Oracle. All rights reserved.

Interface Table Documentation

Mappings from interface tables to base tables are documented by:

EIM Interface Table report available in Siebel ToolsEIM Table Mapping objects

Less convenient than using report

Query for interface table and…

…select Reports > EIM Interface Tables

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1162: Siebel 8.0 Essentials

Creating Data Maps 50.16

Siebel 8.0 Essentials

16 of 26Copyright © 2007, Oracle. All rights reserved.

Interface Table Documentation Continued

Table report documents EIM Table Mapping attributes

Interface table report for EIM_ACCOUNT

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1163: Siebel 8.0 Essentials

Creating Data Maps 50.17

Siebel 8.0 Essentials

17 of 26Copyright © 2007, Oracle. All rights reserved.

Interface Table Documentation Continued

The EIM Interface Table report shows mapping from a single EIM table to one or more Siebel base tables

EIM column (source) to base table column (destination) mappingColumn attributes (user keys, foreign key tables, required fields)

Base column

Base table

EIM column

EIM table name

Base table

Destination column attributes

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1164: Siebel 8.0 Essentials

Creating Data Maps 50.18

Siebel 8.0 Essentials

18 of 26Copyright © 2007, Oracle. All rights reserved.

Select EIM Table

Select the EIM table that best maps to the target base tables and columns

Pick the EIM table that maps the most columns that you need to migrate

Example:EIM_ACCOUNT can be used to map Account-related Position data because it maps to the intersection table S_ACCNT_POSTN

S_ACCNT_POSTN columns mapped by

EIM_ACCOUNT

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1165: Siebel 8.0 Essentials

Creating Data Maps 50.19

Siebel 8.0 Essentials

19 of 26Copyright © 2007, Oracle. All rights reserved.

EIM to Base Mappings

Determine EIM columns that populate target base columnsDetermine other EIM required columns to populate the target base table

Other columns may be required based on required fields in the base table

EIM table

Base table

EIM column

Base column

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1166: Siebel 8.0 Essentials

Creating Data Maps 50.20

Siebel 8.0 Essentials

20 of 26Copyright © 2007, Oracle. All rights reserved.

Determine EIM Columns

Determine which EIM column populates the target base column in Siebel Tools

Example: MAIN_PH_NUM on EIM_ACCOUNT populates MAIN_PH_NUM on S_ORG_EXT

EIM column

Base column

Column names are often the same, but not always.Column Names

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1167: Siebel 8.0 Essentials

Creating Data Maps 50.21

Siebel 8.0 Essentials

21 of 26Copyright © 2007, Oracle. All rights reserved.

Determine EIM Columns Continued

Alternate method is to query Attribute Mappings in Siebel Tools to determine which EIM column populates the base column

Example: MAIN_PH_NUM on EIM_ACCOUNT populates MAIN_PH_NUM on S_ORG_EXT

Base table and column

EIM table and column

ResultQuery

Use Flat tab to query

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1168: Siebel 8.0 Essentials

Creating Data Maps 50.22

Siebel 8.0 Essentials

22 of 26Copyright © 2007, Oracle. All rights reserved.

Determine Base Required Columns

Determine required base table columns that do not have defaults (EIM does not recognize non-system default values)

Defaults not recognized by EIM

Query Column

Result = required base columns

An alternative method of locating required, non-system columns is to query for required columns with Type equals Data(Public).

Finding Non-System Columns

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1169: Siebel 8.0 Essentials

Creating Data Maps 50.23

Siebel 8.0 Essentials

23 of 26Copyright © 2007, Oracle. All rights reserved.

Mapping Considerations

Understand how to enter organization dataFill in _BU column with name of the organizationLeave _BI column blank

Populated with foreign key during import processingUnderstand additional columns that must be populated for party business components

Use EIM Interface Table report to identify theseExamples:

PARTY_UIDPARTY_TYPE_CDROOT_PARTY_FLG

ROOT_PARTY_FLG is for Oracle implementations only. It was added to support performance for Oracle. A query to obtain top-level Positions, Organizations, or Access Groups can use either:1. WHERE ROOT_PARTY_FLG='Y' or2. WHERE PAR_PARTY_ID is NULLOracle cannot use an indexed access path for option 2 because there are no index entries for NULL, so ROOT_PARTY_FLG was added.ROOT_PARTY_FLG is set to 'Y' for top-level Positions, Organizations, and Access Groups as it applies only to these Party sub-types. It is set to 'N' for other party subtypes.

ROOT_PARTY_FLG

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1170: Siebel 8.0 Essentials

Creating Data Maps 50.24

Siebel 8.0 Essentials

24 of 26Copyright © 2007, Oracle. All rights reserved.

Mapping Considerations Continued

Be aware of access control and data visibility issuesSet access control by:

Importing ownership information, orUsing assignment manager

If ownership is not set or is set incorrectly, data visibility will be incorrect

Example:Import product information to Siebel database

Product visibility is determined by organizationMap product and ownership information to EIM_PROD_INT (Product interface table)Be sure to map from EIM_PROD_INT to both S_PROD_INT (Internal product base table) and S_PROD_INT_BU (Product/BU intersection table)

Mapping documented in EIM Interface Table report

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1171: Siebel 8.0 Essentials

Creating Data Maps 50.25

Siebel 8.0 Essentials

25 of 26Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Data mapping specifies:Which base tables and columns will hold external dataWhich interface tables and columns will be used by EIM during data movement

Steps to create data mappings for EIM:Map external entities to Siebel business-layer objectsUse the Siebel Web Client to identify and verify mapping of external attributes to BC fieldsSelect the interface table used by the mappingUse Siebel Tools’ EIM Interface Table report to perform column-to-column mappings between interface tables and base tablesMap all external attributes of interest plus required non-system columns

Data mappings should be clearly documented

50

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1172: Siebel 8.0 Essentials

Creating Data Maps 50.26

Siebel 8.0 Essentials

26 of 26Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Map external solutions data to EIM tables and base tablesMap external product data to EIM tables and base tables

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1173: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.1

Siebel 8.0 Essentials

51Copyright © 2007, Oracle. All rights reserved.

Module 51: Running Enterprise Integration Manager

Siebel 8.0 Essentials

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1174: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.2

Siebel 8.0 Essentials

2 of 28Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Populate interface (EIM) tables for importsModify configuration (.ifb) files for importsInvoke an Enterprise Integration Manager (EIM) server taskModify configuration (.ifb) files to optimize imports

Why you need to know:To successfully import external data into the Siebel database

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1175: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.3

Siebel 8.0 Essentials

3 of 28Copyright © 2007, Oracle. All rights reserved.

All interface tables have three required columns:IF_ROW_BATCH_NUM and ROW_ID are set by the user to uniquely designate a recordIF_ROW_STAT is used by EIM to return status after an EIM run

Interface Table Structure

2121

Row_ID

IMPORTEDIMPORTEDIMPORTEDIMPORTED

IF_ROW_STAT

200200100100

IF_ROW_BATCH_NUM

Toner CartridgeShredderFax MachinePhotocopier

NAME

If import job is successful, system sets value to IMPORTED

Number to identify all records that should be processed in the batch

Unique number to identify the record

in the batch

Non-null character value that is reset

during the run

All EIM tables have columns to hold temporary values used by EIM during a job. These columns start with T_, and include some that end with the suffix _STA. These latter columns may provide troubleshooting assistance.

EIM T_ Columns

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1176: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.4

Siebel 8.0 Essentials

4 of 28Copyright © 2007, Oracle. All rights reserved.

Running an EIM Task for Data Imports

2. Determine Processing Order

3. Run an EIM Task

4. Verify EIM Task Results

1. Populate EIM Tables

5. Remove Data from EIM Tables

0/5

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1177: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.5

Siebel 8.0 Essentials

5 of 28Copyright © 2007, Oracle. All rights reserved.

1. Populate EIM Tables

Populate source data into EIM tables using a non-Siebel process

Use database vendor utilities to load data from flat filesUse SELECT INTO to pull data from other SQL databases Use direct SQL insert, update, or delete statements to update columns in EIM tablesUse SQL queries to verify that EIM tables populated correctly

EIM_PROD_INT

External data

Non-Siebel process

1/5

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1178: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.6

Siebel 8.0 Essentials

6 of 28Copyright © 2007, Oracle. All rights reserved.

2. Determine Processing Order

Determine the correct processing order for EIM tablesWhen importing, tables referenced via foreign key must be loaded firstRefer to the default.ifb for recommended processing order

Order of imports

2/5

The recommended processing order for EIM imports is also described in Siebel Bookshelf, Enterprise Integration Manager Administration Guide, “Importing Data”.

Reference

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1179: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.7

Siebel 8.0 Essentials

7 of 28Copyright © 2007, Oracle. All rights reserved.

3. Run an EIM Task

Creates an operating system (OS) process that reads the .ifb file, loads the dictionary, executes EIM steps, and writes log entries

3/5

.ifb

Log

EIM Server Component

Dictionary

The dictionary used by EIM is a set of files used to speed EIM processing.EIM Dictionary

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1180: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.8

Siebel 8.0 Essentials

8 of 28Copyright © 2007, Oracle. All rights reserved.

Direct the execution of an EIM task using a configuration (.ifb)file

Specifies the batch, order, and type of processingUse default.ifb as a template

3. Run an EIM Task Continued

Section to process

IF_ROW_BATCH_NUM value (rows to process)

EIM table

Destination table

Default column values

3/5

Because the focus of this module is on EIM imports, which are of critical importance as part of initial data loads in a Siebel implementation project, this module does not cover the details of configuring an EIM delete job. However, parameters in the .ifb file, deletes allow control over the tables and rows to be deleted. See the details for the parameters DELETE EXACT, DELETEMATCHES, and DELETE ALL ROWS in Bookshelf, Siebel Enterprise Integration Manager Administration Guide.

Parameters for EIM Deletes

The template EIM configuration file, default.ifb, is located in {SiebSrvr_Base_Dir}\ADMIN.

.ifb File Location

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1181: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.9

Siebel 8.0 Essentials

9 of 28Copyright © 2007, Oracle. All rights reserved.

3. Turn Off Transaction Logging

Siebel Remote logs transactions to allow synchronization of mobile clientsTransaction logging reduces EIM performance

Before initial loads, turn off loggingNavigate to Administration – Siebel Remote > Remote System Preferences

After initial loads, turn on logging to support mobile clientsTurning off transaction logging in a running production system will require subsequent re-extraction of all mobile user databases

3/5

Logging disabled during initial loads

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1182: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.10

Siebel 8.0 Essentials

10 of 28Copyright © 2007, Oracle. All rights reserved.

3. Create and Run an EIM Job

Navigate to Administration - Server Management > Jobs

3/5

1. Create a new job and select Enterprise

Integration Manager

2. Specify job parameters, including EIM configuration file

3. Click Submit Job

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1183: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.11

Siebel 8.0 Essentials

11 of 28Copyright © 2007, Oracle. All rights reserved.

3. Monitor the EIM Task

Navigate to Administration - Server Management > Tasks Query to view progressReview Task Information Log

3/5

Log displays diagnostic

information, including task parameters

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1184: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.12

Siebel 8.0 Essentials

12 of 28Copyright © 2007, Oracle. All rights reserved.

4. Verify EIM Results

Run SQL SELECT statements to verify the table data

4/5

Select from EIM table

Select from base table

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1185: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.13

Siebel 8.0 Essentials

13 of 28Copyright © 2007, Oracle. All rights reserved.

4. Verify EIM Results Continued

After import, IF_ROW_STAT will contain a value that describes the status of each imported row

4/5

IF_ROW_STAT Value

IMPORTED

PARTIALLY_IMPORTED

REQUIRED_COLS

DUP_RECORD_EXISTS

FOREIGN_KEY

PICKLIST_VALUES

Description

Success for all destination tables

Success for target base table; failure forsecondary tableFailed because required column has NULL valueFailed because target table has rowwith same valuesFailed because a required foreign keycould not be resolvedFailed because required picklist value notfound in S_LST_OF_VAL

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1186: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.14

Siebel 8.0 Essentials

14 of 28Copyright © 2007, Oracle. All rights reserved.

4. Verify EIM Results Continued

Verify imported data in the application using appropriate viewsExample: Products > Internal Product List

4/5

Verify that products were imported successfully

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1187: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.15

Siebel 8.0 Essentials

15 of 28Copyright © 2007, Oracle. All rights reserved.

4. Verify EIM Results Continued

Find EIM task number

Examine task log file

For troubleshooting:Navigate to Administration – Server Management > TasksFind task number for EIM taskExamine log file in Siebel server log directory

4/5

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1188: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.16

Siebel 8.0 Essentials

16 of 28Copyright © 2007, Oracle. All rights reserved.

4. Verify EIM Results Continued

Job parameters can override component-level event logging to create additional information in the log

Trace Flags = 1Records processing steps

SQL Trace Flags = 8 Records summary SQLShould only be done in testenvironmentDramatically impedes EIMperformance and generateslarge log file

Error Flags = 1Records details regarding failed rows

EIM logging flags used for

troubleshooting

4/5

SQL Trace Flags = 8 should only be used for test EIM jobs with a small number of records. This option produces a very large log file and has a significant performance impact.

Troubleshooting Flags

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1189: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.17

Siebel 8.0 Essentials

17 of 28Copyright © 2007, Oracle. All rights reserved.

Remove Data from EIM Tables

You are responsible for removing records from the EIM tablesUse SQL to delete EIM table records once they have been successfully processed

5/5

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1190: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.18

Siebel 8.0 Essentials

18 of 28Copyright © 2007, Oracle. All rights reserved.

Additional Configuration (.ifb) Parameters

Use enhanced configuration parameters to speed EIM processing and reduce elapsed time:

Process Options

Import Options

Primaries

0/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1191: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.19

Siebel 8.0 Essentials

19 of 28Copyright © 2007, Oracle. All rights reserved.

Process Options

Explicitly include or exclude tables and columns to avoid unnecessary processing

Use ONLY BASE TABLES, ONLY BASE COLUMNSor

Use IGNORE BASE TABLES, IGNORE BASE COLUMNSExample:

Directs task to process only these target tables

1/3

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1192: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.20

Siebel 8.0 Essentials

20 of 28Copyright © 2007, Oracle. All rights reserved.

Process Options Continued

Set options to control processing and enhance performanceSet USING SYNONYMS to FALSE to avoid unnecessary processing

USING SYNONYMS applies to accounts onlyUse SHELL to process multiple EIM tables/sections in a single run

Example:

Directs task to ignore account

synonyms

1/3

Some business components have a MVG field that contains synonyms, which are variations in the BC name. For example, the Account named IBM could have synonyms: “International Business Machines”, “Intl Bus Machines”, “IBM Co.”, and so on. Use of synonyms prevents multiple records being created based on misspelling or inconsistent usage.

Synonyms

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1193: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.21

Siebel 8.0 Essentials

21 of 28Copyright © 2007, Oracle. All rights reserved.

Import Options

Set options to preprocess EIM rows and columnsUse FILTER QUERY to select a subset of EIM rows for processingUse DEFAULT COLUMN or FIXED COLUMN to set values for EIM columns

Example:

EIM column, operator, and value

2/3

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1194: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.22

Siebel 8.0 Essentials

22 of 28Copyright © 2007, Oracle. All rights reserved.

Primaries

Improve performance by eliminating sub-queries when displaying data from parent and child tables If primaries are not used, a new query needs to be executed to identify any child records each time a parent record is displayedTwo types of Primary settings:

Explicit PrimaryImplicit Primary

3/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1195: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.23

Siebel 8.0 Essentials

23 of 28Copyright © 2007, Oracle. All rights reserved.

S_ORG_EXT ROW_ID NAME PR_ADDR_ID

1-WEZ Acme 2-AB4

S_ADDR_ORGOU_ID ROW_ID ADDR CITY

1-WEZ 2-AB8 Elm Street Boston

1-WEZ 2-AB4 Main Street Fremont

EIM_ACCOUNTNAME ADDR_ADDR ADDR_CITY ACC_PR_ADDR

Acme Elm Street Boston

Acme Main Street Fremont YSet the PFK to point

to this child data

EIM table

Base tables

Set Primaries: Explicit Primaries

Use the Primary flag to set explicit primaries through EIMUse when the external system knows which child should be primary

EIM table column for primary

3/3

Columns

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1196: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.24

Siebel 8.0 Essentials

24 of 28Copyright © 2007, Oracle. All rights reserved.

Set Primaries: Implicit Primaries

Allow EIM to implicitly set primariesUse when the external system does not know the primarySets the primary to be the child with the lowest ROW_IDMimics auto primary in the application

S_ORG_EXTROW_ID NAME PR_ADDR_ID

1-WEZ Acme 2-AB8

S_ADDR_ORG OU_ID ROW_ID ADDR CITY

1-WEZ 2-AB8 Elm Street Boston

1-WEZ 2-AB4 Main Street Fremont

EIM_ACCOUNTNAME ADDR_ADDR ADDR_CITY

Acme Elm Street Boston

Acme Main Street Fremont

EIM table

Base table

3/3

Columns

Base table

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1197: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.25

Siebel 8.0 Essentials

25 of 28Copyright © 2007, Oracle. All rights reserved.

Using EIM with Database Modifications

To populate base table extension columns through EIM:Add an extension column to the EIM tableMap the EIM column to the base columnTest the mapping by running EIM on the server

Use the Interface Table Mapping Wizard

EIM table

Base table

EIM Extension Column

Base Extension Column

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1198: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.26

Siebel 8.0 Essentials

26 of 28Copyright © 2007, Oracle. All rights reserved.

Using EIM with Database Modifications Continued

Update EIM table mappings to include columns or tables you have added using the Interface Table Mapping WizardSelect the table in Tools, right-click, select EIM Table Mapping… and complete the wizard

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1199: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.27

Siebel 8.0 Essentials

27 of 28Copyright © 2007, Oracle. All rights reserved.

Module Highlights

All EIM tables have three special columns:IF_ROW_BATCH_NUMROW_IDIF_ROW_STAT

EIM import steps are:Populate EIM tablesCreate an EIM configuration file (.ifb)Run an EIM jobVerify job resultsRemove EIM table records

Parameters that can speed EIM processing:No transaction loggingProcess and import options in .ifb file

Can set primaries during EIM import

51

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1200: Siebel 8.0 Essentials

Running Enterprise Integration Manager 51.28

Siebel 8.0 Essentials

28 of 28Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Load solutions data into the interface tableImport solutions data from the interface table to base tableLoad company data into the interface table and import it to the base table

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1201: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.1

Siebel 8.0 Essentials

52Copyright © 2007, Oracle. All rights reserved.

Module 52: Introducing Application Deployment Manager

Siebel 8.0 Essentials

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1202: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.2

Siebel 8.0 Essentials

2 of 18Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Describe the Application Deployment Manager (ADM) architectureDescribe how deployment options are configured

Why you need to know:ADM provides a framework to deploy application customizations efficiently and predictably

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1203: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.3

Siebel 8.0 Essentials

3 of 18Copyright © 2007, Oracle. All rights reserved.

Business Challenge: Application Migration

Deploying a customized Siebel application typically involves:A development enterprise (a collection of Siebel servers), wherecustomizations are createdA QA/test enterprise used to test application functionalityOne or more production enterprises that require tested and stable software

May involve many production Siebel enterprises

The migration of customizations may be very complex:May involve hundreds of customizationsSource and target enterprises may have different configurations

Development enterprise may be simpler than test enterpriseCustomizations may have dependencies on each other

Example: A new state model needs to be deployed after the modified business component object definition the model uses

Development and testing often occur concurrently

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1204: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.4

Siebel 8.0 Essentials

4 of 18Copyright © 2007, Oracle. All rights reserved.

Business Solution: Application Deployment Manager (ADM)

Is a framework for deploying application customizations to a target Siebel enterpriseIs designed to provide an extensible facility for quick, reproducible deployment of a wide range of customizations

Includes support for many data typesSupports deployments ranging from a small patch with only a handful of application modifications to a major release with a new SRF fileAllows creation of reusable deployment packages that can be applied to multiple target enterprises

Application Deployment Manager GuideReference

ADM features and architecture have been significantly enhanced from prior versions.

ADM in Siebel 8.0

A complete list of data types supported by ADM can be found in Application Deployment Manager Guide: ADM Supported Data Types.

ADM Data Types

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1205: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.5

Siebel 8.0 Essentials

5 of 18Copyright © 2007, Oracle. All rights reserved.

Types of Customization

ADM recognizes three types of application customizations:Database customizationsRepository customizationsFile customizations

The steps to export and deploy each type differ

0/3

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1206: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.6

Siebel 8.0 Essentials

6 of 18Copyright © 2007, Oracle. All rights reserved.

Database Customizations

Are changes to administrative and master data records in the Siebel database

Does not include repository table changesUse EIM to migrate application records, such as Accounts, Contacts, Opportunities

ADM supports deployment of many data types, including:Lists of Values (LOVs)User ListsAssignment RulesAccess Groups

1/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1207: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.7

Siebel 8.0 Essentials

7 of 18Copyright © 2007, Oracle. All rights reserved.

Repository Customizations

Are changes to object definitions made in Siebel Tools

New or modified repository objects

2/3

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1208: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.8

Siebel 8.0 Essentials

8 of 18Copyright © 2007, Oracle. All rights reserved.

File Customizations

Are files modified as part of application configurationExamples:

Web Template files (.swt)Image and Cascading Style Sheet (CSS) filesSiebel Repository file (.srf)Reports files

Example: image files

3/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1209: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.9

Siebel 8.0 Essentials

9 of 18Copyright © 2007, Oracle. All rights reserved.

ADM Architecture

The three major parts of the ADM architecture are the:Source enterpriseOrchestration environmentDestination enterprise(s) (can be multiple targets)

OrchestrationEnvironment

DestinationEnterprise

SourceEnterprise

Deployment Package

Deployment package

0/3

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1210: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.10

Siebel 8.0 Essentials

10 of 18Copyright © 2007, Oracle. All rights reserved.

Source Enterprise

Is the Siebel enterprise containing modifications to be deployedExample: a development enterprise

Source enterprise components related to ADM include:Siebel client and Siebel Tools functions to export customizationsA packager utility to bundle application customizations

1/3

OrchestrationEnvironment

DestinationEnterprise

SourceEnterprise

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1211: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.11

Siebel 8.0 Essentials

11 of 18Copyright © 2007, Oracle. All rights reserved.

Orchestration Environment

Is a system used to execute ADM deploymentOrchestration environment components include:

The Siebel Management ServerA database containing records on all deployments and data types contained in ADM packagesAn ADM command line interface (CLI)An ADM registry fileA target enterprise profile file, which describes the target environment and deployment steps

Deployment package

Command line interface

OrchestrationEnvironment

2/3

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1212: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.12

Siebel 8.0 Essentials

12 of 18Copyright © 2007, Oracle. All rights reserved.

Orchestration Environment Continued

Siebel Management Server is a service that supports:The ADM orchestration environmentThe Diagnostic Tool, which allows performance measurement of Siebel servers

Siebel Management Server is the primary component of

ADM orchestration environment

2/3

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1213: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.13

Siebel 8.0 Essentials

13 of 18Copyright © 2007, Oracle. All rights reserved.

Orchestration Environment Continued

The enterprise profile file:Specifies target enterprise parametersIs used to configure deployment optionsIs discussed later in this module

The ADM registry file:Lists data types supported by ADMDefines ADM operations for each data typeDefines deployment validation rulesIs usually not modified

ADM registry file

2/3

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1214: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.14

Siebel 8.0 Essentials

14 of 18Copyright © 2007, Oracle. All rights reserved.

Destination Enterprise

Is the target for deployment using ADMExample: a QA/test Siebel enterpriseCan be multiple destination enterprises

3/3

OrchestrationEnvironment

DestinationEnterprise

SourceEnterprise

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1215: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.15

Siebel 8.0 Essentials

15 of 18Copyright © 2007, Oracle. All rights reserved.

Destination Enterprise Continued

Destination enterprise components for ADM include:A Siebel Management Agent for each Siebel Server in the target enterpriseADM server components on each Siebel Server

Siebel Management Agent is a service that runs in combination with a Siebel Server and provides support for Management Server requests

Siebel Management

Server

Siebel MgmtAgent

Siebel Server

Siebel MgmtAgent

Siebel Server

Siebel MgmtAgent

Siebel Server

Orchestration Environment

DestinationEnterprise

3/3

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1216: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.16

Siebel 8.0 Essentials

16 of 18Copyright © 2007, Oracle. All rights reserved.

ADM Enterprise Profile File

The enterprise profile file contains: Parameters that specify target enterprise configurationParameters that control deployment orchestration

Parameters that describe target enterprise configuration include:Siebel Server connect string(s)Siebel Management Agent name(s) and port number(s)

Enterprise profile file opened in

Microsoft InfoPath

The recommended way to modify the enterprise profile file is to use Microsoft InfoPath, a component of Microsoft Office. XML form templates are provided for use with InfoPath. To install the InfoPath form and its descriptor as trusted forms, execute two batch files: <mgmt server install dir>\adm\installentprofile.bat and <mgmt server install dir>\adm\installdescriptor.bat.

Editing the Enterprise Profile File

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1217: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.17

Siebel 8.0 Essentials

17 of 18Copyright © 2007, Oracle. All rights reserved.

ADM Enterprise Profile File Continued

Complex deployments can be customized by setting parameters to control:

Deployment sequence (some deployment units have dependencies)

Example: A modified assignment object may need to be deployed before a new assignment rule

Serial versus parallel deploymentADM supports parallel deployment of file and database type customizations

StagingSpecifies deployment groupings by deployment unit or group, target Siebel server, or a collection of servers

Stop on errorSets behavior of deployment on error

52

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1218: Siebel 8.0 Essentials

Introducing Application Deployment Manager 52.18

Siebel 8.0 Essentials

18 of 18Copyright © 2007, Oracle. All rights reserved.

Module Highlights

ADM may be used to move Siebel application modifications from a development environment to a test environment

Database changes (LOVs, assignment rules, and so on)Repository changes (objects definitions, workflows, and so on)Files changes (Web templates, CSS files, .srf files, and so on)

The ADM architecture includes components on:Source environmentOrchestration environmentTarget environment

Advanced deployment options are set by modifying the enterprise profile file EntProfile_<EnterpriseName>.xml

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1219: Siebel 8.0 Essentials

Deploying Application Customizations 53.1

Siebel 8.0 Essentials

53Copyright © 2007, Oracle. All rights reserved.

Module 53: Deploying Application Customizations

Siebel 8.0 Essentials

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1220: Siebel 8.0 Essentials

Deploying Application Customizations 53.2

Siebel 8.0 Essentials

2 of 30Copyright © 2007, Oracle. All rights reserved.

Module Objectives

After completing this module you should be able to:Use the packager utility to bundle application customizationsDeploy a package using the ADM command-line interface

Why you need to know:ADM provides a framework to deploy application customizations efficiently and predictably

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1221: Siebel 8.0 Essentials

Deploying Application Customizations 53.3

Siebel 8.0 Essentials

3 of 30Copyright © 2007, Oracle. All rights reserved.

Steps in Using ADM0/6

Identify All Customizations to Deploy

Export Database Customizations

Export Repository Customizations

Move File Customizations

Create an ADM Package

Deploy the Package 53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1222: Siebel 8.0 Essentials

Deploying Application Customizations 53.4

Siebel 8.0 Essentials

4 of 30Copyright © 2007, Oracle. All rights reserved.

Identify All Customizations to Deploy

The first step in planning the deployment of application customizations is to identify changes

Examination of software configuration management or development logs may suffice

Identify repository customizations within Siebel Tools:Use Tools > Compare Objects to compare objects and/or archivesGenerate a mid-level release (covered later in this module)

Identify database changes using the Siebel client or development logsDetermine file changes using operating system (OS) timestamps or third-party tools like diff

1/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1223: Siebel 8.0 Essentials

Deploying Application Customizations 53.5

Siebel 8.0 Essentials

5 of 30Copyright © 2007, Oracle. All rights reserved.

Identify All Customizations to Deploy Continued

Analyze data dependencies to ensure successful deploymentSome ADM supported data types (parent types) are dependent on other data (child types)Deploy parent types after child typesExamples:

User List depends on UsersAccess Group depends on User ListsState Model depends on List of Values

Specify the order of deployment before exporting database changes using the Siebel client (covered later in this module)

1/6

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1224: Siebel 8.0 Essentials

Deploying Application Customizations 53.6

Siebel 8.0 Essentials

6 of 30Copyright © 2007, Oracle. All rights reserved.

Export Database Customizations

Use the Siebel Web Client to export database modifications to files suitable for ADM packaging

Example: Export a collection of new User ListsExported files include:

A file containing the exported data (XML)A descriptor file (XML)A log file giving export details and status

To export database changes:Create and enable a deployment projectSpecify data dependenciesCreate and deploy a deployment session

2/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1225: Siebel 8.0 Essentials

Deploying Application Customizations 53.7

Siebel 8.0 Essentials

7 of 30Copyright © 2007, Oracle. All rights reserved.

Export Database Customizations Continued

Navigate to Application Deployment Manager > Deployment ProjectsCreate, specify, and enable a deployment project

A deployment project is a specification of data to deploy

2/6

1. Specify Name and Export to File

2. Specify Data Type Name

4.Enable project

3. Specify a deployment filter to limit records

exported

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1226: Siebel 8.0 Essentials

Deploying Application Customizations 53.8

Siebel 8.0 Essentials

8 of 30Copyright © 2007, Oracle. All rights reserved.

Export Database Customizations Continued

Use a deployment filter to limit the records to be exported:Save a query that selects the records to be exported

Example: Save a query that selects User Lists with Name = “AAA*”In the ADM Deployment Projects view, enter saved query name in the Deployment Filter field

2/6

Data types applet in

Deployment Projects view

Select saved query

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1227: Siebel 8.0 Essentials

Deploying Application Customizations 53.9

Siebel 8.0 Essentials

9 of 30Copyright © 2007, Oracle. All rights reserved.

Export Database Customizations Continued

Determine order of data type deployment in the Application Deployment Manager > Data Type Explorer viewSelect parent data type in the Data Types applet, then add childtype in child applet

2/6

State Model (parent) type…

…depends on LOV (child) type 53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1228: Siebel 8.0 Essentials

Deploying Application Customizations 53.10

Siebel 8.0 Essentials

10 of 30Copyright © 2007, Oracle. All rights reserved.

Export Database Customizations Continued

Navigate to Application Deployment Manager > Deployment SessionsCreate a new session and specify project nameDeploy the session

Select Export to File, then specify export destination

2/6

1. Select Project Name

4. File prefix is Session Id

2. Click Deploy

3. Specify export path

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1229: Siebel 8.0 Essentials

Deploying Application Customizations 53.11

Siebel 8.0 Essentials

11 of 30Copyright © 2007, Oracle. All rights reserved.

Export Repository Customizations

Use Siebel Tools to export repository customizationsFiles created during export include:

A .sif file containing the changesA deployment descriptor file (XML)A log file of export steps and status

Tools offers two methods for exporting customizations:Hot fix: typically a small set of hand-selected modificationsMid-level release: repository changes after a specified cutoff date

List of objects may be edited after it is generated

3/6

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1230: Siebel 8.0 Essentials

Deploying Application Customizations 53.12

Siebel 8.0 Essentials

12 of 30Copyright © 2007, Oracle. All rights reserved.

Export Repository Customizations Continued

To create a hot fix in Siebel Tools:1. Select the object definition to add to the hot fix2. Right-click and select Add to Hot-Fix3. Specify a name for the hot fix4. Return to Tools’ Object Explorer and List Editor to add additional

object definitions5. When done, click Export

Hot fix output is saved in …\Tools\ADM\<HF Name>

3/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1231: Siebel 8.0 Essentials

Deploying Application Customizations 53.13

Siebel 8.0 Essentials

13 of 30Copyright © 2007, Oracle. All rights reserved.

Export Repository Customizations Continued

To create a mid-level release in Siebel Tools:1. Navigate to View > Options > General and set Changed Date to

specify the cutoff date for the release2. Select Tools > Generate Mid-Level Release3. Provide a name for the release and click Generate List4. Verify list contents and delete entries if necessary5. Click Export

Package is created in …\Tools\ADM\<MLR name>

3/6

Objects modified since Start Date

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1232: Siebel 8.0 Essentials

Deploying Application Customizations 53.14

Siebel 8.0 Essentials

14 of 30Copyright © 2007, Oracle. All rights reserved.

Move File Customizations

File type customizations do not need to be exported using the Siebel client or Siebel Tools

Move files to the correct directory in the package tree (discussed later)

The type for a custom Siebel Repository File (.srf) is File, not Repository

4/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1233: Siebel 8.0 Essentials

Deploying Application Customizations 53.15

Siebel 8.0 Essentials

15 of 30Copyright © 2007, Oracle. All rights reserved.

Create an ADM Package

An ADM package is a collection of application customizations and includes:

A directory structure that organizes different types of customization (database, repository, and file )An ADM package descriptor file describing its contents

ADM includes a utility, admpkgr, which can create and verify an ADM package

Runs from command lineADM packager syntax:% admpkgr <init | generate | validate> <pkg_name>

Steps to create a package:A. Create an empty package structureB. Populate the package directory structureC. Generate the package descriptor fileD. Validate the package

5/6

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1234: Siebel 8.0 Essentials

Deploying Application Customizations 53.16

Siebel 8.0 Essentials

16 of 30Copyright © 2007, Oracle. All rights reserved.

A. Create an Empty Package

Invoke admpkgr with the init command to create an empty package directory structureCommand syntax:% admpkgr init <package name with path>

Example:

Package location

Empty package directory structure

5/6

Set the language sub-directories in the empty package directory structure using the optional switch, –g <lang>. Example: admpkgr init –g ESP <pkg_name> This command would create Spanish language subdirectories, which would be named ESP. The default language is American English (ENU).

Optional Switch

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1235: Siebel 8.0 Essentials

Deploying Application Customizations 53.17

Siebel 8.0 Essentials

17 of 30Copyright © 2007, Oracle. All rights reserved.

B. Populate the Package Directory Structure

Database and repository exports and file modifications need to be moved to the new package directory tree

For database type, move the .xml file containing data + descriptor fileFor repository type, move the .sif file + the descriptor fileFor file type modifications, the package sub-directory depends on the file category:

Repository file (.SRF): <pkgdir>\file\AppServer\objects\<lang>Web templates: <pkgdir>\file\AppServer\webtempl\<lang>Images, CSS files, browser script files: <pkgdir>\file\AppServer\webmaster\<lang>Report files: <pkgdir>\file\ReportServer\<lang>

Unused package sub-directories should be deleted

5/6

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1236: Siebel 8.0 Essentials

Deploying Application Customizations 53.18

Siebel 8.0 Essentials

18 of 30Copyright © 2007, Oracle. All rights reserved.

C. Generate the Package Descriptor File

Invoking admpkgr with the generate command:Validates package directory contentsCalculates a checksum to ensure future integrity of the packageCreates a package descriptor file for the package

Command syntax:% admpkgr generate <package name with path>

Example:

Package descriptor file

5/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1237: Siebel 8.0 Essentials

Deploying Application Customizations 53.19

Siebel 8.0 Essentials

19 of 30Copyright © 2007, Oracle. All rights reserved.

D. Validate the Package

Invoking admpkgr with the validate command:Verifies the existence and format of package descriptor fileChecks for empty folders and redundant unitsPerforms consistency checks for unitsChecks for the existence of valid unit files and descriptor files for database and repository types

Using validate is optionalCommand syntax:% admpkgr validate <package name with path>

Example:

5/6

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1238: Siebel 8.0 Essentials

Deploying Application Customizations 53.20

Siebel 8.0 Essentials

20 of 30Copyright © 2007, Oracle. All rights reserved.

Deploy the Package

The ADM command-line interface (CLI) command set is executed on the Management Server host

Commands contained in a batch file created by a Perl script bundled with the Management ServerBatch file is named deploy_<enterprise name>.bat

Example: if enterprise name = Siebel, then ADM CLI batch file is named deploy_Siebel.batTypically created in …\<mgmt server install dir>\bin

ADM commands take command-line arguments:Command nameUser namePasswordPackage nameOptional switches

6/6

A complete list of command-line switches may be found in Siebel Bookshelf, Siebel Application Deployment Manager Guide.

CLI Optional Switches

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1239: Siebel 8.0 Essentials

Deploying Application Customizations 53.21

Siebel 8.0 Essentials

21 of 30Copyright © 2007, Oracle. All rights reserved.

Deploy the Package: Commands Overview

The ADM CLI supports both required and optional commandsCommands execute in a specific order

6/6

delete

acknowledge

status

restore_activate

restore_copy

restore_session

activate

optionalrequired

ManagementServer

valent

load

create

validate

backup

copy

TargetEnterprise

covered in this course

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1240: Siebel 8.0 Essentials

Deploying Application Customizations 53.22

Siebel 8.0 Essentials

22 of 30Copyright © 2007, Oracle. All rights reserved.

SourceEnterprise

Deploy the Package: Load

Call load command to put references to package contents into the orchestration environment’s database

Validates package structure and checksumUses package descriptor file to map package contents to Management Server databaseCommand syntax:deploy_<enterprise> load <user> <password>

<package name>

Example: User/password Package name

OrchestrationEnvironment

6/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1241: Siebel 8.0 Essentials

Deploying Application Customizations 53.23

Siebel 8.0 Essentials

23 of 30Copyright © 2007, Oracle. All rights reserved.

Deploy the Package: Create

Call create to initiate a deployment sessionCommand syntax:deploy_<enterprise> create <user> <password>

<package name>

Example:

OrchestrationEnvironment

NewSession

6/6

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1242: Siebel 8.0 Essentials

Deploying Application Customizations 53.24

Siebel 8.0 Essentials

24 of 30Copyright © 2007, Oracle. All rights reserved.

Deploy the Package: Copy

Call copy to move package contents to destination enterpriseUses the appropriate copy method for each type of customization

Repository changes are copied to target repositoryDatabase changes are loaded into target databaseFile changes are moved to correct location in target file system

Command syntax:deploy_<enterprise> copy <user> <password> <package>

Example:

OrchestrationEnvironment Destination

Enterprise

6/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1243: Siebel 8.0 Essentials

Deploying Application Customizations 53.25

Siebel 8.0 Essentials

25 of 30Copyright © 2007, Oracle. All rights reserved.

Deploy the Package: Activate

Call activate to perform any steps required to make customizations available to users

Most data types do not require activationExample: Proposal Template

Activation examples:LOV activation clears the LOV cacheWorkflow process activation sets the process to ActiveImage, CSS file, or Web template file activation propagated to Web server

Command syntax:deploy_<enterprise> activate <user> <password>

<package name>

Example:

6/6

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1244: Siebel 8.0 Essentials

Deploying Application Customizations 53.26

Siebel 8.0 Essentials

26 of 30Copyright © 2007, Oracle. All rights reserved.

Deploy the Package: Status and Acknowledge

Call status to get information about the deployment status of a package

Gives a summary of deployment status of units in the packageUse status_detail to see status information for each unit

To complete a command-line deployment, call acknowledge:Ends deployment sessionSets session status to complete in Management Server local DBRemoves backup package data from Management Server DB

Status example:

6/6

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1245: Siebel 8.0 Essentials

Deploying Application Customizations 53.27

Siebel 8.0 Essentials

27 of 30Copyright © 2007, Oracle. All rights reserved.

Deploy the Package: Other Commands

Other optional ADM CLI functions include:

6/6

Deletes package references and session info from Siebel Management Server delete

Lists packages deployed by Siebel Management Server list

Sequence of commands that allows rollback of a deployment

restore_session,restore_copy, restore_activate

Creates backup copy of target enterprise data that will be affected by deployment backup

Performs checks on target enterprise before deployment validate

Validates enterprise profile filevalent

DescriptionCommand

Further information about ADM package deployment using the ADM CLI can be found in Siebel Bookshelf, Application Deployment Manager Guide.

Reference

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1246: Siebel 8.0 Essentials

Deploying Application Customizations 53.28

Siebel 8.0 Essentials

28 of 30Copyright © 2007, Oracle. All rights reserved.

Module Highlights

Export application customizations using:Siebel Tools for repository modificationsThe ADM screen in the Siebel client for database modificationsFile copy into package for file modifications

Use the ADM packager utility to bundle modifications for deployment to the target enterpriseExecute commands from the ADM CLI to deploy an ADM package:

Load the packageCreate a deployment sessionCopy the package to the target environmentActivate the customizations (optional)Status to verify correct deploymentAcknowledge to end the deployment session

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1247: Siebel 8.0 Essentials

Deploying Application Customizations 53.29

Siebel 8.0 Essentials

29 of 30Copyright © 2007, Oracle. All rights reserved.

Lab

In the lab you will:Export repository and database customizations Create an ADM packageUse the ADM CLI to deploy this package

53

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y

Page 1248: Siebel 8.0 Essentials

Deploying Application Customizations 53.30

Siebel 8.0 Essentials

Ora

cle

Inte

rnal

& O

racl

e A

cade

my

Use

Onl

y