On 7/24/07, Matt Zukowski <[EMAIL PROTECTED]> wrote:
>
> P.S. So i had a quick look at that WAPI spec, and it looks like
> workitems are referred to using a process ID ('wfid' for OpenWFE), and
> a workitem id, for which there doesn't seem to be a corresponding
> concept in OpenWFE.
>
> So why is there no way to directly refer to a in-flow work item in
> OpenWFE? It seems to me like this would be useful...

What's the use case for it ?

> I send some data
> payload into the process, and later on I want to know where that
> payload is, what it's doing, etc. based on some payload-identifier
> (i.e. workitem identifier). From what I understand, right now I can
> only refer to the workitem indirectly by knowing a the workflow
> instance id and a participant name where the item might be sitting.
> And the process for doing this is *really* indirect... something like:
>
> - get ProcessStatus of some running workflow using wfid
> - get list of expressions from process status
> - get fei(s) from these expressions
> - somehow knowing the list of participants in the workflow, check each
> participant using the fei to see if the workitem is there....
> - then finally get workitem from participant
>
> Oh man. I must be missing something here?

What happens in case of concurrence ? There will be at least two
workitems, how would you know in advance the workitem id you are
interested in ? Especially if the number of parallel sequences in the
concurrence is determined at the moment the process engine evaluates
the concurrence expression.

The use case is usually "are there tasks (workitems) waiting for
Participant A ?". The other use case might be "participant X is in
fact a call to service Y".

What are your use cases ?


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