Creating a Rule to Update the Roundtrip Attribute
Create the first rule, which updates the promotion-specific roundtrip attribute. This rule applies if this trip is the first half of a possible round-trip.
The criterion is any requirement that applies in addition to using the correct flight product, such as using the required airline or the required booking class. In this example, the criterion checks for the required airline.
The action is to update the promotion-specific attribute to show that half of a round-trip has been completed.
This attribute stores the information that is evaluated by the two user properties to see whether the next potentially applicable flight completes the round-trip.
To create a rule that updates the roundtrip attribute
Click the Rules view tab.
In the Rules list, add a new record, and complete the necessary fields. Some fields are shown in the following table.
Field Value Sequence
2
Name
Update SFO-DEN Roundtrip Attribute
Apply To
Transactions
Click the rule’s Name field hyperlink.
In the Criteria list, add a new record, and complete the necessary fields shown in the following table.
Field Value Sequence
1
Name
Partner-Indigo Airways
Type of Comparison
Compare to Values
In the Evaluate Roundtrip Detail form, complete the necessary fields shown in the following table.
Field Value Object
Transaction
Attribute
Partner
Condition
Equals
In the Values list on the Compare to Values Detail form, add a new record and select the product used in this promotion, as shown in the following table.
Field Value Value
Indigo Airways
Click the Actions view tab.
Add a new Action record, and complete the necessary fields in the Action list and Detail form, shown in the following table.
Field Value Sequence
1
Name
Update Roundtrip attribute
Type
Update Roundtrip information
Update this roundtrip attribute:
Object
Promotion
Update this roundtrip attribute:
Attribute
Roundtrip SFO-DEN Attribute
With this transaction attribute:
Object
Transaction
With this transaction attribute:
Attribute
Roundtrip Attribute