setEvent
setEvent(
event)

The setEvent method defines the name of the event used by the postEvent command.

*
event—A string which contains the event name.
*
The name of the event must match the name of the event as defined in the interactive channel exactly. It is case-sensitive.
Return value

None.

Example

The following example is an excerpt from an executeBatch method calling postEvent.

String eventName = "SearchExecution";

Command postEventCommand = new CommandImpl();
postEventCommand.setMethodIdentifier(Command.COMMAND_POSTEVENT);
postEventCommand.setEventParameters(postEventParameters);
postEventCommand.setEvent(eventName);


IBM Unica Interact
 
8.5.0
For more information, see our support and community site: Customer Central