I am trying to publish a workflow to a list, using Nintex actions. These sites describe how to do it:
Usually it works for me, without any problem, about 20-30 times. But when I add a new workflow to be published, often it will a few times, and then eventually settle down and work consistently from then on.
The error I get when I call the PublishfromNWFXml method is:
Error returned from server: Server was unable to process request. ---> The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
I know that the XML file has been successfully read in.
Can anyone help with this seemingly random problem?
It's a development server, and it is stable and performs adequately for my dev needs. The problem does only seem to occur after I add a new Call WebService action, and after a few fails, it usually resolves itself. What I don't understand is that the Query XML succeeds (I can see it in the verbose log), the regular expressions work on the XML, but when the PublishFromNWFXml method reads the XML it gives a cannot find file error.