Hi Michael, I mix the exception output, sorry.
I try to adapt the code for custom node for jpdl, I create class org.loxageek.ppless.action.jbpm.SeamComponentBinding for support new <seam-component></seam-componet> in BPMN process definitions. When I deploy my xml, I get this exception.
From instructions, I undertand org.loxageek.ppless.action.jbpm.SeamComponentBinding will parser the new node.
the custom activity, i added into process definition sequence
<
seam-component
name
=
"send_request_to_group_leaders"
expression = "#{groupAction.sendNotificationToGroupLeaders('/emails/request-to-join-group.xhtml')}" > |
< transition to = "verify_request" /> |
it's the correct exception output
23:50:03,386 INFO [DeployerManager] errors during deployment of deployment(830001):
xml validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'seam-component'. One of '{"http://schema.omg.org/spec/BPMN/2.0":flowElement, "http://schema.omg.org/spec/BPMN/2.0":artifact, "http://schema.omg.org/spec/BPMN/2.0":supports}' is expected. [line=13 column=103 ]: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'seam-component'. One of '{"http://schema.omg.org/spec/BPMN/2.0":flowElement, "http://schema.omg.org/spec/BPMN/2.0":artifact, "http://schema.omg.org/spec/BPMN/2.0":supports}' is expected.
.....
Any idea? I try to integrate jbpm4 and seam.