Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import java.util.Collection; import org.joget.apps.app.service.AppUtil; import org.joget.report.model.ReportRow; import org.joget.report.service.ReportManager; ReportManager reportManager = (ReportManager) AppUtil.getApplicationContext().getBean("reportManager"); //get sla report for process instances of CRM app Collection<ReportRow> processSla = reportManager.getWorkflowProcessSlaReport("crm", null, null, null, null, null);
public java.util.Collection<org.joget.report.model.ReportApp> getReportAppList(java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieves list of all app from report table
public org.joget.report.model.ReportApp getReportApp(java.lang.String appId, java.lang.String appVersion, java.lang.String appName)
public long getReportAppListSize()
Retrieves the number of app from report table
public org.joget.report.model.ReportWorkflowActivity getReportWorkflowActivity(ReportWorkflowProcess reportWorkflowProcess, java.lang.String activityDefId, java.lang.String activityName)
Gets activity data from report table
public org.joget.report.model.ReportWorkflowActivityInstance getReportWorkflowActivityInstance(java.lang.String activityInstanceId)
Gets activity instance data from report table
public java.util.Collection<org.joget.report.model.ReportWorkflowActivityInstance> getReportWorkflowActivityInstanceList(java.lang.String appId, java.lang.String appVersion, java.lang.String processDefId, java.lang.String activityDefId, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieves list of activity instances from report table
public long getReportWorkflowActivityInstanceListSize(java.lang.String appId, java.lang.String appVersion, java.lang.String processDefId, java.lang.String activityDefId)
Retrieves the number of activity instances from report table
public java.util.Collection<org.joget.report.model.ReportWorkflowActivity> getReportWorkflowActivityList(java.lang.String appId, java.lang.String appVersion, java.lang.String processDefId, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieves list of activities from report table
public long getReportWorkflowActivityListSize(java.lang.String appId, java.lang.String appVersion, java.lang.String processDefId)
Retrieves the number of activities from report table
public org.joget.report.model.ReportWorkflowPackage getReportWorkflowPackage(ReportApp reportApp, java.lang.String packageId, java.lang.String packageVersion, java.lang.String packageName)
Gets workflow package data from report table
public org.joget.report.model.ReportWorkflowProcess getReportWorkflowProcess(ReportWorkflowPackage reportWorkflowPackage, java.lang.String processDefId, java.lang.String processName)
Gets process data from report table
public org.joget.report.model.ReportWorkflowProcessInstance getReportWorkflowProcessInstance(java.lang.String processInstanceId)
Gets process instance data from report table
public java.util.Collection<org.joget.report.model.ReportWorkflowProcessInstance> getReportWorkflowProcessInstanceList(java.lang.String appId, java.lang.String appVersion, java.lang.String processDefId, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieves list of process instances from report table
public long getReportWorkflowProcessInstanceListSize(java.lang.String appId, java.lang.String appVersion, java.lang.String processDefId)
Retrieves the number of process instances from report table
public java.util.Collection<org.joget.report.model.ReportWorkflowProcess> getReportWorkflowProcessList(java.lang.String appId, java.lang.String appVersion, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieves list of processes from report table
public long getReportWorkflowProcessListSize(java.lang.String appId, java.lang.String appVersion)
Retrieves the number of processes from report table
public java.util.Collection<org.joget.report.model.ReportRow> getWorkflowActivitySlaReport(java.lang.String appId, java.lang.String appVersion, java.lang.String processDefId, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieves an activity SLA report
public java.util.Collection<org.joget.report.model.ReportRow> getWorkflowProcessSlaReport(java.lang.String appId, java.lang.String appVersion, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieves a process SLA report
public java.lang.Boolean saveReportWorkflowActivityInstance(ReportWorkflowActivityInstance workflowActivityInstance)
Save an activity instance data to report table
public java.lang.Boolean saveReportWorkflowProcessInstance(ReportWorkflowProcessInstance workflowProcessInstance)
Save a process instance data to report table