Use Case 3 - Creating a promotional offer for the iPhone
In this use case, we are going to create a promotional offer for the iPhone 12. The mobile phone company only want to show the offer to customers who meet the following criteria:
- Customer does not already have an iPhone 12
- Customer has shown interest in the iPhone during the last 30 days
We will build a separate Eligibility Rule for each of the criteria specified and combine those into a single Eligibility Rule.
Example Eligibility Rule 1 - Customer does not already have an iPhone 12
[Completed for iPhone 12] is empty
Where the parameters for Completed are as follows:
- Proposition name equals iPhone 12
Example Eligibility Rule 2 - Customer has shown interest in iPhone 12 recently
sum of the elements in [Activity count for iPhone 12 search for info]) > 1 and time between now and Last occurrence for iPhone 12 search for info in days < 30
Where the parameters for Activity count and Last occurrence are as follows:
- Proposition name equals iPhone 12
Example Combined Eligibility Rule
Customer does not have an iPhone 12 AND Customer is interested in an iPhone 12