[jboss-user] [jBPM] - Re: Guide to creating custom human task service

Adam Bach do-not-reply at jboss.com
Sun Jan 8 05:02:15 EST 2012

Adam Bach [http://community.jboss.org/people/heathcliff] created the discussion

"Re: Guide to creating custom human task service"

To view the discussion, visit: http://community.jboss.org/message/645221#645221

>From what I understand You have already working web UI for human tasks, so You should already have support for showing available actions like suspend/resume/finish etc... than You actualy dont need humantaskservice. You only need to put in your services 2 methods for starting and finishing human task, just implement humantaskhandler. Beside that get some human task state object to your model to save intermediate states between start and finish.

Adventages? You dont need to stick to presetted human task flow which You can't change. Every company and even every task has different stepps possible and not every body can be suttisfied with standard solution. 
You could even use simpler and yet possibly more powerfill option: use subprocesses instead of standard user tasks, those subprocesses could consist of different possible human task flows so you even dont have to implement complicated flow login int your code. Here human task implementation would be simply start/finish support. Flow would be taken care by designed process which is better for business ppl who could change that human task flow or create new ones when needed whithout help from technical ppl or even server restart. 

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120108/c49bb5d2/attachment.html 

More information about the jboss-user mailing list