String sEp = "unknown_user";
String sName = "";
try {
if (instance instanceof EJBProcessInstance) {
EJBProcessInstance epi = (EJBProcessInstance) instance;
rm = epi.getRoleMapping(role.getName());
} else {
rm = role.getMapping(instance);
}
} catch (Exception e) {}