Hi Bartlomiej, 2007/4/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > hi, > > I'm going to use OpenWFE's REST interface in my client application. is > there a convenient way to accomplish such task as launching a flow and > then retrieve its result over REST? from what I've managed to discover > there are methods to acquire the workitem, but I'd have to acquire it > in specific moment, i.e. before the flow terminates. or perhaps I > should make my custom participant, the last one in a flow, send some > kind of result to my client web application? I guess the application'd > have to be written with AJAX, but I'm not sure of that. > > in other words - how to make best either workflow engine itself, or a > custom participant reply to the web client application that launched > the workflow?
OpenWFE being a workflow engine, asynchronicity is a must. > ps. or perhaps this scenario would be easier to implement using RMI, > e.g. some engine methods are synchronous and do not return control > until their execution is completed? use of REST interface is not a > must in my app, it'd be a preferred solution, but if there's no nice > way to do this, the use of RMI will do as well. Generally someone/something launches a processes and then other (people/things) are involved. Seems like yes, you have to implement some polling, with REST or RMI. Don't forget to take a look at http://openwferu.rubyforge.org Best regards, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFE 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/openwfe-users?hl=en -~----------~----~----~----~------~----~------~--~---
