Reflects the current release of Nintex for SharePoint 2016. For your version, please access assistance through the Help button in the product.

ExportWorkflow

Description

This operation is used to export a workflow to an NWF file.

Note: This operation uses the Nintex Workflow web service, and requires credentials to connect to the web service.

Usage

NWAdmin.exe -o ExportWorkflow -siteUrl targetSiteUrl -workflowName workflowName -filename fileToSave [-workflowType reusable|globallyreusable|site|list|workflowapproval|userdefinedaction -list listName] [-username username] [-password password] [-domain domain]

Parameters

Name Description

-siteUrl

The url to the site that contains the workflow to export.

-list

The list that contains the workflow to export. Do not use this parameter if it is a site workflow being deployed.

-workflowName

The name of the workflow to export.

-filename

The path and filename to save the export file as. It should end with a .nwf extension.

-workflowtype

The type of the workflow to export.

Note: If the value of this parameter is set to list, the -list parameter is required.

-list

The name of the list from which to export the workflow.

-username

A valid SharePoint user’s username with permissions to publish a workflow. If no username is provided, the credentials of the user running the command will be used.

-password

A valid password for –username

-domain

A valid domain for –username