I'm expariencing a strange problem... I parse the process definition with no problems and then call the context.deployProcessDefinition(definiton) bur the problem is that the references to the modules, nodes etc are not persisted correctlly.For instance, the start state column in JBPM_PROCESSDEFINITION has null value, the same happen in the NAME_ column in the JBPM_MODULEDEFINITION table.
I saw the code in the JpdlXmlReader, and the name atttribute for the ModuleDefinitions is never set.
any idea what can be the problem?
where is the name attribute of the module definitions set?