- All Implemented Interfaces:
- AbstractProcessNounActionCmd, ProcessMarketingTriggerActionCmd, com.ibm.websphere.cache.Sizeable, 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 ProcessMarketingTriggerEvaluateForTriggerActionCmdImpl
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.
It will not check if there are any target elements interested in this event.
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_FOR_TRIGGER, null, triggerParameters);
- See Also:
- Serialized Form