Package de.hybris.platform.workflow
Interface ScriptEvaluationService
-
- All Known Implementing Classes:
DefaultScriptEvaluationService
public interface ScriptEvaluationService
Service to evaluate activation beanshell scripts. The Activation Script is defined for a Workflow Template. Result of this evaluation must be a Boolean value. If the Boolean value is evaluated to true, then the workflow template is copied to a workflow automatically. Each Workflow Template can have an individual Activation Script.An activation script is evaluated each time an item is:
- Created
- Saved
- Removed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowModel
evaluateActivationScripts(ItemModel item, java.util.Map currentValues, java.util.Map initialValues, java.lang.String action)
Evaluates activation script for action
-
-
-
Method Detail
-
evaluateActivationScripts
WorkflowModel evaluateActivationScripts(ItemModel item, java.util.Map currentValues, java.util.Map initialValues, java.lang.String action) throws bsh.EvalError
Evaluates activation script for action- Parameters:
item
-currentValues
-initialValues
-action
-- Returns:
- created by script workflow
- Throws:
bsh.EvalError
- when something goes wrong
-
-