Deploy a Workflow via Powershell and add content types to the action "Request Data"

  • 3 May 2019
  • 1 reply
  • 3 views

Badge

I am trying to publish/deploy a workflow via Powershell which contains the Action "Request Data".

The problem is that those actions dont select the content types which are requiered for this action. They are just empty, but the content types exist. If I import the workflow manually, the contenty types are added correctly with all fields. But if I import / Deploy the workflow via Powershell, the content types (which are already existing, ofcourse) will not be added and the Action "Request Data" throws the warning "Content Type cannot be blank".

Any ideas, why the content types will not be added to the Action?

I am using this command:

NWAdmin.exe -o DeployWorkflow -workflowName "AnfragenWorkflow" -nwfFile $pathNintexWorkflowAnfragen -siteUrl $siteCollectionUrl -targetList "Anfragen" -saveIfCannotPublish -overwrite

1 reply

Badge +3

Hi @GreenWorkflows ,

 

This looks like something that would need to be reviewed more in depth by Nintex Support. I would suggest creating a case via https://customer.nintex.com

Reply