getSalesChannelInfo

The getSalesChannelInfo method can be used to determine the enfore-"saleschannel" that the CUWO is executed for.

The method is defined as:

/**
 * Returns information about sales channel for which the
 * custom workflow is performed.
 * 
 * Note that the "externalID" is currently not supported by
 * the platform.
 */
public getSalesChannelInfo() : string<SalesChannelInfo>

The return value is a string holding the NFON-serialization of a SalesChannelInfo structure.

This structure has the following form:

{
    "@type" : "n4.cuwo.SalesChannelInfo",
    "name" : "...",
    "enforeID" : "...",
    "externalID" : "..."
}

The method is available for all types of CUWOs.