Usages

Abstract Class

org.joget.workflow.model.DecisionPluginDefault

Method Detail

Abstract Methods
getDecision
public DecisionResult getDecision(String processDefId, String processId, String routeId, Map<String, String> variables);

Return the DecisionResult based on the current process state.

Parameters

Return org.joget.workflow.model.DecisionResult

POJO Class

org.joget.workflow.model.DecisionResult

Method Detail

Getter/Setter Methods
getIsAndSplit
public Boolean getIsAndSplit();

The split type of next transitions is AND

setIsAndSplit
public void setIsAndSplit(Boolean isAndSplit);

Set the split type of next transitions to AND

getAuditData
public String getAuditData();

The data to be store to audit trail table

setAuditData
public void setAuditData(String auditData);

Set the data to be store to audit trail table

getVariables
public Map<String, String> getVariables();

The workflow variable and its value to be update

setVariable
public void setVariable(String name, String value);

Set the workflow variable & value to update

getTransitions
public Collection<String> getTransitions();

The transitions name/id to flow to after the route

addTransition
public void addTransition(String idOrName);

Add transition id/name to the list of transitions to flow to after the route.

Related Community Plugins