|
|
|
@ -272,8 +272,10 @@ public class AdvancedOperationUtil {
|
|
|
|
|
if(Validator.isNotNull(lastTask)){ |
|
|
|
|
long assigneeUserId = lastTask.getAssigneeUserId(); |
|
|
|
|
try { |
|
|
|
|
if(-1 != assigneeUserId){ |
|
|
|
|
User assignee = UserLocalServiceUtil.getUser(assigneeUserId); |
|
|
|
|
return UserUtil.getUnitaOperative(assignee); |
|
|
|
|
} |
|
|
|
|
} catch (SystemException | PortalException e){ |
|
|
|
|
_log.error("AOP ==> Error while analyzing IntPratica: " + intPratica.getIntPraticaId()); |
|
|
|
|
_log.error(e,e); |
|
|
|
|