Could someone please confirm that this simple process doesn't work with more 
than 1 JobExecutor thread configured?


  | <?xml version="1.0" encoding="UTF-8"?>
  | <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="simpletest">
  |     <start-state name="start-state1">
  |             <description>start of the process</description>
  |             <event type="node-enter">
  |                     <script name="script_start">
  |                             System.out.println("START");
  |                             executionContext.leaveNode();
  |                     </script>
  |             </event>
  |             <transition name="start-to-check" to="fileCheck" />
  |     </start-state>
  | 
  |     <node name="fileCheck" async="true">
  |             <script name="script_filecheck">
  |                     System.out.println("FILE-CHECK");
  |                     executionContext.leaveNode();
  |             </script>
  |             <transition name="check-to-fork" to="fork1"></transition>
  |     </node>
  | 
  |     <fork name="fork1" async="true">
  |             <transition name="toNode1" to="node1"></transition>
  |             <transition name="toNode2" to="node2"></transition>
  |     </fork>
  | 
  |     <node name="node1" async="true">
  |             <script name="script_node1">
  |                     System.out.println("NODE1");
  |                     executionContext.leaveNode();
  |             </script>
  |             <transition name="node1toJoin1" to="join1"></transition>
  |     </node>
  | 
  |     <node name="node2" async="true">
  |             <script name="script_node2">
  |                     System.out.println("NODE2");
  |                     executionContext.leaveNode();
  |             </script>
  |             <transition name="node2toJoin1" to="join1"></transition>
  |     </node>
  | 
  |     <join name="join1" async="true">
  |             <transition name="joinToEnd" 
to="end-state-success"></transition>
  |     </join>
  | 
  |     <end-state name="end-state-success">
  |             <description>process finished normally</description>
  |             <event type="node-enter">
  |                     <script name="script_endSuccess">
  |                             System.out.println("END-SUCCESS");
  |                     </script>
  |             </event>
  |     </end-state>
  | </process-definition>
  | 

thanks,
alex

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052207
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to