• Determines the URL to the Workflow Manager.

    Parameters

    • authentication: UserSession

      Authenticated user session

    • Optional portalResponse: IPortal

      Response from portal "self" call; will be fetched if not supplied

    • Optional orgId: string

      Id of organization whose license is to be checked; if truthy, the URL will be for AGO; if falsy, the URL will be for Workflow Manager Enterprise

    Returns Promise<string>

    A URL based on ArcGIS Online or Enterprise, e.g., "https://abc123.esri.com:6443/arcgis"