initialize
initialize(configData)

The initialize method is called once when the runtime server starts. If there are any operations which may impede performance during runtime, such as loading a database table, they should be performed by this method.

The initialize method requires the following parameter:

*
configData—a map with key-value pairs of configuration data required by the callout.
Interact reads these values from the External Callout parameters defined in the Interact > Flowchart > External Callouts > [External Callout] > Parameter Data category.

If the initialize method fails for any reason, it returns CalloutException.

Return value

None.

Example
public void initialize(Map<String, String> configurationData) throws CalloutException
{
// configurationData has the key- value pairs specific to the environment the server is running in
// initialize scoreQueryUtility here
}


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