[jboss-user] [jBPM] - Re: Map between task to form

Kris Verlaenen do-not-reply at jboss.com
Wed Jan 5 20:33:51 EST 2011


Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion

"Re: Map between task to form"

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

--------------------------------------------------------------
By default, the jbpm-console will be looking for task forms (freemarker templates as described in the documentation) for all the tasks that need to be executed.  This task UI then simply calls the human task service with the necessary data whenever the user completes a task etc.

If you don't want to use this approach but want to provide your own task forms using a different technology, you can always simply create your own UI that calls the necessary human task service methods whenever appropriate.  If you're happy with the jbpm-console but only want to extend the task form solution, that is also possible but will require a deep dive and quite some technical skills.  I suggest you try to catch me on irc to discuss this if you think this is the best approach.

Not sure what you mean with a Java class having to handle a human task.  A human task represents a task that needs to be executed by a human.  If you want to specify an automatic task, you should probably use a service tasks aka work item node.  If you simply want to have your own java code handle human tasks instead of our human task service, you can simply create your own work item handler (java class) and register that for the "Human Task".

Kris
--------------------------------------------------------------

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

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/20110105/994e050e/attachment-0001.html 


More information about the jboss-user mailing list