the above mentioned error occurs only when the gateway is within a sub process.
can you elaborate a bit more about it? What you mean by deploy package, is it when you upload it to Guvnor, or when you build your package or when you try to build knowledge base out of the package.
I am trying to get bit more data to be able to look into that as that sounds like a rather serious issue.
I develop the process in eclipse, using embedded sub-process, and send to guvnor repository.
When i access the process in drools, i need to set taskname again to validate the process, eclipse plugin do not set the property.
After, generate task forms, and save the process.
The problem is when i go to edit, and try to "Build package" and send to jbpm-console, i get the erro message.
unable to parse xml : Exception class java.lang.IllegalArgumentException : This type of node cannot have more than one incoming connection!
The property gatewaydirection not set to gateway inside sub-process. Generate task forms do not generate form to tasks inside sub-process.
Do you mean that the problem is when you open/edit process in designer that is embedded in Guvnor or the problem is when you try to execute it on jbpm-console?
Would be good if you could export this bpmn2 process and attach here so I could take a look at it and try to see where is the problem.
Finally I found some time to take a look at your case and there was only one type of problem to make your process be successfully build in Guvnor. All conditions on sequence flow that followed XOR gateways was using single quotas to compare with string value, after applying a change to all of them your process was build successfully in drools guvnor and ready to be executed on jbpm runtime.
Please find attached file.
Sorry for my absence.