1 Reply Latest reply on Apr 26, 2013 10:11 AM by kornilovs

    How to add variables in the User Task Form ?

    mylos78

      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

        • 1. Re: How to add variables in the User Task Form ?
          kornilovs

          for out some data from form you must add it to DataOutputSet.

          If you use jbpm5.4  click on

          for answer.png

          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">