title: Jbpm complete task with params - Map is empty
body: <p>Im trying to user the following code to complete a task in jbpm:</p>
  <pre><code>private static RemoteRestRuntimeEngineFactory restSessionFactory = null;
      private static RuntimeEngine engine = null;
      private static KieSession ksession = null;
      private static TaskService task = null; 
  
      public static void main(String[] args) {
          try {
              restSessionFactory = RemoteRestRuntimeEngineFactory.newRestBuilder()
                      .addUrl(new URL(&quot;http://localhost:8080/jbpm-console&quot;))
                      .addDeploymentId(&quot;jbpm:formularios:1.2&quot;)
                      .addUserName(&quot;admin&quot;)
                      .addPassword(&quot;admin&quot;).buildFactory();
          } catch (InsufficientInfoToBuildException e) {
              e.printStackTrace();
          } catch (MalformedURLException e) {
              e.printStackTrace();
          }
          
          engine = restSessionFactory.newRuntimeEngine();
          
          ksession = engine.getKieSession();
          task = engine.getTaskService();
  
          Map&lt;String,Object&gt; map = new HashMap&lt;String,Object&gt;();
          map.put(&quot;name&quot;, &quot;mary&quot;);
          map.put(&quot;age&quot;, &quot;23&quot;);
          task.complete(271, &quot;admin&quot;, map);
      }
  </code></pre>
  <p>Im have only this dependency:</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.kie.remote&lt;/groupId&gt;
      &lt;artifactId&gt;kie-remote-client&lt;/artifactId&gt;
      &lt;version&gt;6.2.0.Beta3&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>The taks complete without problem but the the parameters are empty;</p>
  <p>Then i tried to use the &quot;PostMan&quot; (Chrome plugin) to do the following  POST:</p>
  <pre><code>localhost:8080/jbpm-console/rest/task/249/complete?map_name=mary&amp;map_idade=23
  </code></pre>
  <p>and the task complete without problem but with parameters.</p>
  <p>If i start a new process:</p>
  <pre><code>localhost:8080/jbpm-console/rest/runtime/jbpm:formularios:1.0/process/formularios.isluis/start?map_nome=mary&amp;map_idade=23
  </code></pre>
  <p>The process start with the correct parameters.</p>
  <p>Im using Jbpm-console 6.1</p>
  <p>Am I missing something???</p>