...
การใช้งาน
- 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 Deadline Pluginorg.joget.workflow.model.DefaultDeadlinePlugin abstract class.
Abstract Class
org.joget.workflow.model.DefaultDeadlinePlugin
- 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
...
รายละเอียดวิธีการ
Abstract Methods
evaluateDeadline
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.
Tutorials
สอน