HI.john do you mean the method applied_workitems in class ProcessStatus?
thanks for your hard work ---------- Forwarded message ---------- From: John Mettraux <jmettr...@openwfe.org> Date: 2009/9/11 Subject: [ruote:1718] Re: how to sort the history when save workitem use activerecord To: openwferu-users@googlegroups.com On Fri, Sep 11, 2009 at 11:45 PM, Neo <neocana...@gmail.com> wrote: > > so i want to look the history of one subprocess has property "ref",is > ruote can do this job? > there is only a wfid in database! Hello Neo, sorry but the history as currently implemented only stores the "parent wfid" in the wfid column. If you want to display the history of a specific subprocess, you have to get the whole history of the process instance and then filter out only the records of the subprocess instance by yourself. This is not a big work though. A more direct way of doing this would be to select where fei like "% #{subprocess_wfid} %". This would be more efficient. 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 openwferu-users@googlegroups.com to unsubscribe : send email to openwferu-users+unsubscr...@googlegroups.com more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---