Yes drools:taskName can be same in multiple process definition files as along as id is unique.
If you use Drools Guvnor, to define your process, then unique id is generated by default.
<bpmn2:userTask id="_4AA55365-51C2-4763-A036-B29F7CB3388A" drools:taskName="TaskOne" drools:scriptFormat="http://www.java.com/java" name="TaskOne">
That's what I assumed but that's not the behavior the person doing the testing observed which is why I posted this question.
As it turned out the id's were the same in the two definition files.
I have a same problem.
I tried to create two bpmn2 processes in different packages and used same name as Task name. HTML taskform has created with generation template. Then I start second process in jbpm-gwt-console, I see HTML task form from first bpmn2 process from another package. Where is my error?
Sorry for my poor english.
JBPM master version