|
|
@ -256,9 +256,11 @@ public class WorkflowUtil { |
|
|
|
ControlloPratica controlloPratica) throws PortalException, SystemException { |
|
|
|
ControlloPratica controlloPratica) throws PortalException, SystemException { |
|
|
|
|
|
|
|
|
|
|
|
WorkflowTask workflowTask = getLastTask(companyId, groupId, null, controlloPratica); |
|
|
|
WorkflowTask workflowTask = getLastTask(companyId, groupId, null, controlloPratica); |
|
|
|
Map<String, Serializable> workflowContext = getWorkflowContext(controlloPratica); |
|
|
|
if(workflowTask != null) { |
|
|
|
WorkflowTaskManagerUtil.assignWorkflowTaskToUser(companyId, assegnatoreUserId, |
|
|
|
Map<String, Serializable> workflowContext = getWorkflowContext(controlloPratica); |
|
|
|
workflowTask.getWorkflowTaskId(), istruttoreId, StringPool.BLANK, null, workflowContext); |
|
|
|
WorkflowTaskManagerUtil.assignWorkflowTaskToUser(companyId, assegnatoreUserId, |
|
|
|
|
|
|
|
workflowTask.getWorkflowTaskId(), istruttoreId, StringPool.BLANK, null, workflowContext); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static Map<String, Serializable> getWorkflowContext(ControlloPratica controlloPratica) |
|
|
|
public static Map<String, Serializable> getWorkflowContext(ControlloPratica controlloPratica) |
|
|
|