Got it, thanks!

On Jul 11, 11:04 am, "John Mettraux" <[EMAIL PROTECTED]> wrote:
> On 7/11/07, Matt Zukowski <[EMAIL PROTECTED]> wrote:
>
>
>
> > Okay cool that clears it up a bit.
>
> > Now, after I launch a workflow, the engine begins executing the
> > process, and I get a WorkflowExpressionId (fei). Lets say later on I
> > want to get some information about that running workflow. I know that
> > the Engine has get_process_status and get_process_stack methods, but
> > these take a workflow instance id. How do I get a wfid out of a fei...
> > parent_workflow_instance_id? I guess I'm not sure if I fully
> > understand the concept behind the fei, or the  difference between a
> > fei and a wfid.
>
> Hi Matt,
>
> you can do
>
>     wfid = fei.wfid
>     wfid = fei.workflow_instance_id
>
> It's explained athttp://openwferu.rubyforge.org/padmin.html(in the
> first code block IIRC).
>
> A process instance is made up of expression instances. Process
> instances are identified with a "workflow instance id" (wfid),
> expression instances are identified with a "flow expression id" (fei).
> As expressions belong to processes, fei instances do contain the wfid.
>
> get_process_status and get_process_stack should accept fei as a param
> directly, as a convenience, but usually you can write :
>
>     s = engine.get_process_status fei.wfid
>
> Hope this helps, best regards,
>
> --
> John Mettraux   -///-  http://jmettraux.openwfe.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to