Joget DX Available for Download
Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.
To provide the ability to recalculate deadline limit and SLA limit based on programming logic.
Deadline plugin can be configure at Plugin Default Properties.
A useable Deadline plugin must extends org.joget.workflow.model.DefaultDeadlinePlugin abstract class.
Under wflow-wfengine module
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
A base abstract class to develop a Deadline Plugin
public org.joget.workflow.model.WorkflowDeadline evaluateDeadline(java.util.Map props)
Re-calculate the deadline limit and SLA limit.
Following are passed as properties by system:
- processId : java.lang.String
- activityId : java.lang.String
- workflowDeadline : org.joget.workflow.model.WorkflowDeadline
- processStartedTime : java.util.Date
- activityAcceptedTime : java.util.Date
- activityActivatedTime : java.util.Date
- pluginManager : org.joget.plugin.base.PluginManager
Please refer to Plugin Properties Options for more information.
Guideline for developing a plugin