DeployWorkflow
Description
This operation is used to publish or save a workflow that is saved as an exported NWF file.
Note: This operation uses the Nintex Workflow web service, and requires credentials to connect to the web service.
Usage
NWAdmin.exe -o DeployWorkflow -workflowName workflowName -nwfFile pathToNwfFile -siteUrl targetSiteUrl [-targetList targetList] [-saveOnly] [-saveIfCannotPublish] [-overwrite] [-skipValidation] [-username username] [-password password] [-domain domain]
Parameters
Name | Description |
---|---|
-workflowName |
The name to call the workflow in the target location. |
-nwfFile |
The path to the nwf file to deploy. |
-siteUrl |
The URL to the site to deploy the workflow to. |
-targetList |
The name of the list or library on the target site to deploy the workflow to. Do not use this parameter if it is a site workflow being deployed. |
-saveOnly |
Specify to save the workflow and not publish it. If not specified, the workflow will publish. |
-saveIfCannotPublish |
Specify to fall back to a save operation if the workflow cannot be published. If not specified, no changes will be made if the workflow cannot publish. |
-overwrite |
Specify to overwrite a workflow that already exists on the site. |
-skipValidation |
Advanced. Specify to skip the validation of a workflow. This option has no effect if –saveOnly is specified. |
-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 |