| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Personalization Administration Guide > Content Targeting > Expressions >
Writing a Rule Using the Personalization Business Rules Designer
The following example shows how to write this rule:
EXISTS([Related Product] = GetProfileAttr("ProductInCart"))
which shows products that are related to products in the Siebel eSales Shopping Cart.
To write a personalization rule using the Personalization Business Rules Designer
- Click the icon in a selected expression field.
The Personalization Business Rules Designer appears.
- Choose Operator from Categories, Pattern Matching from Subcategories, and EXISTS from Elements, and then click Add Element.
The Expression box displays
EXISTS(<condition>).- Click
<condition>to highlight it.- Choose Business Component Fields from Categories, <All> from Subcategories, and Related Product from Elements, and then click Add Element.
The Expression box displays
EXISTS([Related Product]).- Place the cursor after
[Related Product]in the Expression box, then click = in the Quick bar.The Expression box displays
EXISTS([Related Product]=).- Place the cursor after
=.- Choose Function from Categories, Profile from Subcategories, GetProfileAttr from Elements, and then click Add Element.
The Expression box displays:
EXISTS([Related Product]= GetProfileAttr(<attribute>))
- Click
<attribute>to highlight it, and then type"ProductInCart".The Expression box displays the completed rule:
EXISTS([Related Product] = GetProfileAttr("ProductInCart"))
- Save the rule to validate it and put it in the expression field.
| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Personalization Administration Guide Published: 18 April 2003 |