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