Am 26.06.2013 13:21 schrieb "pascal weemaels" <[email protected]>:
>
> Thanks for the quick answer John.
>
> I was hoping the data that is in our history table was sufficient to
reconstruct a (part of the) final ProcessStatus.
>
> Now we are keeping processes alive just to benefit from the ProcessStatus
convenience. Works OK for now, but not sustainable.

The question does pop up on the list from time to time, and I have the
following work around solution in our app (ActiveRecord/Rails based). For
every launched workflow a (secondary) record is stored in the database with
the #original_tree and a ruote-observer is adding expid's (the 0_0_10_2_0_1
thingies) with the relevant workitems to this record. It is not as complete
as a ProcessStatus, but it allows for enough retrospect (in my case)

I have some toolbox methods that go with it off course, remember me to put
them in a gist tomorrow (Hangout or IRC)

Grtz,
Hartog

> ps. we just started using ruote and we are becoming huge fans quickly ;)
>
>
>
>
> On Wednesday, June 26, 2013 11:36:47 AM UTC+2, John Mettraux wrote:
>>
>>
>> On Wed, Jun 26, 2013 at 02:23:24AM -0700, pascal weemaels wrote:
>> >  Hello ruote-list,
>>
>> Hello Pascal,
>>
>> welcome to the ruote mailing list.
>>
>> > we are using Ruote::Dashboard.process(wfid), which gives a
ProcessStatus
>> > object, to get info on the running processes.
>> >
>> > is there a way to get a ProcessStatus also for terminated processes,
that
>> > are kept in a history storage?
>>
>> No, sorry, it's not possible. The expressions/errors/workitems of
terminated
>> processes are all gone, it's not possible to build a ProcessStatus out
of
>> nothing.
>>
>>
>> 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.
>
>

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