if (action instanceof DroolsConsequenceAction) {
String actionString = ((DroolsConsequenceAction) action).getConsequence();
ExpressionCompiler compiler = new ExpressionCompiler(actionString);
ParserContext parserContext = new ParserContext();
Serializable expression = compiler.compile(parserContext);
DroolsMVELFactory factory = new DroolsMVELFactory(Collections.EMPTY_MAP, null, Collections.EMPTY_MAP);
MVEL.executeExpression(expression, null, factory);
} else {
throw new RuntimeException("Unknown action: " + action);
}
triggerCompleted();