Hi all,

I'm trying to reduce code duplication in our process definitions, and
in doing so have run into a few problems.  I'd like to be able to
create a process that, at any time, can be rewound back to any given
participant.

If I don't have any subprocess participants, handling the rewinding is
trivial, and just requires placing a cursor around all the
participants.  However, if I have a subprocess, I seem to either have
to let the subprocess finish before rewinding, or add a cursor to the
subprocess as well, which allows me to end it immediately, but then I
can't get the __cursor_command__ attribute up to the main process's
cursor because it is consumed in the subprocess.

Is there a way to do this that I'm missing, or do subprocesses and
cursor commands not play well enough together for this to be possible?

I hoped to work around subprocesses utilizing the Ruby process
definition and mixins to construct a single process definition with no
subprocesses, but since require is disallowed in process definitions,
that was a no-go.

Thanks for any help!
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to