|
|
@ -1089,7 +1089,9 @@ public class ManutenzioneDatabase { |
|
|
|
try { |
|
|
|
try { |
|
|
|
instance = WorkflowInstanceManagerUtil.getWorkflowInstance(link.getCompanyId(), |
|
|
|
instance = WorkflowInstanceManagerUtil.getWorkflowInstance(link.getCompanyId(), |
|
|
|
link.getWorkflowInstanceId()); |
|
|
|
link.getWorkflowInstanceId()); |
|
|
|
} catch (PortalException e) {} |
|
|
|
} catch (PortalException e) { |
|
|
|
|
|
|
|
_log.error(e, e); |
|
|
|
|
|
|
|
} |
|
|
|
if (Validator.isNull(instance)) { |
|
|
|
if (Validator.isNull(instance)) { |
|
|
|
WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(link); |
|
|
|
WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(link); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|