importWorkflowConfigurationAsync

POST
1
/{orgId}/admin/{itemId}/importAsync

Start import a Workflow Manager configuration file asynchronously

Starts importing a new Workflow Manager configuration from the selected .wmc file. Configurations from workflow items with a server that is on a more recent version will not import due to incompatability. Importing overwrites the version, job templates, diagrams, roles, role-group associations, lookup tables, charts and queries, templates, and user settings of the indicated item. It is recommended to back up configurations before importing. The passphrase specified during export for encrypted settings must be included. If no passphrase is specified, then only encrypted keys will be imported without the value. If an invalid passphrase is specified, the import will fail. Importing will fail if any jobs exist in the destination item. Excess scheduled tasks will be dropped based on the portal limit. The adminAdvanced privilege is required.

Body parameters

Supported content types: multipart/form-data

NameTypeRequiredDescription

token

string

string(binary)

The configuration file to be imported into the specified item

passphrase

string

file

The configuration file to be imported into the specified item

Path parameters

NameTypeRequired

orgId

string

itemId

string

Examples

Request

1
2
3
4
5
6
# You can also use wget
curl -X POST /{orgId}/admin/{itemId}/importAsync \
  -H 'Content-Type: multipart/form-data' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}' \
  --data '{"token":"string","file":"string","passphrase":"string"}'

Response

StatusMeaningDescriptionSchema

200

OK

success

SuccessResponse

400

Bad Request

error

WorkflowExceptionDTO

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close