On Thu, Oct 15, 2009 at 1:05 AM, Enrico Bianco <[email protected]> wrote: > > I'm working with ruote 0.9 and I want to loop through all of the > current processes in the engine, selecting processes with a particular > wfname and with a particular value for a process-level variable. > > The first part seems easy enough but I haven't been able to figure out > how I can look up a process-level variable from its associated > ProcessStatus. Am I missing something?
Hello Enrico, The ProcessStatus class has a #variables method which should hold exactly that. http://github.com/jmettraux/ruote/blob/master/lib/openwfe/engine/status_methods.rb#L75-79 I hope this will help, cheers ! -- 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 -~----------~----~----~----~------~----~------~--~---
