Package org.joget.report.model

Examples of org.joget.report.model.ReportWorkflowActivity


                    processInstance = updateProcessData(wfProcess, wfTrackProcess, appId, appVersion);
                }
                aInstance.setReportWorkflowProcessInstance(processInstance);

                //set activity
                ReportWorkflowActivity reportActivtiy = reportManager.getReportWorkflowActivity(processInstance.getReportWorkflowProcess(), wfActivity.getActivityDefId(), wfActivity.getName());
                aInstance.setReportWorkflowActivity(reportActivtiy);

                //get assignment users
                try {
                    Thread.sleep(2000);
View Full Code Here


            return reportWorkflowProcess;
        }
    }

    public ReportWorkflowActivity getReportWorkflowActivity(ReportWorkflowProcess reportWorkflowProcess, String activityDefId, String activityName) {
        ReportWorkflowActivity reportWorkflowActivity = reportWorkflowActivityDao.getReportWorkflowActivity(reportWorkflowProcess.getReportWorkflowPackage().getReportApp().getAppId(), reportWorkflowProcess.getReportWorkflowPackage().getReportApp().getAppVersion(), reportWorkflowProcess.getProcessDefId(), activityDefId);
        if (reportWorkflowActivity == null) {
            reportWorkflowActivity = new ReportWorkflowActivity();
            reportWorkflowActivity.setReportWorkflowProcess(reportWorkflowProcess);
            reportWorkflowActivity.setActivityDefId(activityDefId);
            reportWorkflowActivity.setActivityName(activityName);
            if (reportWorkflowActivityDao.saveReportWorkflowActivity(reportWorkflowActivity)) {
                return reportWorkflowActivityDao.getReportWorkflowActivity(reportWorkflowProcess.getReportWorkflowPackage().getReportApp().getAppId(), reportWorkflowProcess.getReportWorkflowPackage().getReportApp().getAppVersion(), reportWorkflowProcess.getProcessDefId(), activityDefId);
            } else {
                return null;
            }
View Full Code Here

TOP

Related Classes of org.joget.report.model.ReportWorkflowActivity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.