Hi.<br>I&#39;m using the gwt-console and trying to set a parameter mapping to send some variables from the process to a task.<br>First, the variables are setted in the process like:<br>&lt;header&gt;<br>    &lt;variables&gt;<br>

      &lt;variable name=&quot;myVariableA&quot; &gt;<br>        &lt;type name=&quot;org.drools.process.core.datatype.impl.type.ObjectDataType&quot; className=&quot;String&quot; /&gt;<br>      &lt;/variable&gt;<br>      &lt;variable name=&quot;myVariableB&quot; &gt;<br>

        &lt;type name=&quot;org.drools.process.core.datatype.impl.type.ObjectDataType&quot; className=&quot;String&quot; /&gt;<br>      &lt;/variable&gt;<br>    &lt;/variables&gt;<br>  &lt;/header&gt;<br>The parameter mapping is:<br>

&lt;humanTask id=&quot;3&quot; name=&quot;Revisar Solicitud&quot; x=&quot;119&quot; y=&quot;143&quot; width=&quot;162&quot; height=&quot;48&quot; &gt;<br>      &lt;work name=&quot;Human Task&quot; &gt;<br>       ...<br>      &lt;/work&gt;<br>

      &lt;mapping type=&quot;in&quot; from=&quot;myVariableA&quot; to=&quot;myVariableA&quot; /&gt;<br>      &lt;mapping type=&quot;in&quot; from=&quot;myVariableB&quot; to=&quot;myVariableB&quot; /&gt;<br>    &lt;/humanTask&gt;<br clear="all">

Then I have a ftl file for the task form like:<br>&lt;html&gt;<br>...<br>&lt;body&gt;<br>A value: ${myVariableA}&lt;/br&gt;<br>Another value: ${myVariableB}&lt;/br&gt;<br>...<br>&lt;/body&gt;<br>&lt;/html&gt;<br><br>With this code, when I select a task and click &quot;View&quot;, I get the following exception:<br>
---------------------------------------------------------------------------------------------------------------------------------------------------------<br>org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Failed to process form template<br>
    org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)<br>    org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)<br>    org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)<br>
    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)<br>    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)<br>    org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)<br>
    org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)<br>    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>    org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)<br>
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>causa raíz<br><br>java.lang.RuntimeException: Failed to process form template<br>    org.drools.integration.console.forms.AbstractFormDispatcher.processTemplate(AbstractFormDispatcher.java:104)<br>
    org.drools.integration.console.forms.TaskFormDispatcher.provideForm(TaskFormDispatcher.java:111)<br>    org.drools.integration.console.forms.FormDispatcherComposite.provideForm(FormDispatcherComposite.java:50)<br>    org.jboss.bpm.console.server.FormProcessingFacade.provideForm(FormProcessingFacade.java:203)<br>
    org.jboss.bpm.console.server.FormProcessingFacade.renderTaskUI(FormProcessingFacade.java:125)<br>    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>    java.lang.reflect.Method.invoke(Method.java:597)<br>    org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)<br>
    org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)<br>    org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)<br>    org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)<br>
    org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)<br>    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)<br>    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)<br>
    org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)<br>    org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)<br>    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>
    org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)<br>    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>causa raíz<br><br>freemarker.core.InvalidReferenceException: Expression myVariableA is undefined on line 5, column 39 in Evaluacion.<br>
    freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)<br>    freemarker.core.Expression.getStringValue(Expression.java:118)<br>    freemarker.core.Expression.getStringValue(Expression.java:93)<br>    freemarker.core.DollarVariable.accept(DollarVariable.java:76)<br>
    freemarker.core.Environment.visit(Environment.java:209)<br>    freemarker.core.MixedContent.accept(MixedContent.java:92)<br>    freemarker.core.Environment.visit(Environment.java:209)<br>    freemarker.core.Environment.process(Environment.java:189)<br>
    freemarker.template.Template.process(Template.java:237)<br>    org.drools.integration.console.forms.AbstractFormDispatcher.processTemplate(AbstractFormDispatcher.java:87)<br>    org.drools.integration.console.forms.TaskFormDispatcher.provideForm(TaskFormDispatcher.java:111)<br>
    org.drools.integration.console.forms.FormDispatcherComposite.provideForm(FormDispatcherComposite.java:50)<br>    org.jboss.bpm.console.server.FormProcessingFacade.provideForm(FormProcessingFacade.java:203)<br>    org.jboss.bpm.console.server.FormProcessingFacade.renderTaskUI(FormProcessingFacade.java:125)<br>
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
    java.lang.reflect.Method.invoke(Method.java:597)<br>    org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)<br>    org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)<br>
    org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)<br>    org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)<br>    org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)<br>
    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)<br>    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)<br>    org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)<br>
    org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)<br>    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>    org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)<br>
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>---------------------------------------------------------------------------------------------------------------------------------------------------------<br>
Is this a bug? or I&#39;m doing something wrong?<br><br>Thanks in advance<br>-- <br><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(136, 136, 136);"><table cellpadding="3" cellspacing="0" width="371">
<tbody><tr><td style="margin: 0px; font-family: arial,sans-serif;">
<table cellpadding="3" cellspacing="0" width="371"><tbody><tr><td style="margin: 0px; font-family: arial,sans-serif;"><div align="center"><img src="http://www.fluxit.com.ar/logoFluxit.jpg"><br></div></td><td style="margin: 0px; font-family: arial,sans-serif;" width="250">

<b><font size="1"><font color="#666666">Juan Ignacio Barisich</font></font></b><br><font size="1"><font color="#666666"><a href="mailto:juan.barisich@fluxit.com.ar" style="color: rgb(51, 51, 204);" target="_blank">juan.barisich@fluxit.com.ar</a></font></font></td>

</tr><tr><td style="margin: 0px; font-family: arial,sans-serif;" align="center"><div align="center"><font size="1"><a href="http://www.fluxit.com.ar/" style="color: rgb(51, 51, 204);" target="_blank">www.fluxit.com.ar</a></font></div>

</td><td style="margin: 0px; font-family: arial,sans-serif;" width="250"><font size="1"><font color="#666666">53 n366, piso 9</font></font><br><font size="1"><font color="#666666">La Plata / Buenos Aires / Argentina </font></font><br>

<font size="1"><font color="#666666">(54)-221-427-5781 int:308</font></font></td></tr></tbody></table></td></tr></tbody></table></span><br>