|
|
@ -188,9 +188,11 @@ public class GestioneAttivitaPortlet extends MVCPortlet { |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(Validator.isNotNull(role)){ |
|
|
|
WorkflowTaskManagerUtil.assignWorkflowTaskToRole(controlloPratica.getCompanyId(), |
|
|
|
WorkflowTaskManagerUtil.assignWorkflowTaskToRole(controlloPratica.getCompanyId(), |
|
|
|
serviceContext.getUserId(), workflowTaskId, role.getRoleId(), StringPool.BLANK, null, |
|
|
|
serviceContext.getUserId(), workflowTaskId, role.getRoleId(), StringPool.BLANK, null, |
|
|
|
WorkflowUtil.getWorkflowContext(controlloPratica)); |
|
|
|
WorkflowUtil.getWorkflowContext(controlloPratica)); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
throw new SystemException("riassegnare al ruolo non possibile"); |
|
|
|
throw new SystemException("riassegnare al ruolo non possibile"); |
|
|
|
} |
|
|
|
} |
|
|
|