hi john

i wrote it like this

expression = RuotePlugin.ruote_engine.get_expool.fetch_root(one_wfid)

def get_histoy(expression,workflow_instances = [])
    current_fei = expression.fei
    workflow_instacnes << current_fei.workflow_instance_id

    if current_fei.workflow_definition_name == "some_definition"
        return workflow_instances.uniq
  else
        get_histoy(expression.get_parent,workflow_instances)
  end
end

>Your english is very difficult to understand.
i'm so sorry


2009/9/12 John Mettraux <jmettr...@openwfe.org>

>
> 2009/9/12 Neo <neocana...@gmail.com>:
> >
> > do you mean the method applied_workitems in class ProcessStatus?
>
> OK,
>
> I'm sorry, I misread your question.
>
> > how to sort the history when save workitem use activerecord
>
> to which "history" are you referring ?
>
> Your english is very difficult to understand.
>
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to