@Override public void completeTaskFromContext(String ctxUID, Long taskId, String identityName) { Map params = formRenderContextManager.getFormRenderContext(ctxUID).getOutputData(); formRenderContextManager.removeContext(ctxUID); taskServiceEntryPoint.complete(taskId, identityName, params); }
@Override public Long saveTaskStateFromRenderContext(String ctxUID, Long taskId, boolean clearStatus) { Map params = formRenderContextManager.getFormRenderContext(ctxUID).getOutputData(); if (clearStatus) formRenderContextManager.removeContext(ctxUID); return taskServiceEntryPoint.saveContent(taskId, params); }