You can get at the task service just like and other in process object.
You might even expose it via some sort of rpc. Either way there's
nothing stopping you from querying for tasks and completing tasks in a
remote resource like a swing ui or something. I use it to orchestrate
grid activity - ie , a number of nodes performing image and video
transformation query for jobs, as they're conditioned for that kind of
work. Other nodes query for tasks like sending emails or generating
keys, etc. Thus, work for a single process may visit 10 nodes,
sometimes in parallel!
Thanks,
Josh
Envoyé de mon iPhone
Le Sep 5, 2009 à 4:33 AM, Josh86 <do-not-reply(a)jboss.com> a écrit :
Hi,
i am not so familiar with jbpm, and especially with jbpm 4. i have a
question regarding custom tasks in jbpm 4.1.
my problem is that before a task shoud be completed
(taskService.completeTask ... ), another action should be done. For
example a user task is signing a document, thus in this case a
signature must be generated by user's private key and has to be
saved in an external database, but this is out of scope of jbpm. But
the thing is, before completion this taks, the signature must be
saved. first idea was to to inherit from TaskImpl class and to
override the complete method, but i think this would not work,
because i cannot create my own Task Object and pass it to the jbpm
api. But is there any good solution, which matchs the jbpm
architecture and is a good object oriented design?
Thanks for your answers,
Josh
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253717#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...
_______________________________________________
jbpm-users mailing list
jbpm-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-users