Function getWorkflowManagerAuthorized

  • Check the license capability of Workflow Manager Server.

    Parameters

    • orgId: string

      Id of organization whose license is to be checked; only used if enterpriseWebAdaptorUrl is falsy

    • workflowURL: string

      URL of the workflow manager, e.g., "https://workflow.arcgis.com"

    • Optional authentication: UserSession

      Credentials for the request to AGO

    Returns Promise<boolean>

    Promise resolving with a boolean indicating whether the organization has the license

    Throws

    if request to workflow manager fails