getOrganizationInfo

The getOrganizationInfo method can be used to determine the enfore-"organization context" that the CUWO is executed in.

The method is defined as:

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

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

This structure has the following form:

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

The method is available for all types of CUWOs.