Joget Workflow v6 Released

Check out the latest Joget Workflow v6 for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata

Description

  • org.joget.workflow.model.dao.WorkflowHelper
  • Under wflow-wfengine module
  • Helper methods required by workflow engine for processing during runtime e.g. plugins to execute for a tool, assignees for a participant, processing hash variables, etc.

Code Sample

Methods

addAuditTrail
public void addAuditTrail(java.lang.String clazz, java.lang.String method, java.lang.String message)

Add an audit trail record and trigger audit trail event

addAuditTrail
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

executeDeadlinePlugin
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

executeTool
public boolean executeTool(org.joget.workflow.model.WorkflowAssignment assignment)

Execute a tool for a specific assignment.

getAssignmentUsers
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

getPublishedPackageVersion
public java.lang.String getPublishedPackageVersion(java.lang.String packageId)

Get published package version 

processHashVariable
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

  • No labels