|
From: Paolo B. <p.b...@ic...> - 2003-01-29 07:32:53
|
Hi Adrian,
basically, you have to model the timeout as a separate activity.
Suppose you want to build a timeout on the activity A. Your workflow is
something like:
S -> A -> E.
You have to:
- add an "and" split among S and A;
- add two activities, T1 and T2, on the other branch of the and split;
- add a "xor" and among A, T2 and E.
- add an activity T3.
The resulting flow is the following:
S
and
A T1
T2
xor
T3
E
T1 is an application activity, that adds an entry in the cron daemon, with the
required timeout.
T2 is a manual activity, which is invoked using something like the ZClient by
the Cron, on the end of the timeout.
T3 is the activity that, if the timeout has not expired, provide to remove the
entry from the Cron.
This is not the possibly best solution, as OpenFlow currently lacks a good
support for time-driven event (here is another item for our todo list).
Best regards.
Paolo
On Wednesday 29 January 2003 04:09, Adrian van den Dries wrote:
> How do you model timeouts on an activity?
>
> a.
--
Paolo Bizzarri - President - Icube S.r.l.
Address: Via Ridolfi 15 - 56124 Pisa (PI), Italy
E-mail: p.b...@ic... Web: http://www.icube.it
Phone: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
|