Example of Using Transient Variables with Actions of Type Track and Assign Points

This topic gives one example of how actions of type Track and 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 the distance travelled. To encourage members to book tickets online, it awards an additional 10% bonus on the total rewards earned if the channel of booking is Web.

The administrator creates a promotion design that will take all of these promotions into account as accrual promotions, where the value assigned to the given point type is stored in the transient variable and then carried forward to the next promotion for evaluation.

From first to last, the administrator includes the following promotion design objects: Start, Base Promotion, P0: Admin Promotion, P1: 25% Bonus for Gold Members, P2: 10% Bonus on total points earned if Channel of Booking is 'Web’, End. This promotion design is shown in the following image.

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

These promotions use the Track and Assign Points action with Transient as its object, so the value accumulates in the transient variable. Each promotion adds the new bonus that it calculates to the bonus that is already stored in the transient variable. The final promotion uses the Assign Points action, so it assigns the customer the entire bonus that accumulated value in the transient variable.

Using P0: Admin Promotion as the base promotion, the administrator can calculate the distance travelled. In this admin promotion she uses a Track and Assign points action. This action internally updates the transient variable associated with the point type. While defining P0: Admin Promotion, she creates an action and assigns values to the fields as defined 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, a criterion is defined to verify the member tier. The action updates the transient variable to reward members 25% bonus points on miles travelled. Because the subsequent promotion requires the total points earned, use the Track and Assign points action for this promotion. The action for this promotion has the field values shown in the following table.

Field Value

Sequence Number (#)

1

Name

Track and Assign

Type

Track and Assign Points

Point Type

Regular

Object

Transient

Attribute

Regular Point TV

Operator

Multiply

Value

.25

In the promotion P2: 10% Bonus on total points earned if channel of booking is Web, a criterion is defined to check the ticket class. The action assigns points to reward members 10% bonus points on the total points earned so far in the promotion design. If the channel of booking is Web, then the promotion executes the 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

.1

The following table explains how points are assigned in this scenario based on 2000 base points.

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 the 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

Track & Assign Points

Transient variable is multiplied by 0.25

2000 times 0.25 equals 500

2000 plus 500 equals 2500

In this promotion the transient variable is multiplied by 0.25. The action then updates the transient variable with the resulting value 2500.

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

P2: 10% Bonus on total points earned if Channel of booking is Web

Track & Assign Points

Transient variable is multiplied by 0.1

2500 times 0.1 equals 250

2500 plus 250 equals 2750

In this promotion the transient variable is multiplied by 0.1. The Assign Points action can be used here, because there are no subsequent promotions in the promotion design. This action assigns all the points that have accumulated in the transient variable to the customer.

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