Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import org.joget.apps.app.service.AppUtil; import org.joget.workflow.model.dao.WorkflowHelper; String appId = "crm"; WorkflowHelper workflowMapper = (WorkflowHelper) AppUtil.getApplicationContext().getBean("workflowHelper"); //Get the published process package version String currentVersion = workflowMapper.getPublishedPackageVersion(appId);
public void addAuditTrail(java.lang.String clazz, java.lang.String method, java.lang.String message)
public void addAuditTrail(java.lang.String clazz, java.lang.String method, java.lang.String message, java.lang.Class[] paramTypes, java.lang.Object[] args, java.lang.Object returnjava.lang.Object)
Add an audit trail record and trigger audit trail event
public org.joget.workflow.model.WorkflowDeadline executeDeadlinePlugin(java.lang.String processId, java.lang.String activityId, org.joget.workflow.model.WorkflowDeadline deadline, java.util.Date processStartedTime, java.util.Date activityAcceptedTime, java.util.Date activityActivatedTime)
Execute Deadline Plugin
public boolean executeTool(org.joget.workflow.model.WorkflowAssignment assignment)
Execute a tool for a specific assignment.
public java.util.List<java.lang.String> getAssignmentUsers(java.lang.String packageId, java.lang.String procDefId, java.lang.String procId, java.lang.String version, java.lang.String actId, java.lang.String requesterUsername, java.lang.String participantId)
Retrieve a list of assignees for a participant in a process
public java.lang.String getPublishedPackageVersion(java.lang.String packageId)
Get published package version
public java.lang.String processHashVariable(java.lang.String content, org.joget.workflow.model.WorkflowAssignment wfAssignment, java.lang.String escapeFormat, java.util.Map<java.lang.String, java.lang.String> replaceMap)
Processes a string to parse hash variables