Example of Using Transient Variables with Action of Type Assign Points

This topic gives one example of how actions of type Assign Points might be used with transient variables. You might use Siebel Loyalty differently, depending on your business model.

An airline rewards program awards its gold members 25% bonus points on distance travelled and 10% bonus points on distance travelled if the channel of booking is Web.

The administrator sets up a promotion design that takes all of these promotions into account using accrual promotions with actions of type Assign Points. This type of action is used because the value of the reward is not required by subsequent promotions in the promotion design. In this case, the administrator is explicitly required to select Transient Variable as the object for the action.

From start to finish, the administrator includes the following promotion design objects: Start, Base Promotion, P0: Admin Promotion, P1: 25% Bonus for Gold Members, P2: 10% Bonus if Channel of Booking is ‘Web’, End. The promotion design is shown in the following image.

Promotion Design for Scenario 2: This image is described in the surrounding text.

These promotions are similar to the promotions used in the previous scenario, except that they use the Assign Points action so the points assigned by each promotion are based only on the original value of the transaction points, not on the subsequent bonus added by each promotion.

Using the Base Promotion, the administrator can calculate the distance travelled. In the P0: Admin Promotion she uses the Track and Assign points action. This action internally updates the transient variable associated with the point type. The P0: Admin Promotion includes an action with the field values shown in the following table.

Field Value

Sequence Number (#)

1

Name

Track and Assign points

Type

Track and Assign Points

Expression

[Transaction.Filed.Points]

Point Type

Regular

Object

Transaction

Attribute

Transaction Point

In the promotion P1: 25% Bonus for Gold Members, the administrator sets up the criteria to verify the member tier and creates an action of type Assign Points in order to reward members 25% bonus points on miles travelled.

Note: Because the subsequent promotion requires the distance travelled the administrator uses an action of type Assign Points. Do not use an action of type Track and Assign Points with this promotion. Doing so would erroneously update the transient variable with total points earned.

Keeping these factors in mind, while defining P1: 25% Bonus for Gold Members promotion, she creates an action with the field values shown in the following table.

Field Value

Sequence Number (#)

1

Name

Assign points

Type

Assign Points

Point Type

Regular

Object

Transient

Attribute

Regular Point TV

Operator

Multiply

Value

.25

In the promotion P2: 10% Bonus if Channel of Booking is Web, the administrator sets up the criteria to verify the ticket class and uses an action of type Assign Points in order to reward member 10% bonus points on miles travelled. The action, which is applied only if the ticket is booked on the Web, has the field values shown in the following table.

P2: 10% Bonus if Channel of Booking is Web Action

Field Value

Sequence Number (#)

1

Name

Assign Points

Type

Assign Points

Point Type

Regular

Object

Transient

Attribute

Regular Point TV

Operator

Multiply

Value

.1

The following table displays points how points are assigned in this example based on 2000 base points. Additional information about the tracking and assigning of points appears in the Explanation column.

Promotion Action Rewards Value of Transient Variable Explanation

Base Promotion

Calculate Base Price

Not applicable

Not applicable

  • Base points earned is 2000

  • Point Type is Regular

P0: Admin Promotion

Track & Assign Points

2000

2000

The Track & Assign points action assigns a value to the transient variable defined by the point type used in Base and Admin promotions. In this case it is defined as type Regular.

For more details about the action refer to the previous table.

P1: 25% Bonus for Gold Members

Assign Points

Transient variable is multiplied by 0.25

2000 times 0.25 equals 500

2000

In this promotion the transient variable is multiplied by 0.25. The Assign Points action assigns 500 points to the member but does not update the variable.

For more details about the action, refer to the previous table.

P2: 10% Bonus if Channel of booking is ‘Web’

Assign Points

Transient variable is multiplied by 0.1

2000 times 0.1 equals 200

2000

In this promotion the transient variable is multiplied by 0.1. The Assign Points action assigns 200 points to the member but does not update the variable.

For more details about the action, refer to the previous table.