Hi.<br>I'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><header><br>��� <variables><br>
����� <variable name="myVariableA" ><br>������� <type name="org.drools.process.core.datatype.impl.type.ObjectDataType" className="String" /><br>����� </variable><br>����� <variable name="myVariableB" ><br>
������� <type name="org.drools.process.core.datatype.impl.type.ObjectDataType" className="String" /><br>����� </variable><br>��� </variables><br>� </header><br>The parameter mapping is:<br>
<humanTask id="3" name="Revisar Solicitud" x="119" y="143" width="162" height="48" ><br>����� <work name="Human Task" ><br>������ ...<br>����� </work><br>
����� <mapping type="in" from="myVariableA" to="myVariableA" /><br>����� <mapping type="in" from="myVariableB" to="myVariableB" /><br>��� </humanTask><br clear="all">
Then I have a ftl file for the task form like:<br><html><br>...<br><body><br>A value: ${myVariableA}</br><br>Another value: ${myVariableB}</br><br>...<br></body><br></html><br><br>With this code, when I select a task and click "View", 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'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>