I've been looking into this as well, and I think I may have found the
problem.

It seems as though a parallel split creates two threads of execution,
which later expect to be merged into one thread via a synchronization.
It appears that the exclusive choice messes this up because it creates a
new thread (unless ezcWorkflowNodeBranch::startNewThreadForBranch is set
to false). Then the synchronization ignores the newly created thread
while it continues to wait for the other two.

Does that sound plausible?  Is that intended behavior? It sounds like to
solve this problem I'll need to make a subclass of
ezcWorkflowExclusiveChoice for this special case of (ParallelSplit +
Exclusive Choice) that sets $startNewThreadForBranch to false. When I
just hacked in a false value, the workflow completed as intended.

It seems like the Synchronization should be able to dynamically merge
all threads, not just those that were the result of the initial
branching (in this case the parallel split).

How does that sound? Am I way off?

Thanks,
Tommy Montgomery

-----Original Message-----
From: Sebastian Bergmann [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 15, 2008 3:08 PM
To: Montgomery, Thomas
Subject: Re: [Components] Workflow - Synchronizing Merge Issue

Montgomery, Thomas wrote:
> Any help is appreciated.

 Sorry for not getting back to you earlier. I will look into this issue
 next week. Unfortunately, I will probably not have time before that to
 look into this issue.

 Best regards,
Sebastian

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B
5D69


IMPORTANT NOTICE: This e-mail message is intended to be received only by 
persons entitled to receive the confidential information it may contain. E-mail 
messages sent from Bridgepoint Education, Inc. may contain information that is 
confidential and may be legally privileged. Please do not read, copy, forward 
or store this message unless you are an intended recipient of it. If you 
received this transmission in error, please notify the sender by reply e-mail 
and delete the message and any attachments.
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to