JBoss Community

Re: completing human task - NoSuchFieldError: classLoader

created by Thomas Setiabudi in jBPM - View the full discussion

Hi wishmaster7,

 

use something like this with JBPM5.4

 

 

 

java.util.Map<String, Object> result = new java.util.HashMap<String, Object>();
                    result.put("Result", action);
  
                    org.jbpm.task.service.ContentData contentData = org.jbpm.task.utils.ContentMarshallerHelper.marshal(result, null);
                    client.complete(taskId, userId, contentData);
 

 

 

Regards,

Thomas Setiabudi

Reply to this message by going to Community

Start a new discussion in jBPM at Community