Parallel activities, loops and process termination

View: New views
2 Messages — Rating Filter:   Alert me  

Parallel activities, loops and process termination

by DS-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have a small problem - my process splits and merges again. However while
split, due to some events, I need to stop/terminate/finish the process
prematurely. For example, here is connectivity matrix:
0 A B C D <- 'to' activity
A 0 1 1 0
B 0 0 0 1
C 0 0 0 1
D 0 0 0 0
(A->B,C->D), type of join at D is AND (B,C must be finished before D is
created).
So what I need to achive is that if B or C are completed with an error, the
process should be finished.
I tried to connect B and C to E, with conditional link and error check so that
E is connected to finish. However currently if error condition is triggered and
E is created and completed (E's performer is the system with auto start and
finish), the process for some reason is not terminated. Why? What do I do
wrong?

Thank you,

DS


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Parallel activities, loops and process termination

by Sasa Bojanic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

If I understood correctly, B and C stayed connected to D, and they both
got conditional check to E so if there was an error after executing B or
C, E is always triggered.
The problem is that process is not finished until all of its activities
are finished...and after e.g. activity B completed with an error...E was
executed and finished...activity C was still active and thus process
didn't finish. Even if you complete activity C afterwards (without
error)...it goes to D and process waits until there is another
transition (from B) merged to D...which will never happen...and process
will hang.

What you probably need is to terminate process if either activity B or C
goes with error check transition to E to terminate the process. This can
be implemented by tool agent in activity E which would terminate
activity B/C (or maybe even the whole process...but this one I'm not
sure how will it behave since you are "cutting the branch where you are
sitting at").

Regards,
Sasa.

DS wrote:

> Hello,
>
> I have a small problem - my process splits and merges again. However while
> split, due to some events, I need to stop/terminate/finish the process
> prematurely. For example, here is connectivity matrix:
> 0 A B C D <- 'to' activity
> A 0 1 1 0
> B 0 0 0 1
> C 0 0 0 1
> D 0 0 0 0
> (A->B,C->D), type of join at D is AND (B,C must be finished before D is
> created).
> So what I need to achive is that if B or C are completed with an error, the
> process should be finished.
> I tried to connect B and C to E, with conditional link and error check so that
> E is connected to finish. However currently if error condition is triggered and
> E is created and completed (E's performer is the system with auto start and
> finish), the process for some reason is not terminated. Why? What do I do
> wrong?
>
> Thank you,
>
> DS
>  


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws