Newbie Question - Invoking one process from another process definition

3 views
Skip to first unread message

maku...@gmail.com

unread,
Mar 28, 2009, 6:39:46 AM3/28/09
to Ruote (OpenWFEru) users
Hi,

We have multiple processes defined using Ruote. It has become
important to modularize and reuse some of the process definitions.
Can you please guide us in organizing processes so that we can call a
process from another ?

-Thanks and Regards
Makarand

John Mettraux

unread,
Mar 28, 2009, 8:46:43 AM3/28/09
to openwfe...@googlegroups.com
On Sat, Mar 28, 2009 at 7:39 PM, maku...@gmail.com
<maku...@gmail.com> wrote:
>
> We have multiple processes defined using Ruote. It has become
> important to modularize and reuse some of the process definitions.
> Can you please guide us in organizing processes so that we can call a
> process from another ?

Hi Makarand,

the easiest way to call a process from another is to use the
subprocess expression :

http://openwferu.rubyforge.org/expressions.html#exp_subprocess

calling a subprocess via a URI :

subprocess :ref => "http://company.process.server/defs/defXYZ.xml"

or simply via its file path :

subprocess :ref => '/home/wfengine/processes/invoicing.rb'


Best regards,

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

Reply all
Reply to author
Forward
0 new messages