Thanks John. That's very helpful. Iuri.
On Mar 4, 11:26 pm, John Mettraux <[email protected]> wrote: > > On Mar 4, 12:08 pm, "Iuri G." <[email protected]> wrote: > > > > I was wondering if there is a way to find workitems by sid? > > > > in ruote 2.11 I used storage_participant.by_wfid(sid) and it would > > > always return a workitem. But in 2.2 it is not the case anymore. I > > > ended up using storage_participant.query(:wfid=>sid) but was wondering > > > if there was a dedicated method for finding participants by sid.. > > On Fri, Mar 04, 2011 at 10:53:40AM -0800, Eric wrote: > > > To clarify Iuri is using ruote-sequel... :) > > Hello Iuri, > > please use : > > engine.storage_participant[sid] > > it's quite flexible : > > https://github.com/jmettraux/ruote/blob/12c00ae22aeb2280c1a86a20084f5... > > I've made sure to add some rdoc for it : > > https://github.com/jmettraux/ruote/commit/12c00ae22aeb2280c1a86a20084... > > Also aliased [] to by_fei for you : > > https://github.com/jmettraux/ruote/commit/53d91daeb726642376c61626fe1... > > 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
