getRegisterInfo

The getRegisterInfo method can be used to determine the enfore-"register" device that the CUWO is executed on.

The method is defined as:

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

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

This structure has the following form:

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

The method is available for all types of CUWOs.