setInteractiveChannel

The setInteractiveChannel method defines the name of the interactive channel used by the startSession command.

setInteractiveChannel(interactiveChannel)
  • interactiveChannel-a string containing the interactive channel name.
Important: The interactiveChannel must match the name of the interactive channel as defined in Unica Campaign exactly. It is case-sensitive.

Return value

None.

Example

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

String interactiveChannel="Accounts Website";
. . .
Command startSessionCommand = new CommandImpl();
startSessionCommand.setInteractiveChannel(interactiveChannel);