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

  1. Click the icon in a selected expression field.
  2. The Personalization Business Rules Designer appears.

  3. Choose Operator from Categories, Pattern Matching from Subcategories, and EXISTS from Elements, and then click Add Element.
  4. The Expression box displays EXISTS(<condition>).

  5. Click <condition> to highlight it.
  6. Choose Business Component Fields from Categories, <All> from Subcategories, and Related Product from Elements, and then click Add Element.
  7. The Expression box displays EXISTS([Related Product]).

  8. Place the cursor after [Related Product] in the Expression box, then click = in the Quick bar.
  9. The Expression box displays EXISTS([Related Product]=).

  10. Place the cursor after =.
  11. Choose Function from Categories, Profile from Subcategories, GetProfileAttr from Elements, and then click Add Element.
  12. The Expression box displays:

    EXISTS([Related Product]= GetProfileAttr(<attribute>))

  13. Click <attribute> to highlight it, and then type "ProductInCart".
  14. The Expression box displays the completed rule:

    EXISTS([Related Product] = GetProfileAttr("ProductInCart"))

  15. Save the rule to validate it and put it in the expression field.

 Siebel Personalization Administration Guide 
 Published: 18 April 2003