JBoss Community

Setting process variables

created by new -user in jBPM - View the full discussion

Hi,

I have created a simple process workflow and template files for it. (hello.ftl & helloTask.ftl) The first template has the below statement :

Enter some value <input type="text" width="200" name="abcvariable" />

and helloTask.ftl template prints the entered value like below :

Youentered : ${abcvariable}<br>

 

When I start the process I enter some data in that text box. Nex if I try to open the task list I get below exception :

 

"freemarker.core.InvalidReferenceException: Expression abcvariable is undefined on line 10, column 13 in HelloTask"

 

I dont want to add the parameters in the code file using hashmap. Since the control name becomes as process variable it should print the value isn' it?

I am trying to avoid eclipse here and do everything in webconsole.

Reply to this message by going to Community

Start a new discussion in jBPM at Community