Fetches the configuration of a workflow.
Id of the workflow item
URL of the workflow manager, e.g., "https://workflow.arcgis.com/orgId"
Credentials for the request to AGOL
Promise resolving with the workflow configuration in a zip file
if request to workflow manager fails
Fetches the configuration of a workflow.