EXTERNALCALLOUT macro

The EXTERNALCALLOUT macro is available only in HCL® Interact.

Syntax

EXTERNALCALLOUT( calloutName, arg1, ...)

Parameters

calloutName

The name of the callout you created using the ExternalCallout API. This name must match the name of the External Callout category you created in HCL Marketing Platform.

arg1

An argument required by your callout, if required.

Description

EXTERNALCALLOUT enables you to call an external application to add data to your interactive flowchart. EXTERNALCALLOUT can return whatever you have created the callout to do. You must write this callout in Java™ using the ExternalCallout API. For more details, see the HCL Interact Administrator's Guide.

Examples

EXTERNALCALLOUT(getStockPrice, UNCA)

Calls the callout getStockPrice passing the name of the stock, UNCA, as the argument. This user defined callout returns the stock price as defined by the callout.