HumanActivity hm = (HumanActivity) pm.getProcessInstance(acMsg.getInstanceId()).getProcessDefinition().getActivity(acMsg.getTracingTag());
RoleMapping roleMapping = RoleMapping.create();
roleMapping.setEndpoint(acMsg.getEndpoint());
roleMapping.setName(hm.getRole().getName());
roleMapping.fill(instance);
// pm.putRoleMapping(acMsg.getInstanceId(), roleMapping);
// pm.delegateRoleMapping(acMsg.getInstanceId(), roleMapping);
pm.setGenericContext(genericContext);
pm.completeWorkitem(acMsg.getInstanceId(), acMsg.getTracingTag(), acMsg.getTaskId(), new org.uengine.kernel.ResultPayload());