Goal: Identify customers who make a printer purchase
ACTION COMPONENT
Name is “Customer Purchased Printer Action”
Write the message “customer purchased printer” and the Store ID to the outcome table when the Simple Event “A Printer Purchase” is triggered.
SIMPLE EVENT COMPONENT
Name is “A Printer Purchase”
Trigger this Simple Event when the following is true of a sales detail transaction:
transaction type = purchase
AND
sku = a printer
When triggered, record Store ID
OUTCOME
Message = “customer purchased printer”
XML includes the Store ID
Copyright IBM Corporation 2012. All Rights Reserved.