Hi --

I've been working on a application that uses the workflow component.
I've found that certain paths through my workflow will result in an 
exception:
'ezcWorkflowExecutionException' with message 'There is no thread with id 
#0, similar to the following bug report:

http://issues.ez.no/IssueView.php?Id=14190

I was wondering if I could get more detail on what is 'wrong' about how 
the original developer was using the workflow component (from the comments).

My workflow also involves a kind of multi-stage approval process, 
summarized in pseudoXML (this is only a part of the entire workflow, so 
I won't attach the whole thing here), it goes like this :

node 1 start
     outnode 3

node 2 end

node 3 simplemerge
     outnode 4

node 4 input //customer input node
     outnode 5

node 5 input //sales input node sets sales_approved
     outnode 6

node 6 ExclusiveChoice
     if sales_approved==true
         outnode 7
     else
outnode 9

node 7 input //engineering input node sets eng_approved
     outnode 6

node 8 ExclusiveChoice
     if eng_approved==true
         outnode 2
     else
outnode 9

node 9 simplemerge
     outnode 10

node 10 action //notify customer, etc
     outnode 3



Hopefully that makes sense. If I set 'sales_approved' in node 5 to 
false, I will get the exception thrown in node 3.
However, if I set 'eng_approved' in node 8 to false instead, the 
exception will not get thrown, and I will end up in node 4 just as I 
would expect.

Any help would be much appreciated. It could be possible to restructure 
things using the 'loop' node as on the bug report, but I would first 
like to understand what is causing the problem.

Thanks,
Martin

-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to