Hi,<div><br></div><div>I'm running jbpm 5.3.0.Final on JBoss 7.1.1 along with an H2 database. </div><div><br></div><div>Things are working well, but the arguments being consumed by the HumanTasks are being displayed in the FTL as marshalled objects (see below):</div>
<div><br></div><div><img src="cid:ii_1394f66a5f06c59b" alt="Inline image 2"><br></div><div><br></div><div><br></div><div>I had to dig into the code jbpm-gwt-form code and modify the TaskFormDispatcher.provideForm(FormAuthorityRef ref) near the bottom of the method so it looks like this:</div>
<div><br></div><div><div> if (input instanceof Map) {</div><div> Map<?, ?> map = (Map) input;</div><div> for (Map.Entry<?, ?> entry: map.entrySet()) {</div><div> if (entry.getKey() instanceof String) {</div>
<div> <span style="white-space:pre-wrap">        </span>MarshalledContentWrapper val = (MarshalledContentWrapper)entry.getValue();</div><div> <span style="white-space:pre-wrap">        </span></div>
<div> <span style="white-space:pre-wrap">        </span>Environment env = EnvironmentFactory.newEnvironment();</div><div> <span style="white-space:pre-wrap">        </span>ContentMarshallerContext cmc = new ContentMarshallerContext();</div>
<div> <span style="white-space:pre-wrap">        </span>ObjectMarshallingStrategy[] strats = (ObjectMarshallingStrategy[])env.get(EnvironmentName.OBJECT_MARSHALLING_STRATEGIES);</div><div> <span style="white-space:pre-wrap">        </span>cmc.addStrategy(strats[0]);<span style="white-space:pre-wrap">        </span>// Should only have one option here...</div>
<div> <span style="white-space:pre-wrap">        </span>Object o = ContentMarshallerHelper.unmarshall("org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy", val.getContent(), cmc, env);</div>
<div> <span style="white-space:pre-wrap">        </span></div><div> <span style="white-space:pre-wrap">        </span>renderContext.put((String) entry.getKey(), o);</div>
<div> }</div><div> }</div><div> }</div></div><div><br></div><div>This change now results in:</div><div><br></div><div><img src="cid:ii_1394f90e84522884" alt="Inline image 3"><br></div><div>
<br></div><div>Is this a bug or have I done something incorrect?</div><div><br></div><div>Thanks,</div><div><br></div><div>- Darin</div>