[jboss-user] [jBPM Users] - Custom task in jbpm 4.1?

Josh86 do-not-reply at jboss.com
Sat Sep 5 07:33:20 EDT 2009

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,

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253717#4253717

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253717

More information about the jboss-user mailing list