Discussion:
[jboss-user] [jBPM] - How to add variables in the User Task Form ?
Mylos Kathos
2013-04-22 10:28:08 UTC
Permalink
Mylos Kathos [https://community.jboss.org/people/mylos78] created the discussion

"How to add variables in the User Task Form ?"

To view the discussion, visit: https://community.jboss.org/message/809525#809525

--------------------------------------------------------------
Hi all! I'm trying to figure out how to add a simple form to my first process designed with the Web editor.
I've created a simple process with an User Task and added three DataInputSet variables. Now I'd like to fill these variables through a form.
If I use the Generate Form template, a blank for is created for my task. Do I have to enter the User form parameters in the HTML manually ? is there a way to propagate the DataInputSet variables in the Form ?
Thanks
Mylos
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Sergey Kornilov
2013-04-26 14:12:05 UTC
Permalink
Sergey Kornilov [https://community.jboss.org/people/kornilovs] created the discussion

"Re: How to add variables in the User Task Form ?"

To view the discussion, visit: https://community.jboss.org/message/810574#810574

--------------------------------------------------------------
for out some data from form you must add it to DataOutputSet.
If you use jbpm5.4  click on
Loading Image... Loading Image...
there is HTML-editor with some templates for  make easy form.
use Ctrl-Z for add defined variables.
For input variable something like this:  <label> ${some_input_var}</label>
For output variables <input type="text" name="some_output_var">
--------------------------------------------------------------

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

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