Hi,
I have one output on my human task, the output is of type String, and I map this output to one of the process variable.
The problem is, the mapped value becomes:
MarshalledContentWrapper{content=[B@342371e7, marshaller=org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy, type=class java.lang.String}
how to make it resolve correctly to the String value?
here is my code
Map<String, Object> taskOutput = new HashMap<String, String>(1);
taskOutput.put("EvaluationResult",
"good");
ContentData contentData = new ContentData();
contentData = ContentMarshallerHelper.marshal(taskOutput,
new ContentMarshallerContext(), null);
taskClientHelper.completeTask(taskId.longValue(),
userId, contentData);
Any help is appreciated.
Best Regards,
Thomas Setiabudi