[
https://jira.jboss.org/jira/browse/JBPM-2784?page=com.atlassian.jira.plug...
]
Ronald van Kuijk commented on JBPM-2784:
----------------------------------------
Does it work if you disable schemavalidation (removing it from the processdefinition)? If
it works then, the schema should be changed. If it does not work then, the docs should be
changed.
Schema doesn't accept condition attribute in transition
-------------------------------------------------------
Key: JBPM-2784
URL:
https://jira.jboss.org/jira/browse/JBPM-2784
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.8
Reporter: Toshiya Kobayashi
Fix For: jBPM 3.2.9
In case you write process definition like:
<decision name="node1">
<transition to="node2" condition="#{AAA ==
null}"></transition>
<transition to="node3"></transition>
</decision>
Schema will reject.
org.jbpm.jpdl.JpdlException: [[ERROR] cvc-complex-type.3.2.2: Attribute
'condition' is not allowed to appear in element 'transition'. line 10]
at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:173)
at org.jbpm.jpdl.par.JpdlArchiveParser.readFromArchive(JpdlArchiveParser.java:51)
at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:82)
at
org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(ProcessDefinition.java:211)
at org.jbpm.web.ProcessUploadServlet.parseProcessArchive(ProcessUploadServlet.java:147)
at org.jbpm.web.ProcessUploadServlet.doPost(ProcessUploadServlet.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
According to docs, condition can be "attribute or element text"
http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/4.3.CP02/html-single/...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira