Function setWorkflowConfigurationZip

  • Sets the configuration of a workflow.

    Parameters

    • configurationZipFile: File

      Configuration files in a zip file

    • itemId: string

      Id of the workflow item

    • authentication: UserSession

      Credentials for the request to AGOL

    • 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"

    Returns Promise<IStatusResponse>

    Promise resolving with the workflow configuration in a zip file

    Throws

    if request to workflow manager fails