...
- Decision Tool Plugin is used for map to a route in a process flow to decide the next transition to flow to after the route.
- Custom Builder Plugin let app designer build extra definition which auto handles the load/store/merge/export/import by the platformDecision Tool Plugin will override the transition rule in the process flow if mapped to a route.
- A useable Decision Tool Plugin must extend org.joget.workflow.model.DecisionPluginDefault abstract class.
...
Return the DecisionResult based on the current process state.
Parameters
- processDefId - the process definition id
- processId - the process instance id
- routeId - the route id of this tool mapped
- variables - the workflow variables values
Return org.joget.workflow.model.DecisionResult
...
Add transition id/name to the list of transitions to flow to after the route.
- Bean Shell Decision Tool
org.joget.apps.app.lib.BeanShellDecisionPlugin (wflow-core) - Simple Rules Decision Tool
org.joget.apps.app.lib.RulesDecisionPlugin (wflow-core)