Hello everybody,
we are trying to create a workflow deployment process via wsp packages.
Therefore we have a feature receiver which should publish the nwf file during feature activation to the corresponding site. The same example is also within the Nintex SDK.
The problem is, that the webservice method PublishFromNWF works fine for the first deployment. But if you want to upgrade the workflow it fails with the message, that the workflow name already exists:
Server was unable to process request. ---> System.InvalidOperationException: A workflow with this name already exists on this list. at NintexWorkflowWS.PublishFromNWFXml(String workflowFile, String listName, String workflowName, Boolean saveIfCannotPublish)
According to the Nintex Documentation of this method, it should be possible to publish existing workflows with this method as a new version.
Do you have any idea, why the webservice behaves different than documented? Is this a kown issue?
Or is there any other webservice method to use?
Regards,
Katrin