[jboss-user] [JBoss jBPM] - I have a very simple processdefinition, but it doesn't work.
j2093
do-not-reply at jboss.com
Thu Jul 31 23:49:25 EDT 2008
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="http://jbpm.org/3/jpdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://jbpm.org/3/jpdl http://docs.jboss.org/jbpm/xsd/jpdl-3.0.xsd"
| name="paidan">
|
| <start-state name="start">
| <transition to="task"></transition>
| </start-state>
|
|
| <task-node name="task" create-tasks="false">
| <event type="node-enter">
| <action name="createInstance" class="com.sample.action.CreateTask"></action>
| </event>
| <transition to="end"></transition>
| </task-node>
|
|
| <end-state name="end"></end-state>
|
| </process-definition>
|
errors is below:
| org.jbpm.jpdl.JpdlException: [[ERROR] line 21: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transition'. One of '{"http://jbpm.org/3/jpdl":event, "http://jbpm.org/3/jpdl":timer, "http://jbpm.org/3/jpdl":exception-handler}' is expected.]
|
line 21 is <transition to="end"></transition>
I need some help, thank you!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168066#4168066
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168066
More information about the jboss-user
mailing list