Chris Melas [
http://community.jboss.org/people/melc] created the discussion
"Re: How add a form to human task"
To view the discussion, visit:
http://community.jboss.org/message/606050#606050
--------------------------------------------------------------
Hello,
Indeed the port is in use try running netstat from console/command line to see the ports
that are occupied etc. (Make sure that you are not running the task service via ant
start.demo etc at the same time) . If you can't solve this just restart your machine
:)
The idea of the example is that it shows how to see the available tasks through api and
how to claim a task etc.... so once you have that you can create your ui with the api that
claims a task and then shows a form with something, then that gui would have a button
calling complete task if the task is completed and so on. If you would like to access the
human task parameters i.e. content and actorid etc specified in eclipse then you can do
that through the api. So imagine a case where you could do the following,
1. a web page with a table (or a swing table or whatever) that displayes all tasks as
retrieved from api
2. a button to claim the task based on your credentials as retrieved by your web page
3. call your own web form/web screen based on the task name (this is your own custom
implementation, the task name will be on your web page table as retrieved via the api when
you retrieved the tasks for this user's credentials etc) and use parameters passed via
the content parameter of the human task node in eclipse etc All this info is available to
you via the jbpm5 api
4. have a button on your web form/web screen that completes the task by calling the api
Well that's the general idea.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606050#606050]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]