On Wed, May 6, 2009 at 10:32 PM, John Mettraux <[email protected]> wrote:
>
> 2)
>
> you can re-apply the expression. This isn't yet packaged in ruote-rest
> and ruote-web2 (nor ruote-kit). Programmatically, it looks like :
>
> ---8<---
> expression = engine.process_status(wfid).expressions.last # assuming
> the participant expression is the last one
> wi = expression.applied_workitem
> wi.attributes['__reapplied__'] = true # as discussed on IRC
> engine.apply(wi)
> --->8---
>
> my tasks :
>
>  http://rubyforge.org/tracker/index.php?func=detail&aid=25799&group_id=2609&atid=10195
>  http://rubyforge.org/tracker/index.php?func=detail&aid=25800&group_id=2609&atid=10195

OK,

engine.reapply() is in :

  
http://github.com/jmettraux/ruote/commit/8ab020f2e929d5a38819e1460f860007c6d75f43
  
http://github.com/jmettraux/ruote-rest/commit/a07de21b220c8ddd5e8b71064751bc4c23b58af3

> 3)
>
> I will explore the "re-apply on restart" idea discussed on IRC
> (transcript attached)
>
> my task :
>
>  http://rubyforge.org/tracker/index.php?func=detail&aid=25801&group_id=2609&atid=10195

Still pondering this one, have to think about "re-apply loops".


Best 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