}
}
private SortedSet<String> getAssignables(ExecutionImpl exe, String s) throws RepositoryException {
SortedSet<String> emails = new TreeSet<String>();
WorkflowDefinition def = (WorkflowDefinition) exe.getVariable("workflow");
String id = (String) exe.getVariable("nodeId");
JCRNodeWrapper node = JCRSessionFactory.getInstance().getCurrentUserSession().getNodeByUUID(id);
List<JahiaPrincipal> principals = WorkflowService.getInstance().getAssignedRole(node, def,
exe.getActivity().getDefaultOutgoingTransition().getDestination().getName(), exe.getProcessInstance().getId());
for (JahiaPrincipal principal : principals) {