- All Implemented Interfaces:
- AbstractProcessNounActionCmd, ProcessMarketingTriggerActionCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
public class ProcessMarketingTriggerEvaluateActionCmdImpl
extends ProcessMarketingTriggerActionCmdImpl
implements ProcessMarketingTriggerActionCmd
This command handles that an external system has detected a trigger (event) that has been performed. The Marketing system should check if there are any marketing activities that are interested in this event. There may be marketing activities that are waiting for this event to happen (a trigger element), and then the trigger should be sent to the applicable marketing activities. There may be marketing activities that are listening for this event to happen (a target element) in order to record that the behavior has occurred. If so, then the behavior should be recorded. The following is an example of how an external system can call this service. In this example, the external system has detected that a customer has viewed a product.
String commandName = "ProductDisplay";
String queryString = "productId="+skuId1;
String referralURL = null;
String customInformation = null;
String triggerParameters = MarketingUtil.createTriggerParametersString(null, commandName, queryString, referralURL, customInformation);
marketingFacadeClient.processMarketingTrigger(MarketingFacadeConstants.PROCESS_VERB_ACTION_EVALUATE, null, triggerParameters);
- See Also:
- Serialized Form