[jboss-user] [jBPM] - Re: Understanding Human Task call

Mauricio Salatino do-not-reply at jboss.com
Mon Jan 17 11:54:26 EST 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: Understanding Human Task call"

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

--------------------------------------------------------------
Hmm.. you sound confused.. 
When you model a BPMN2 process with an User Task, the xml generated creates a tag with an attribute containing the "Human Task" id. This id is used to bind a service that will be in charge of handling the life cycle of a human task (with the line of code that I pasted before). The reason why you need to start the TaskServer by hand is because it's an independant service that you can change if you want and provide a different implementations that suits your needs.
You last sentence ("I found that there are start and complete for human task . When shall I use them?") mention the TaskClient that is in charge of interacting with human tasks that are already created by your process in the Task Server. Using the client you can Start a task (meaning that you will start working on the task) and complete a task (meaning that you end the task).
The interaction between these components can be is described in the following image:
 http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html/images/Chapter-HumanTasks/component-distribution.png http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html/images/Chapter-HumanTasks/component-distribution.png
Try reading the following chapter of the Drools Flow documentation for more information:
 http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html/ch.Human_Tasks.html http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html/ch.Human_Tasks.html

Greetings.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/581299#581299]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


More information about the jboss-user mailing list