Hi again,

Sorry for the delay :/

I eventually decided to start the 2nd workflow once the "parent" workflow 
finishes its execution.
As I understand it would be best if I do this using a ProcessObserver.

Is there a way to specify a ProcessObserver instance instead of class since 
i'd like to be able to interact with that instance for verifying my 
workflows are successfully executed?
Perhaps there's some other best practice for achieving this?

Thanks,
Idan


On Monday, October 21, 2013 11:55:53 AM UTC+3, John Mettraux wrote:
>
>
> On Mon, Oct 21, 2013 at 01:42:06AM -0700, Idan Moyal wrote: 
> > 
> > What would happen to the sub process if the parent workflow ends? 
>
> The sub process should go on. 
>
> > and what if calling dashboard.wait_for with the wfid? 
>
> wait_for will return when the parent workflow terminates. 
>
> But please remember that Dashboard#wait_for is for testing environments, 
> not 
> production ones. If you have more that one worker, wait_for in worker 1 
> doesn't see actions processed in worker 2. 
>
> > Would that be enough to achieve what I'm looking for? running a workflow 
> > regardless of whether the parent workflow ends (it would probably end 
> > before the sub process) and i'd like to know when the parent process 
> ends 
> > successfully 
> > and keep the sub process running... 
>
> Sounds like a real, independent process, might be better. You can pass it 
> the 
> parent wfid when launching it (in a dedicated participant) so that the new 
> process may query the state of the parent process via the dashboard. 
>
> > Perhaps launching the workflow from a participant is more suitable for 
> that 
> > case? 
>
> Maybe you could rephrase the question at a higher level (business case > 
> ruote implementation case). 
>
>
> Best regards, 
>
> John 
>
>

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