2 Replies Latest reply on Jun 9, 2008 1:57 AM by betul aydin

    subprocess problem

    betul aydin Newbie

      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?