Defining the event and parameters for the Wait for Event trigger
Marketing managers require technical information from store developers to set up the Wait for Event trigger in a Dialog activity. This information includes the event name and the parameters that the marketing services use to detect that the event occurred. To gather this information, you must determine the type of event to match and then complete some steps to define the event and its parameters. Depending on the type of event, you might need to implement a service call with a custom URL or by using Java code.
Before you begin
About this task
Note: The Wait for Event trigger does not support
events that occur when a controller command exits. An example is when
the LogonCmd controller command successfully exits, indicating that
a customer has logged on.
Procedure
Decide on the type of event that starts or continues a Dialog activity that
contains the Wait for Event trigger; then follow the relevant procedure
in the right column of the table.
Type of event | Example | Procedure for defining event and parameters the Wait for Event trigger |
---|---|---|
1. An event that occurs on the storefront – the event is triggered by an existing WebSphere Commerce URL command | Examples:
|
Defining the event and parameters for a storefront event: existing WebSphere Commerce URL command |
2. An event that occurs on the storefront – the event is triggered by a custom URL you create | Examples:
|
Defining the event and parameters for a storefront event: custom URL |
3. An event that occurs on a system external to WebSphere Commerce, such as a point-of-sale system or a call center | Example:
|
Defining the event and parameters: external event |