On 10/2/07, Maarten <[EMAIL PROTECTED]> wrote:
>
> Thanks again for you prompt reply.

Hi Maarten, hi Pat,

nice discussion thread.

Just wanted to introduce a concept. In fact, each time a participant
is called, the ParticipantExpression doing the call keeps a copy of
the outgoing workitem.

So if you have the "flow expression id" of the workitem coming back
(there are methods like from_s() and to_s() in
http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/FlowExpressionId.html
that help) you can write code that goes like :

    workitem = get_expression_pool.fetch_expression(fei).applied_workitem

in your participant or your listener.

So that you don't need to write logic / borrow further logic for
storing the workitem (the engine / the participant expression already
did it for you).

I hope this helps.


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to