Siebel Loyalty Administration Guide > Setting Up Siebel Loyalty Promotions > Process of Creating Loyalty Promotions >

Creating Actions for Loyalty Promotion Rules


If a rule qualifies, the application executes the actions for that rule.

The following actions are used in promotions:

  • Assign Points. Gives points to the member.
  • Update Attribute. Changes the value of an attribute.
  • Invoke Custom Action. Invokes a method that you create to perform custom actions.
  • Update Roundtrip Info. Updates information about the segments of a roundtrip that have been completed. This is only used when you create a criteria of the type Evaluate Roundtrip.
  • Redeem Points. Redeems the member's points.
  • Cancel Transaction. Cancels a transaction.

This task is a step in Process of Creating Loyalty Promotions.

To create an assign points action

  1. Navigate to the Loyalty Promotions Administration screen.
  2. In the Promotions list, find the promotion for which you want to create an action and click the hyperlink in its Promotion # field.
  3. If the promotion form's Active check box is selected, click Modify.
  4. Click the Rules view tab.
  5. Select a rule and click its Name field hyperlink, and click the Actions view tab.
  6. Add a new record to the Actions list, and in the Type field, select Assign Points.
  7. In the record's Detail form, complete the necessary fields, described in the following table.
    Field
    Comments

    Use from Transaction

    If you select this check box, the promotion uses the same point type and qualifying/nonqualifying value as the transaction. The Point Type and Qualifying fields become read-only.

    You can only select this check box for rules that apply to transactions.

    Point Type

    Select the point type to assign.

    Qualifying

    Select or clear this check box to make the points qualifying or non-qualifying.

    Object, Attribute, Operator, Value

    Use these fields to build the expression that specifies how many points the member receives:

    • Use Object and Attribute to specify the attribute that the number of points is based on. For example, you can specify Transaction.Points to give a bonus equally to the number of base points.
    • Use Operator and Value with Object and Attribute to base the points on a calculation. For example, you can specify Transaction.Points * 0.2 to give a bonus equal to 20% of the base points.
    • Use Value alone to give a constant bonus. For example, you can enter 500 as the Value and leave the other three fields blank to give a bonus of 500 points.

    Expiration Length, Expiration UoM

    Use these fields to specify when the points expire. For example, enter an Expiration Length of 2 and an Expiration UoM of Years for the points to expire in two years.

    If you do not specify an expiration here, the points that are given as a result of this promotion expire based upon the tier or product expiration rules.

    Expiration Snap To

    Optionally, specify that the expiration will be the nearest month, year, and so on to the expiration date determined by Expiration Length and UoM.

To create an update attributes action

  1. Navigate to the Loyalty Promotions Administration screen.
  2. In the Promotions list, find the promotion for which you want to create an action and click the hyperlink in its Promotion # field.
  3. If the promotion form's Active check box is selected, click Modify.
  4. Click the Rules view tab.
  5. Select a rule and click its Name field hyperlink, and click the Actions view tab.
  6. Add a new record to the Actions list, and in the Type field, select Update Attribute.
  7. In the Detail form, complete the necessary fields, described in the following table.
    Section
    Field
    Comments

    Update this attribute

    Object and Attribute

    Use these fields to specify the attribute to be updated.

    Update this attribute

    Action

    Select the action to be performed on the attribute.

    With this attribute

    Object, Attribute

    Use these fields to build the expression that calculates the value with which to act on the attribute. These fields are used the same way here as they are for assign points actions, described in To create an assign points action.

    And/Or this value

    Operator, Value

Using Invoke Custom Action

You can define your own custom actions for promotions. Supported custom actions include:

  • CancelTxnAttributes
  • SetLoanBalance
  • DebitVoucher
  • PointTransfer

To create an action of the type Invoke Custom Action, you must create a method that performs the custom action.

The method must be implemented on the LOY Customer Action Business Service.

The following arguments are passed in to the method. Some of these arguments may not be present, depending on the processing context:

Argument
Context Where It Is Specified

Member Id

Always

Transaction Id

Only for Rules that apply to transactions

Bucket Id

Only for rules that apply to attributes and for rules that apply to transactions that a promotion bucket has been created for

Promotion Id

Always

Promotion Rule Id

Always

Tier Id

Only for tier promotions

Using Redeem Points

This type of action is similar to Apply Points, described earlier, except for the following differences:

  • The Expression section is used to calculate the number of points redeemed, not the number assigned.
  • You do not specify whether the points are qualifying or non-qualifying.
  • You do not specify when the points expire.

This type is used only in base promotions, not in promotions that are made visible to customers. For more information about base promotions, see Creating Base Loyalty Promotions.

Using Cancel Transactions

This type of action is used only for promotions where Apply To=Cancellation.

This type is used only in base promotions, not in promotions that are made visible to customers. For more information about base promotions, see Creating Base Loyalty Promotions.

Siebel Loyalty Administration Guide Copyright © 2006, Oracle. All rights reserved.