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