Goal: Identify customers who make 3 large purchases in a week, where the total of those purchases is more than $1000
ACTION COMPONENT
Name is “Good Customer Made 3 Large Purchases in Week Totaling more than $1000”
Write the message “3 Large Purchases Total more than $1000” to the outcome table when:
the Pattern component event “3 Large Purchases Total more than $1000” is triggered
AND
the Qualifier “Good Customer” is triggered “is true”
QUALIFIER COMPONENT
Name is “Good Customer”
On a customer’s profile, when the quality ranking = “good” trigger this Qualifier “is true”
CONTAINER MANIPULATOR COMPONENT
Name is “3 Large Purchases Total more than $1000”
Trigger this Container Manipulator event and clear the contents of the “Purchase Amounts” container when:
The Pattern component event “3 Large Purchases in 1 Week” is triggered
The sum of the amounts in the “Purchase Amounts” container > $1000
PATTERN COMPONENT
Name is “3 Large Purchases in 1Week”
Trigger this Pattern component event when the Simple Event “A Large Purchase” is triggered 3 times in 1 week
SIMPLE EVENT COMPONENT
Name is “A Large Purchase”
Trigger this Simple Event when the following is true of a sales detail transaction:
transaction type = purchase
AND
the total dollar amount > $335 CONTAINER COMPONENT
CONTAINER COMPONENT
Name is “Purchase Amounts”
Holds data of the “money” type
Allows room for 3 occurrences data
Saves the data for 1 week
OUTCOME
Message = “3 Large Purchases Total more than $1000”
Workspace Editor
See the following topics for information about using the Workspace Editor to build trigger systems.
To view a complete list of all the online help available, including detailed information on each available component and its uses, click the
Show Navigation
button
the top left corner of any help topic.
Concepts
Concept topics help you understand trigger systems.
Introduction to Building Trigger Systems
About workspaces
About the Component Graph
About custom views
About using Pan mode to navigate in a graph
About select mode
About groups
About system-created groups in the system graph and custom views
About user-created groups in a custom view
About connectors
About the context menu
About the Component List
Getting started with workspaces
Creating and managing runsets
Moving components
Cloning components
Adding and editing components
Procedures
Procedures guide you through hands-on tasks related to building trigger systems.
To access the Workspaces area
To create a new empty workspace
To change the name or description of a workspace
To view trigger summary information for a workspace
Suggested method for creating a custom view
To set a custom view as the default view
To add a component to a workspace
To edit a component
To clone components in one workspace to use in another
To move components from one workspace to another
To create a runset
To select the trigger systems for a runset
To edit a runset
To delete a runset
Reference
These lists describe the functions and the time constant data type that you can use in trigger systems, and also some common features of the user interface and of all components.
Types of components
Action bar in the Component List tab
Columns in the Component List tab
Function definitions
The Time Constant field type
About component properties
Runsets Editor
Copyright IBM Corporation 2012. All Rights Reserved.