Hey Koen,

thanks for your quick answer. That's what I supposed to find, a bunch of nodes 
and transitions lying upon each other. But there aren't any of  'em. I tried it 
twice. First one was a pageflow-definiton for jBoss SEAM. Then I thougt it 
could be a problem of this framework. So I tried something very simple: I 
created a new jBPM project in Eclipse and checked the box for creating sample 
files. After that I copied the jPDL-code from the processdefiniton.xml (the 
sample file) and deleted the graph in the graphical view. Now the xml-file only 
contained:

<?xml version="1.0" encoding="UTF-8"?>
  | <process-definition 
  |   xmlns="urn:jbpm.org:jpdl-3.1"
  |   name="simple">
  | </process-definition>

Now I pasted the code in the processdefinition.xml file.

<?xml version="1.0" encoding="UTF-8"?>
  | <process-definition 
  |   xmlns="urn:jbpm.org:jpdl-3.1"
  |   name="simple">
  |    <start-state name="start">
  |      <task>
  |         <controller>
  |           <variable name="color" />
  |           <variable name="size" />
  |         </controller>
  |       </task>
  |       <transition name="to_state" to="first">
  |          <action name="action" 
class="com.sample.action.MessageActionHandler">
  |             <message>Going to the first state!</message>
  |          </action>
  |       </transition>
  |    </start-state>
  |    <state name="first">
  |       <transition name="to_end" to="end">
  |          <action name="action" 
class="com.sample.action.MessageActionHandler">
  |             <message>About to finish!</message>
  |          </action>
  |       </transition>
  |    </state>
  |    <end-state name="end"></end-state>
  | </process-definition>

I supposed that the graph would be redesigned with its three nodes like it was 
before. But again nothing happened. Refreshing and rebuilding the project or 
closing the workspace also doesn't work.
I'm using Eclipse 3.1.2 with JBoss Eclipse IDE 1.6.0.GA and jBPM 3.1-beta2

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948959#3948959

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948959


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to