[Bpmscript-users] Human interaction and futures
Status: Beta
Brought to you by:
dkfn
From: Artti <ar...@am...> - 2006-08-16 10:17:11
|
Hi, I was just thinking; now that we can call other services asynchronously via futures: var future = sender.send("http://servicemix.org/components", "echo", true, input.getInMessage().getContent()); // ... do something while waiting var exchange = future.get(); It would be really nice to be able to do the same thing with human tasks: var taskRequest = taskService.taskRequest("How do you feel about BpmScript?"); taskRequest.response("rocks", "Rocks!"); taskRequest.setRole("ANONYMOUS"); var future = taskService.request(taskRequest); <-- // ... do something while waiting var result = future.get(); At least if you need to collect hundreds of responses, you don't want to do that sequentially :-) -- View this message in context: http://www.nabble.com/Human-interaction-and-futures-tf2114424.html#a5829877 Sent from the BpmScript - Users forum at Nabble.com. |