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