Oracle® Real-Time Decisions for Siebel E-Commerce Installation and Reference Guide Version 2.2.1 Part Number E12261-01 |
|
|
View PDF |
This chapter describes the elements in the RTD Siebel ECommerce Inline Service. It contains the following topics:
Figure 3-1 shows the high-level integration points between the Siebel E-Commerce application and Oracle RTD.
Figure 3-2 shows a detailed integration flow between the Siebel E-Commerce application and the Inline Service RTD Siebel ECommerce.
The user logs in to the Siebel E-Commerce application.
The Siebel E-Commerce application initiates the context for an Oracle RTD session. It creates a session key (timestamp and random number combination), and sends the session key to the RTD Siebel ECommerce Inline Service through the Initial Context Informant.
Oracle RTD creates a session.
If the user is a registered customer, the Siebel E-Commerce application sends customer account and contact information to Oracle RTD through the Update Customer Profile Informant.
Oracle RTD extracts further customer information for the registered users from the Data Sources defined in the Inline Service.
The Siebel E-Commerce application sends the Advisor Get Promotions to Oracle RTD, specifying catalog and category id as parameters, if these were not already sent with a prior Informant.
Oracle RTD extracts the promotions from the Data Sources defined in the Inline Service.
The promotions choices are passed to the Oracle RTD Eligibility Engine.
The eligible promotion choices are scored in accordance with the performance goals associated to this decision and then ranked.
The default scoring process for each choice is based on the likelihood score returned from the Promotions Acceptance model defined in the RTD Siebel ECommerce Inline Service for the performance goal, Maximize Acceptance Likelihood.
At the final stage of Get Promotions Advisor processing, Oracle RTD returns promotion choices to the Siebel E-Commerce application.
The Siebel E-Commerce application runs the returned promotions through Siebel's CheckQuoteEligibilityCompatibility web service before displaying the final set of eligible promotions as Hot Offers to the user.
The Siebel E-Commerce application sends Oracle RTD details of the promotions presented to the user through the Presented Offers Informant.
The Siebel E-Commerce application sends Oracle RTD details of the promotions that the user clicked through, if any, through the Offer Clicked Informant.
When the user logs out from the Siebel E-Commerce application, the Siebel E-Commerce application informs Oracle RTD through the Close Session Informant.
For anonymous users, the Oracle RTD session will timeout, closing the session automatically.
Oracle RTD applies the feedback from the web session to update the Promotions Acceptance Model, to refine and improve the model for future predictions.
As released, the RTD Siebel ECommerce Inline Service has been configured to extract various forms of customer data after a customer has been identified. Oracle RTD retrieves the data into Oracle RTD data sources using JDBC to the Siebel OLTP. These data sources can be categorized into the following areas:
Customer Profile - Information related to the customer on the E-Commerce site
Assets - Information related to a customer's current product holding
Past Web Interactions - Information related to past Oracle RTD web sessions that a given customer has had
Catalog Structure - Category/Catalog information directly related to the page that the customer is on in the E-Commerce site
Promotions - Source data that will be used with Oracle RTD's dynamic choices for presenting the best promotion to the E-Commerce customer
This section contains the following topics:
The Account data source extracts, from the Siebel data source S_ORG_EXT, account based information including the keys to additional account tables that store other profile information, for example, Address information.
The Address data source extracts, from the Siebel data source S_ADDR_ORG, address information tied to the customer account.
The Assets data source extracts, from the Siebel data source S_ASSETS, asset based information tied to the customer account.
The Catalog Category data source extracts, from the Siebel data source S_CTLG_CAT, information related to the category that the user has drilled down into from the web front end. The Category Id will be sent through the Oracle RTD integration with the web front end.
The Catalog data source extracts, from the Siebel data source S_CTLG, information related to the Catalog that the user has drilled down into from the web front end. The Catalog Id will be sent through the Oracle RTD integration with the web front end.
The Contact Address data source extracts, from the Siebel data source S_ADDR_PER, address information tied to the customer contact.
The Contact data source extracts, from the Siebel data source S_CONTACT, contact based information tied to the person that is using the web front end.
The Image data source extracts, from the Siebel data source S_LIT, image name related information based on the image id tied to a promotion record.
The Industry data source extracts, from the Siebel data source S_INDUST, primary industry information tied to the account associated to the person that is using the web front end.
The List of Values data source extracts, from the Siebel data source S_LST_OF_VAL, lists of values for any column linked to a list of values id. This can be applied to the Account table, Contact table, and so on.
The Product Line data source extracts, from the Siebel data source S_PROD_LN, product line information tied to products extracted from S_PROD_INT.
The Products data source extracts, from the Siebel data source S_PROD_INT, product based information tied to records extracted from the Assets data source.
The Promo Category Catalog data source extracts, from the Siebel data source S_CTLG_CAT_PROD, information related to the categories and catalogs with which a promotion has been associated. This data can be used for future eligibility rules if necessary to show only promotions tied to a specific category or catalog. Category and Catalog information associated to promotions is calculated through the Set Category String and Set Catalog String functions.
The Promotions data source extracts, from the Siebel data source S_PROD_INT, promotion data used to be populated in the Dynamic Choice Group, Siebel Promotions. As a result, these records are evaluated in decisioning and used by the Advisor Get Promotions.
This data source, a custom table for the E-Commerce solution, resides in the SDDS database and is used to capture web history data for customers that have provided their account id. The data in the table is then evaluated through the Web Interaction entity. Create Table scripts are provided with this Inline Service for this table and can be found in the etc folder of the Inline Service directory.
Oracle RTD entities can be broken down into the following categories:
Session
This special category contains the Session Entity only. Every Oracle RTD Inline Service has a Session entity, which defines the entities to be associated with the session.
Customer Profile
The Customer Profile entities build out what is known about the customer utilizing the web front end. This category contains the following entities:
Web Interaction
The Web Interaction entities are used to capture information related to the web interaction, such as which Catalog and Category the user is in on the web front. This category contains the following entities:
Product Catalog/Category
These entities are used to map product catalog and category information received from the front end UI. This category contains the following entities:
Promotions
The Promotions entities are used for building out dynamic choice, which are utilized by the Advisor Get Promotions. These entities are not used for modeling. This category contains the following entities:
The following diagram shows the overall logical entity model of the RTD Siebel ECommerce Inline Service.
The rest of this section contains the following topics:
The Session entity defines which entities should be included as part of the session. In addition to attributes configured directly in the session, entities included as session attributes are used as inputs to the Oracle RTD models.
The exceptions to this are entity attributes that have been specifically excluded for analysis but are used for other areas of the Inline Service. Examples of this are Id attributes that are used to join different data sources.
The Session entity has its session key set by the web front end to a unique value that represents a unique customer session.
Table 3-16 Session Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Web Session Id |
No |
String |
None |
No |
No |
NA |
Account |
No |
Account |
None |
Yes |
Yes |
NA |
Contact |
No |
Contact |
None |
Yes |
Yes |
NA |
Promotions List |
No |
Promotions List |
None |
No |
No |
NA |
Session Date |
No |
Date |
None |
Yes |
Yes |
Default Value = System Date (calculated from the Return System Date() function) |
Web Interaction |
No |
Web Interaction |
None |
Yes |
Yes |
NA |
Within the Cleanup Logic section of the Session Entity, the necessary code to write a record of the RTD Session to the RTD_WEB_HISTORY table has been included. This code, in conjunction with the LogWriter() and InsertMessageResult() functions, define how the columns in RTD_WEB_HISTORY are populated.
This code is only enabled, when the Application parameter Enable RTD Web History is set to True. Otherwise, no information will be populated to this table.
In the released version of the RTD Siebel ECommerce Inline Service, the Web Interaction attribute Past Web Interactions is populated through the records found in this table for a given Account Id.
Table 3-17 Account Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Assets |
No |
Assets |
NA |
Yes |
Yes |
Placed in the Account entity to group customer owned assets |
Country |
No |
String |
Address DS.COUNTRY |
Yes |
Yes |
Value joined through Primary Address Id |
Industry |
No |
String |
Industry Lookup (PR_INDUST_ID) |
Yes |
Yes |
Value populated through the Industry lookup function which returns the Name value of the record on S_INDUST for the corresponding PR_INDUST_ID |
Primary Address Id |
No |
String |
Account DS.PR_ADDR_ID |
No |
No |
NA |
State |
No |
String |
Address DS.STATE |
Yes |
Yes |
Value joined through Primary Address Id |
Status |
No |
String |
Account DS.CUST_STAT_CD |
Yes |
Yes |
NA |
Type |
No |
String |
Account DS.OU_TYPE_CD |
Yes |
Yes |
NA |
Zipcode |
No |
String |
Address DS.ZIPCODE |
Yes |
Yes |
Value joined through Primary Address Id |
Table 3-19 Assets Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Days Since Last Asset |
No |
Integer |
None |
Yes |
Yes |
Derived attribute populated through the ProcessAssets() function that gives the days since the last asset was created |
Last Created Product |
No |
String |
None |
Yes |
Yes |
Derived attribute populated through the ProcessAssets() function that gives the name of the last created product |
Last Created Product Line |
No |
String |
None |
Yes |
Yes |
Derived attribute populated through the ProcessAssets() function that gives the product line of the last created product |
Product Line |
Yes |
String |
None |
Yes |
Yes |
Derived array attribute populated through the ProcessAssets() function that provides a distinct list of product lines owned by the account |
Product Name |
Yes |
String |
None |
Yes |
Yes |
Derived array attribute populated through the ProcessAssets() function that provides a distinct list of product names owned by the account |
Assets |
Yes |
Raw Assets Entity |
(See attributes below) |
No |
No |
Array List of Assets extracted from the Raw Assets Entity (see Assets attributes below for breakdown) |
Assets.Create Date |
No |
Date |
Assets DS.CREATED |
No |
No |
NA |
Assets.Product Id |
No |
String |
Assets DS.PROD_ID |
No |
No |
NA |
Assets.Product Line |
No |
String |
None |
No |
No |
Mapped on the Raw Asset Entity |
Assets.Product Line Id |
No |
String |
None |
No |
No |
Mapped on the Raw Assets Entity |
Assets.Product Name |
No |
String |
Assets DS.PROD_ID |
No |
No |
Actual name value for the asset product is extracted through a Product Lookup function which returns the Name of the product associated to the product id (The name value is on the table S_PROD_INT from the Products Entity) |
Table 3-21 Catalog Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Row Id |
No |
String |
None |
No |
No |
NA |
Catalog Name |
No |
String |
Catalog DS.NAME |
No |
No |
Used to extract the Catalog name value of any given Catalog Id (Catalog Lookup function) |
Table 3-22 Data Source Input Values for Catalog Entity
Data Source | Input Column | Type | Input Value |
---|---|---|---|
Catalog DS |
ROW_ID |
String |
Row Id |
Note:
The Catalog Entity has caching enabled.Table 3-23 Category Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Row Id |
No |
String |
None |
No |
No |
NA |
Catalog Id |
No |
String |
Catalog Category DS. CTLD_ID |
No |
No |
Used to extract the Catalog Id value of any given Category Id (Catalog Id Lookup function) |
Category Name |
No |
String |
Catalog Category DS. NAME |
No |
No |
Used to extract the Category Name value of any given Category Id (Catalog Lookup function) |
Parent Category Id |
No |
String |
Catalog Category DS. PAR_CAT_ID |
No |
No |
Used to extract the Parent Category Id value of any given Category Id (Parent Category Lookup function) |
Table 3-24 Data Source Input Values for Category Entity
Data Source | Input Column | Type | Input Value |
---|---|---|---|
Catalog DS |
ROW_ID |
String |
Row Id |
Note:
The Category Entity has caching enabled.Table 3-25 Contact Entity
Primary Address Id | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Country |
No |
String |
Address DS.COUNTRY |
Yes |
Yes |
Value joined through Primary Address Id |
Primary Address Id |
No |
String |
Contact DS.PR_OU_ADDR_ID |
No |
No |
NA |
State |
No |
String |
Address DS.STATE |
Yes |
Yes |
Value joined through Primary Address Id |
Zipcode |
No |
String |
Address DS.ZIPCODE |
Yes |
Yes |
Value joined through Primary Address Id |
Table 3-27 Industry Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Row Id |
No |
String |
None |
No |
No |
NA |
Name |
No |
String |
Industry DS.NAME |
No |
No |
Used to extract the Industry name value tied to the Primary Industry id of the account (Industry Lookup function) |
Table 3-28 Data Source Input Values for Industry Entity
Data Source | Input Column | Type | Input Value |
---|---|---|---|
Industry DS |
ROW_ID |
String |
Row Id |
Note:
The Industry Entity has caching enabled.Table 3-29 Products Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Row Id |
No |
String |
None |
No |
No |
NA |
Name |
No |
String |
Products DS. NAME |
No |
No |
Used to extract the product name value of assets tied to customers (Product Lookup function) |
Product Line |
No |
String |
None |
No |
No |
NA |
Table 3-30 Data Source Input Values for Products Entity
Data Source | Input Column | Type | Input Value |
---|---|---|---|
Products DS |
ROW_ID |
String |
Row Id |
Note:
The Products Entity has caching enabled.Table 3-31 Promo Category Catalog Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Promotion Catalog Id |
No |
String |
None |
No |
No |
See Promotions Entity |
Promotion Catalog Name |
No |
String |
Catalog DS.NAME |
No |
No |
Populated based on Id value of Promotion Catalog Id value |
Promotion Category Name |
No |
String |
None |
No |
No |
See Promotions Entity |
Table 3-33 Promotions Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Catalog Array |
Yes |
String |
None |
No |
No |
NA |
Catalog String |
No |
String |
None |
No |
No |
Populated through the Set Catalog String function which uses the Row Id as input |
Category Array |
Yes |
String |
None |
No |
No |
NA |
Category Catalog |
Yes |
Promo Category Catalog |
None |
No |
No |
NA |
Category Catalog. Promotion Catalog Id |
No |
String |
Catalog Category DS. CTLG_ID |
No |
No |
Populated through the Catalog Lookup function |
Category Catalog. Promotion Catalog Name |
No |
String |
None |
No |
No |
See Promo Category Catalog Entity for mapping |
Category Catalog. Category Name |
No |
String |
Catalog Category DS. NAME |
No |
No |
Populated through the Category Lookup function |
Category String |
No |
String |
None |
No |
No |
Populated through the Set Category String function which uses the Row Id as input |
Description Text |
No |
String |
None |
No |
No |
See Promotions List Entity for mapping |
Image Extension |
No |
String |
Image DS.FILE_EXT |
No |
No |
NA |
Image File Name |
No |
String |
Image DS.FILE_NAME |
No |
No |
NA |
Image Id |
No |
String |
None |
No |
No |
See Promotions List Entity for mapping |
Image Name with Ext |
No |
String |
None |
No |
No |
Defaulted with the value returned from the GetImageName() function |
Inclusive Eligibility Flag |
No |
String |
Products DS. INCLSV_ELIG_RL_FLG |
No |
No |
NA |
Name |
No |
String |
None |
No |
No |
See Promotions List Entity for mapping |
Row Id |
No |
String |
None |
No |
No |
See Promotions List Entity for mapping |
Type |
No |
String |
None |
No |
No |
Default value is Promotion |
Table 3-35 Promotions List Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Promotions |
Yes |
Promotions |
None |
No |
No |
Promotions are extracted from the S_PROD_INT table via two static input values, ORDERABLE_FLG = "Y" and PROMO_TYPE_CD = "Bundled Promotions" |
Promotions. Catalog String |
No |
String |
None |
No |
No |
Populated through the Set Catalog String function which uses the Row Id as input |
Promotions. Category String |
No |
String |
None |
No |
No |
Populated through the Set Category String function which uses the Row Id as input |
Promotions. Description Text |
No |
String |
Promotions DS. DESC_TEXT |
No |
No |
NA |
Promotions. Image Extension |
No |
String |
None |
No |
No |
See Promotions Entity for mapping |
Promotions. Image File Name |
No |
String |
None |
No |
No |
See Promotions Entity for mapping |
Promotions. Image Id |
No |
String |
Promotions DS. PROD_IMAGE_ID |
No |
No |
NA |
Promotions. Image Name With Ext |
No |
String |
None |
No |
No |
Defaulted with the value returned from the GetImageName() function |
Promotions. Inclusive Eligibility Flag |
No |
String |
None |
No |
No |
NA |
Promotions. Name |
No |
String |
Promotions DS.NAME |
No |
No |
NA |
Promotions. Row Id |
No |
String |
Promotions DS.ROW_ID |
No |
No |
NA |
Promotions. Type |
No |
String |
None |
No |
No |
Default value as Promotion |
Promotions. Category Catalog |
Yes |
Promo Category Catalog Entity |
None |
No |
No |
See Promotions Entity for mapping |
Table 3-37 Raw Assets Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Create Date |
No |
Date |
None |
No |
No |
Mapped on the Assets Entity |
Product Id |
No |
String |
None |
No |
No |
Mapped on the Assets Entity |
Product Line |
No |
String |
Product Line DS. NAME |
No |
No |
Name value on the S_PROD_LN table is found based on the value for the Product Line Id attribute tied to the row id on the product line table. |
Product Line Id |
No |
String |
Products DS. PR_PROD_LN_ID |
No |
No |
NA |
Product Name |
No |
String |
Mapped on the Assets Entity |
No |
No |
Actual name value for the asset product is extracted through a Product Lookup function which returns the Name of the product associated to the product id. (The name value is on the table S_PROD_INT from the Products Entity.) |
Table 3-39 Raw Web Interactions Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Catalogs Visited |
No |
String |
None |
No |
No |
Populated through the Web Interactions Entity |
Categories Visited |
No |
String |
None |
No |
No |
Populated through the Web Interactions Entity |
Create Date |
No |
Date |
None |
No |
No |
Populated through the Web Interactions Entity |
Promotion Clicked |
No |
String |
None |
No |
No |
Populated through the Web Interactions Entity |
Table 3-40 Web Interaction Entity
Attribute | Array | Type | Mapping | Show In DC | Use for Analysis | Comments |
---|---|---|---|---|---|---|
Account Id |
No |
String |
None |
No |
No |
Populated through Integration points and used as a reference to the S_ORG_EXT Table (Customer entity) |
Catalog Id |
No |
String |
None |
No |
No |
Populated through Integration points and used as a reference to the S_CTLG Table (Catalog entity) |
Catalogs Visited |
Yes |
String |
None |
Yes |
Yes |
Derived attribute populated through the function BuildCategory() thread that is called from the Get Promotions Advisor. This attribute will store in array every catalog visited by the customer during the RTD session. |
Categories Visited |
Yes |
String |
None |
Yes |
Yes |
Derived attribute populated through the function BuildCategory() thread that is called from the Get Promotions Advisor. This attribute will store in array every category visited by the customer during the RTD session. |
Category Id |
No |
String |
None |
No |
No |
Populated through Integration points and used as a reference to the S_CTLG_CAT Table (Category entity) |
Contact Id |
No |
String |
None |
No |
No |
Populated through Integration points and used as a reference to the S_CONTACT Table (Contact entity) |
Current Catalog Name |
No |
String |
Catalog DS.NAME |
Yes |
Yes |
Lookup to the S_CTLG table through the Catalog Lookup function |
Current Category Hierarchy |
Yes |
String |
None |
Yes |
Yes |
Populated through the Build Category Thread function |
Current Category Name |
No |
String |
Catalog Category DS. NAME |
Yes |
Yes |
Lookup to the S_CTLG_CAT table through the Category Lookup function |
Current Category Thread |
No |
String |
None |
Yes |
Yes |
Populated through the Build Category Thread function |
Days Since Last Web Visit |
No |
Integer |
None |
Yes |
Yes |
Derived attribute populated through the ProcessWebInteractions() function. Identifies the days since the last web visit recorded by the RTD_WEB_HISTORY Table. |
Hot Offers Page Hits |
No |
Integer |
None |
Yes |
Yes |
Derived attribute populated through the logic associated with the Presented Offers informant. This attribute records a count of how many times the Hot offers page has been seen. |
Last Promotion Clicked |
No |
String |
None |
Yes |
Yes |
Derived attribute populated through the ProcessWebInteractions() function. Identifies the value of the promotion clicked on the last web page visit. |
Last Visited Catalogs |
Yes |
String |
None |
Yes |
Yes |
Derived attribute populated through the ProcessWebInteractions() function. Identifies the catalogs visited on the last web visit. |
Last Visited Categories |
Yes |
String |
None |
Yes |
Yes |
Derived attribute populated through the ProcessWebInteractions() function. Identifies the categories visited on the last web visit. |
Locale |
No |
String |
None |
Yes |
Yes |
Populated through Integration points |
Login Id |
No |
String |
None |
No |
No |
Populated through Integration points and used as a reference |
Number of Visits in Past 30 Days |
No |
Integer |
None |
Yes |
Yes |
Derived attribute populated through the ProcessWebInteractions() function. Identifies the number of web visits for a given customer over the past 30 days. |
Number of Visits in past 7 Days |
No |
Integer |
None |
Yes |
Yes |
Derived attribute populated through the ProcessWebInteractions() function. Identifies the number of web visits for a given customer over the past 7 days. |
Promotion Clicked |
No |
String |
None |
No |
No |
Populated through the logic contained in the Offer Clicked informant |
Site |
No |
String |
None |
Yes |
Yes |
NA |
Past Web Interactions |
Yes |
Raw Web Interactions |
None |
No |
No |
Array List of Web Interactions extracted from the Raw Assets Entity (see PastWeb attributes below for breakdown) |
PastWeb. Catalogs Visited |
No |
String |
RTD_WEB_HISTORY. CATALOGS_VISITED |
No |
No |
Value used for processing in the ProcessWebInteractions() function |
PastWeb. Categories Visited |
No |
String |
RTD_WEB_HISTORY. CATEGORIES_VISITED |
No |
No |
Value used for processing in the ProcessWebInteractions() function |
PastWeb. Create Date |
No |
Date |
RTD_WEB_HISTORY. CREATED |
No |
No |
Value used for processing in the ProcessWebInteractions() function |
PastWeb. Promotion Clicked |
No |
String |
RTD_WEB_HISTORY. OFFER_CLICKED |
No |
No |
Value used for processing in the ProcessWebInteractions() function |
Informants are Integration Points used to pass information from an external application to Oracle RTD.
This section contains the following topics:
The Initial Context Informant is used to start the Oracle RTD session. Table 3-42 describes the parameters for the Informant Initial Context.
Table 3-42 Informant Initial Context
Parameter | Description |
---|---|
Informant Name |
Initial Context |
Session Keys |
Session/Web Session ID |
Request Data |
Locale (String) - Mapped to Web Interaction Entity, Locale Attribute Site (String) - Mapped to Web Interaction Entity, Site Attribute |
External System |
Web Self Service |
Order |
0 |
Force session close |
No |
Logic |
None |
Pre-condition |
None |
The Offer Clicked Informant is to indicate which promotion was clicked through if any. Table 3-43 describes the parameters for the Informant Offer Clicked.
Table 3-43 Informant Offer Clicked
Parameter | Description |
---|---|
Informant Name |
Offer Clicked |
Session Keys |
Session/Web Session ID |
Request Data |
Choice Type (String) Promotion Id (String) |
External System |
Web Self Service |
Order |
0 |
Force session close |
No |
Logic |
Logic is included to update the Promotion Acceptance Model for the promotion that was clicked through (positive outcome event) |
Pre-condition |
None |
The Presented Offers Informant is used to indicate which promotions are presented in the Web UI after Siebel E-Commerce pushes the ranked offers through the Eligibility engine. Table 3-44 describes the parameters for the Informant Presented Offers.
Table 3-44 Informant Presented Offers
Parameter | Description |
---|---|
Informant Name |
Presented Offers |
Session Keys |
Session/Web Session ID |
Request Data |
Choice Type (String) Promotion Id (String) |
External System |
Web Self Service |
Order |
0 |
Force session close |
No |
Logic |
Logic is included to update the Promotion Acceptance Model for the promotions that were presented (base event) |
Pre-condition |
None |
The Update Customer Profile Informant is used to send information related to the customer (Account/Contact) that explicitly logs in to the Web site. Table 3-45 describes the parameters for the Informant Presented Offers.
Table 3-45 Informant Update Customer Profile
Parameter | Description |
---|---|
Informant Name |
Update Customer Profile |
Session Keys |
Session/Web Session ID |
Request Data |
Account Id (String) - Mapped to Web Interaction Entity, Account Id Attribute Contact Id (String) - Mapped to Web Interaction Entity, Contact Id Attribute) Login Id (String) - Mapped to Web Interaction Entity, Login Id Attribute |
External System |
Web Self Service |
Order |
0 |
Force session close |
No |
Logic |
Logic is included to fill customer profile entities after the customer id is known |
Pre-condition |
None |
The Close Session Informant is used to end the Oracle RTD session with that specific web session id. Table 3-46 describes the parameters for the Informant Close Session.
Advisors are Integration Points by which an external application sends information to, and receives information back from, Oracle RTD.
This section contains the following topics:
The Get Promotions Advisor is used to send promotions (choices) to the web client. Table 3-47 describes the parameters for the Advisor Get Promotions.
Table 3-47 Advisor Get Promotions
Parameter | Description |
---|---|
Advisor Name |
Get Promotions |
Session Keys |
Session/Web Session ID |
Request Data |
Catalog Id (String) - Mapped to Web Interaction Entity, Catalog Id Attribute Category Id (String) - Mapped to Web Interaction Entity, Category Id Attribute |
Decision |
Return Promotions (Both Control Group and Decision Group) |
External System |
Web Self Service |
Order |
0 |
Force session close |
No |
Logic |
None |
Pre-condition |
Logic is included to build out the "category thread" for the given category input from the Advisor call. The Category thread outlines the category path the user would have had to go down in order to get to the category where the Advisor call was made. |
The RTD Siebel ECommerce Inline Service contains one choice group, Promotions, which has two sub-choice groups:
Siebel Promotions, for dynamic choices
RTD Promotions, for static choices
Each of these choice groups has the same choice attributes.
This section contains the following topics:
Section 3.6.2, "Siebel Promotions Choice Group (Dynamic Choices)"
Section 3.6.3, "RTD Promotions Choice Group (Static Choices)"
Table 3-48 shows the component elements of the top-level choice group, Promotions.
Table 3-48 Promotions Choice Group
Tab | Parameter | Description |
---|---|---|
Choice Attributes |
Image Name |
String place holder used in the sub-choice groups Siebel Promotions and RTD Promotions. |
Choice Attributes |
Inclusive Eligibility Flag |
String place holder used in the sub-choice groups Siebel Promotions and RTD Promotions. |
Choice Attributes |
Promotion Description |
String place holder used in the sub-choice groups Siebel Promotions and RTD Promotions. |
Choice Attributes |
Promotion Id |
String place holder used in the sub-choice groups Siebel Promotions and RTD Promotions. |
Choice Attributes |
Promotion Name |
String place holder used in the sub-choice groups Siebel Promotions and RTD Promotions. |
Choice Attributes |
Promotion Type |
String place holder used in the sub-choice groups Siebel Promotions and RTD Promotions. |
Scores |
Predicted by Likelihood of Acceptance for Promotions Acceptance Model |
Utilizes the Performance Goal Maximize Acceptance Likelihood. |
Choice Events |
Clicked Through |
NA |
Choice Events |
Presented |
NA |
Choice Eligibility |
None |
NA |
Group Attributes |
None |
NA |
Group Eligibility |
None |
NA |
Dynamic Choices |
None |
NA |
The Siebel Promotions choice group uses dynamic choices. The Siebel Promotions choice attributes are populated through the Promotions Entity, which in turn gets its values from the table S_PROD_INT.
Table 3-49 shows the component elements of the Siebel Promotions choice group.
Table 3-49 Siebel Promotions Choice Group (Dynamic Choices)
Tab | Parameter | Description |
---|---|---|
Choice Attributes |
Catalog String |
Populated through the Promotions Entity, Catalog String attribute |
Choice Attributes |
Category String |
Populated through the Promotions Entity, Category String attribute |
Choice Attributes |
Choice Type |
Value=Dynamic |
Choice Attributes |
Image Extension |
Populated through the Promotions Entity, Image Extension attribute |
Choice Attributes |
Image Name |
Populated through the Promotions Entity, Image Name with Ext attribute |
Choice Attributes |
Inclusive Eligibility Flag |
Populated through the Promotions Entity, Inclusive Eligibility Flag attribute |
Choice Attributes |
Promotion Description |
Populated through the Promotions Entity, Description Text attribute |
Choice Attributes |
Promotion Id |
Populated through the Promotions Entity, Row Id attribute |
Choice Attributes |
Promotion Name |
Populated through the Promotions Entity, Name attribute |
Choice Attributes |
Promotion Type |
Populated through the Promotions Entity, Type attribute |
Choice Attributes |
Promotions Entity |
Declaration of the Promotions entity used in order to map promotions entity attributes to their corresponding choice attribute |
Scores |
Predicted by Likelihood of Acceptance for Promotions Acceptance Model |
Utilizes the Performance Goal Maximize Acceptance Likelihood |
Choice Events |
Clicked Through |
NA |
Choice Events |
Presented |
NA |
Choice Eligibility |
(As released, both current catalog and current category rules are set. See Description.) |
To select one of the rules, follow the instructions in Section 4.1, "Utilizing the Category/Catalog Eligibility Rules." |
Group Attributes |
Promotions Array Entity |
NA |
Group Eligibility |
None |
NA |
Dynamic Choices |
Use Dynamic Choices for this Choice Group |
Yes |
Dynamic Choices |
Group attribute containing the List of entities for Choice |
Promotions Array |
Dynamic Choices |
Choice attribute to assign the entity data |
Promotions Entity |
Dynamic Choices |
Entity attribute that contains the choices id |
Row Id |
Dynamic Choices |
Distribution mode for choices over choice group folders |
Spill |
Dynamic Choices |
Maximum number of choices within one choice group folder on decision center |
100 |
Static choices are choices that are defined in Oracle RTD. For the static choice group RTD Promotions, the choice attributes have been set up, but no values are assigned to any static choice. This static choice group serves as a template for future customer use.
Table 3-50 shows the component elements of the RTD Promotions choice group.
Table 3-50 RTD Promotions Choice Group (Static Choices)
Tab | Parameter | Description |
---|---|---|
Choice Attributes |
Choice Type |
Value=Static |
Choice Attributes |
Image Name |
Not populated |
Choice Attributes |
Inclusive Eligibility Flag |
Not populated |
Choice Attributes |
Promotion Description |
Not populated |
Choice Attributes |
Promotion Id |
Not populated |
Choice Attributes |
Promotion Name |
Not populated |
Choice Attributes |
Promotion Type |
Not populated |
Scores |
Predicted by Likelihood of Acceptance for Promotions Acceptance Model |
Utilizes the Performance Goal Maximize Acceptance Likelihood |
Choice Events |
Clicked Through |
NA |
Choice Events |
Presented |
NA |
Choice Eligibility |
None |
NA |
Group Attributes |
None |
NA |
Group Eligibility |
None |
NA |
Dynamic Choices |
None |
NA |
There is one decision in the RTD Siebel ECommerce Inline Service, namely Return Promotions.
Table 3-51 shows the component elements of the RTD Promotions choice group.
There is one Choice Event model in the RTD Siebel ECommerce Inline Service, namely Promotions Acceptance Model. This models the "click through" likelihood of promotions presented through the Siebel E-Commerce site.
Table 3-52 shows the component elements of the Promotions Acceptance Model.
Table 3-53 describes the functions in the RTD Siebel ECommerce Inline Service.
Table 3-53 Functions to Support RTD Siebel ECommerce Inline Service
Function | Inputs | Outputs | Area Utilized In | Comments |
---|---|---|---|---|
Build Category Thread |
None |
None |
Used in the Get Promotions Advisor login |
This function takes the category id that has been sent in from the informant and builds the "category hierarchy" for it based on what has been setup in the Siebel Categories view. |
Catalog/Category Eligibility |
Catalog/Category Name (String), Promotion String (String) |
(Boolean) |
Can be used an optional eligibility function in Choice Eligibility |
This function compares either the catalog or category string tied to a promotion with a inputted catalog or category name and return TRUE if the case holds. |
Catalog Id Lookup |
Row Id (String) |
Catalog Id (String) |
Utilized within the Promotions Entity |
This function extracts back from the cached Category Entity, the catalog Id associated with the inputted category id. |
Catalog Lookup |
Row Id (String) |
Catalog Name (String) |
Utilized within the Web Interaction Entity |
This function extracts back from the cached Catalog Entity, the catalog name associated with the inputted catalog id. |
Category Array Eligibility |
Category Array (String Array), Promotion String (String) |
(Boolean) |
Can be used an optional eligibility function in Choice Eligibility |
This function compares a given category string tied to a promotion with a inputted category array and return TRUE if one of the array values holds. |
Category Lookup |
Row Id (String) |
Category Name (String) |
Utilized in the Promotions and Web Interaction Entity as well as the BuildCategoryThread() function. |
This function extracts back from the cached Category Entity, the category Name associated with the inputted category id. |
Days Since |
InputDate (Date) |
DaysSince (Integer) |
Utilized in the ProcessAssets() and ProcessWebInteractions() functions |
This function calculates the delta between the current system date with any given input date. |
Fill Entities |
None |
None |
Used in the Update Customer Profile Informant logic section |
The Fill Entities function is used as a container function which calls all of the logic/additional functions used to populate the session entities for this Inline Service. |
Get Image Name |
File Name (String), File Ext (String) |
File Name (String) |
Used in the Promotions Entity |
This function concatenates the file name and extension of if a given image record. |
Get Siebel Promotions |
Type (String) |
Promotions (Promotions Entity) |
Using the Siebel Promotions Choice Group (Group attributes tab) |
This function populated the Promotions List Entity with an array of Promotions extracted back from Siebel. |
Industry Lookup |
Row Id (String) |
Industry Name (String) |
Used in the Customer Entity |
This function returns back the name of an industry for a given industry id. |
Insert Message Result |
Session Id (String), Account Id (String), Offer Clicked (String), Categories Visited (String), Catalogs Visited (String) |
None |
Used in the Close Session informant logic |
This function inserts rows into the RTD_WEB _HISTORY table - see Log Writer function. |
Log Write |
None |
TableInserter |
Used as the default value for the Application attribute, Log Writer) |
This function instantiates a tableInserter and returns handle for the table RTD_WEB_HISTORY. |
Multiply |
A (double), B (Double) |
A * B (Double) |
Optional function |
This function is used to multiply two inputted values. |
Number Is Null |
Number (Integer) |
(Boolean) |
Optional function used to check if any integer attributes are null |
This function returns True if number value provided is Null, otherwise False. |
Parent Category Lookup |
Row Id (String) |
Parent Category Id (String) |
Used in the BuildCategoryThread() function |
This function extracts back from the cached Category Entity, the Parent Category Id associated with the inputted category id. This is in turn used in the Build category thread function. |
Process Assets |
None |
None |
Utilized in the Fill Entities() function |
This function loops through the asset records associated with an account to determine and set which products/product lines an Account owns. |
Process Web Interactions |
None |
None |
Utilized in the Fill Entities() function |
This function processes the web interaction records Source tied to a given account id and populates the appropriate Web Interaction entity attributes. |
Product Lookup |
Row Id (String) |
Name (String) |
Utilized in the Assets Entity |
This function returns the product name for a given product record. |
Return SDOId |
Choice (choice) |
(String) |
Optional function which can be used for choices |
This function is used to return the SDOId (Internal Name) of the choice inputted in. |
Return System Date |
None |
Current Time (Date) |
Used in the Session Entity |
This function is used to return the current system date/time. |
Set Catalog String |
Promo Id (String) |
Catalog String (String) |
Used in the Promotions Entity |
This function populates the Promotions Entity attribute, Catalog String based on the category records that are associated to the promotion in Siebel. |
Set Category String |
Promo Id (String) |
Category String (String) |
Used in the Promotions Entity |
This function populates the Promotions Entity attribute, Category String based on the category records that are associated to the promotion in Siebel. |
To Integer |
String (String) |
(integer) |
Optional Transformation function |
This function converts a string value into an integer. |
To String |
Integer (integer) |
(String) |
Optional Transformation function |
This functions converts an integer value into a string. |