On Sat, Nov 21, 2009 at 12:48 AM, Enrico Bianco <[email protected]> wrote:
>
> Modifying a subprocess in a process definition won't affect the flow
> of a currently running process instance, right?

Hello,

modifying a subprocess definition in a process definition will not
affect the flow of a currently running process instance.

> The intent is to avoid having to rewrite/replace expressions in
> currently running process instances as much as possible because that
> would be incredibly difficult to pull off quickly and reliably in a
> production deployment. Different instances of the same process
> definition might be at different steps and need different changes,
> making it difficult to automate.
>
> I will spend some more time discussing with the stakeholders of my
> project what the nature and frequency of the changes to our processes
> might be and try to come to a reasonable solution but what I'm
> understanding here is that if we need to change the flow (not just the
> variables) of a process in-flight, then we have no choice but to
> dissect the instance and replace some of its expressions.

This is a difficult conversation (the one we have right now, not the
one you want to have with your stakeholders), we have to be sure to
speak the same language.

Subprocesses are essential for dynamic processes, as you yourself have
said in a previous mail.

A common pattern would be to have a high level process definition
triggering the relevant subprocesses. Which to trigger being decided
at runtime.

  subprocess :ref => "${f:next_subprocess}"

Process definitions that are too monolithic will indeed require
painful "migrations". Better to have small easy to cancel pieces in an
adaptable top loop (or kind of).

Another technique would be to have workflow that migrate themselves
according to the state of the resources they are in charge of.
Workflows for high-level orchestration, state-machines for resource
lifecycle. Starting a workflow would see it reach the appropriate step
according to the state of the resources it's supposed to orchestrate,
auto-migration somehow.
Sorry this is just an architectural (rococo) brain fart.

It depends, as always.


Kind regards,

-- 
John Mettraux   -   http://jmettraux.wordpress.com

-- 
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