Hi
Thanks for your guidance.
As I am coming nearer I have few more questions.
Related to Manipulating work flow using DB
*1,* In sub work flow I have a condition. If the user input is true the
control should go to the parent work flow. For that should I end the node
there? Or leave it as out node. ( ref:: node 5)
Eg.
<node id="3" type="ExclusiveChoice">
<condition type="Variable" name="SubTeamLeaderApprove">
<condition type="IsFalse"/>
<outNode id="4"/>
</condition>
<condition type="Variable" name="SubTeamLeaderApprove">
<condition type="IsTrue"/>
<outNode id="5"/>
</condition>
</node>
<node id="4" type="End"/>
</workflow>
*2 ,* If we are manipulating workflow using db .will the control go back
to the parent workflow automatically, or Do we have to redirect to parent
work flow using any functions.
*3,* My logic of workflow . I am checking whether the team leader is
present for the day .If the condition is true the work flow is going nicely
to for the project manager
But if he is not available it is going subwork flow when sub leader is
approves it goes to the parent work flow .Till now the work flow is
perfectly working . When subworkflow resumes I get an error message like
this
Fatal error: Uncaught exception 'ezcWorkflowExecutionException' with message
'Node activates less conditional outgoing nodes than required.' in
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node_conditional_branch.php:145
Stack trace: #0
D:\xampp\htdocs\ezc\Workflow\src\interfaces\execution.php(446):
ezcWorkflowNodeConditionalBranch->execute(Object(ezcWorkflowDatabaseExecution))
#1 D:\xampp\htdocs\ezc\Workflow\src\interfaces\execution.php(360):
ezcWorkflowExecution->execute() #2
D:\xampp\htdocs\ezc\Workflow\docs\tlApprove.php(50):
ezcWorkflowExecution->resume(Array) #3 {main} thrown in
D:\xampp\htdocs\ezc\Workflow\src\interfaces\node_conditional_branch.php on
line 145
Also it is not going back to the parent work flow
If this issue is solve I may be able to complete my project
Waiting eagerly for the reply. If I find any difficulty in understanding my
issues please feel free to tell .I m ending lot of time and effort to make
it working
Thanks
surej
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components