Hi,
I can't precede single step since last Friday.

How can I get an out node value in parent work flow from a sub work
flow after it is executed. I am really struck. If u can't understand
me please feel free to reply.
Hi,

I can't proceed single step since last Friday.

How can I get an out node value in parent work flow from a sub work
flow after it is executed. I am really struck. If u can't understand
me please feel free to reply.

I am sending a part of my code where I have used the sub work flow.


   <!-- starting sub work flow -->
   <node id="5" type="SubWorkflow" subWorkflowName="OnLeave">

       <outNode id="9"/>
   </node>


<node id="9" type="Input">
   <!-- project manager approve -->
       <variable name="projectManagerApprove">
           <condition type="IsBool" />
       </variable>

       <outNode id="10" />
   </node>

   <node id="10" type="ExclusiveChoice">
       <condition type="Variable" name="projectManagerApprove">
            <condition type="IsFalse"/>
            <outNode id="11"/>
        </condition>
       <condition type="Variable" name="projectManagerApprove">
             <condition type="IsTrue"/>
             <outNode id="12"/>
        </condition>
   </node>

   Actually
How will I return a value from a  sub work  flow to a parent work flow

when   tried to save I got an error like this..

Fatal error: Uncaught exception 'ezcWorkflowInvalidWorkflowException'
with message 'Node has more incoming nodes than allowed.' in
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php:465 Stack trace:
#0 D:\xampp\htdocs\ezc\Workflow\src\visitors\verification.php(86):
ezcWorkflowNode->verify() #1
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php(492):
ezcWorkflowVisitorVerification->visit(Object(ezcWorkflowNodeInput)) #2
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php(496):
ezcWorkflowNode->accept(Object(ezcWorkflowVisitorVerification)) #3
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php(496):
ezcWorkflowNode->accept(Object(ezcWorkflowVisitorVerification)) #4
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php(496):
ezcWorkflowNode->accept(Object(ezcWorkflowVisitorVerification)) #5
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php(496):
ezcWorkflowNode->accept(Object(ezcWorkflowVisitorVerification)) #6
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php(496):
ezcWorkflowNode->accept(Object(ezcWorkflowVisit in
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node.php on line 465

Please have a look on my work flow and tell me where i did wrong.

Please do reply

Thanks


surej
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to