Hi Balazs,

On 7/21/06, Balazs E. Pataki <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a way to define and recieve notifications when dispatch of a
> workitem to a participant happens?
>
> I normally have participants that dispatch workitems to the worklist
> using openwfe.org.engine.impl.dispatch.SocketDispatcher. What I would
> like to have is that before and/or after this dispatch a REST call or a
> web service invocation (or any other HTTP based call) to happen.
>
> I consider my participants in the workflow definition as steps or
> states. I would like to find a mechanism to inform my application, which
> uses the workflow that a step/state change will happen/did happen.
>
> Is there already a solution for this? Or should I implement a custom
> displatcher with such a notification mechanism?

You could maybe use a composite participant. There's an example of it
in the etc/engine/participant-map2.xml that comes with OpenWFE.

Isn't the fact of emitting a workitem towards your participants
already some kind of notification to your application ? Maybe the idea
would be to turn that the other way : your participant implementation
could receive the workitem and notify other parts of the application.


Best regards,

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to