[jboss-user] [JBoss jBPM] - subprocess problem

btl_ayd do-not-reply at jboss.com
Sun Jun 8 14:30:58 EDT 2008


Hi I want make a process invoke subprocess
here is my parent process xml:
<?xml version="1.0" encoding="UTF-8"?>

<process-definition
  xmlns="urn:jbpm.org:jpdl-3.2"  name="den_2">
   <assignment actor-id="user" pooled-actors="user">
   <start-state name="start">
      
   </start-state>
   <task-node name="task1">
      
         
            
         
      
      
   </task-node>
   <end-state name="end1"></end-state>
   <process-state name="process1">
  <sub-process name="sub"/>
      
   </process-state>
</process-definition>
and here is my subprocess xml:
<process-definition
  xmlns="urn:jbpm.org:jpdl-3.2"  name="sub">
   <start-state name="start">
      
         
            
         
      
      
   </start-state>
   <task-node name="task1">
      
         
            
         
      
      
   </task-node>
   <end-state name="end1"></end-state>
</process-definition>
first ı deployed subprocess and secand parent process.When I execute parent process o jboss server this error has been occured:
Error starting process: An exception of type "org.jbpm.JbpmException" was thrown. The message is: can't create a process instance when processDefinition is null  what is problem can anybody help me?




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

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




More information about the jboss-user mailing list