JBoss Community

jbpm-examples with jBPM 5.4

created by Gareth Edwards in jBPM - View the full discussion

Hello,

 

Is there an updated HumanTaskExample that works with jBPM 5.4?

The following lines either contain reomved of depricated methods.

 

There must be a new way of doing this that I'm not aware of. (These lines are not together in the source code)

 

contentData = ContentMarshallerHelper.marshal(results, hornetQHTWorkItemHandler.getMarshallerContext(), null);

TaskSummary task3 = taskClient.getTasksAssignedAsPotentialOwner("john", groups, "en-UK").get(0);

taskClient.claim(task3.getId(), "john", groups);

contentData = ContentMarshallerHelper.marshal(results, hornetQHTWorkItemHandler.getMarshallerContext(), null);

Object result = ContentMarshallerHelper.unmarshall("org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy",

                    content.getContent(), hornetQHTWorkItemHandler.getMarshallerContext(), null);


 


Any help would be greatlt appreciated.

 

Regards,

 

Gareth.

Reply to this message by going to Community

Start a new discussion in jBPM at Community