John,

Thanks for quick reply. For Q#3, I should be more specific that it is more 
than one rails engine. If there is only one ruote engine in the rails app, 
is it possible to run a workflow spanning over more than one rails engine? 
>From your answer to Q#1&2, the answer seems to be yes.

Thanks again.
-emclab

On Wednesday, June 19, 2013 12:56:06 PM UTC-5, John Mettraux wrote:
>
>
> On Wed, Jun 19, 2013 at 10:13:38AM -0700, emc_lab wrote: 
> > 
> > We plan to integrate ruote into our rails 3.2.12 engines. Our 3.2.12 
> rails 
> > app consists of multiple rails engines. There are a few questions we 
> have 
> > now: 
>
> Hello, 
>
> others will probably chime in. Here is my first take at answering. 
>
> Just to be clear: Rails engine != ruote engine. 
>
>
> > 1. Where to implement ruote? Can we add the ruote to each individual 
> engine 
> > which needs ruote? Or add the ruote to rails app and provide its 
> features 
> > to whichever engine who needs it. 
>
> I'd add a ruote dashboard singleton to the Rails app via an initializer. 
>
> I'd probably go for ruote workers outside of the Rails app, with the ruote 
> dashboard in the Rails app containing no ruote worker. 
>
>
> > 2. If implementing ruote in rails app level, can all the ruote engines 
> > share a single table for workitems? Or we have to create a unique table 
> for 
> > each and every ruote engine. 
>
> OK, the conversation switches from Rails engines to ruote engines. 
>
> I'd go for a single ruote engine for your Rails web application, with a 
> single db. 
>
> If you implement a participant that stores workitems in a table, you can 
> sure 
> have this participant use the same table whatever the engine. Please note 
> that the Ruote::StorageParticipant does not store workitems in a dedicated 
> workitem table, it stores them in the common ruote table (ruote-sequel). 
>
>
> > 3. Is it possible to implement a workflow spanning over more than one 
> > engines? I guess this is related to how and where ruote is added to the 
> > rails app (with rails engines). 
>
> No, it's not possible. A workflow instance is limited to one ruote engine. 
>
> It's OK for a workflow instance to launch other workflow instances in 
> different ruote engines. 
>
>
> Best regards, 
>
> -- 
> John Mettraux   -   http://lambda.io/jmettraux 
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to