HashMap<String, Object> output = new HashMap<>(local);
SpringStepContext stepContext=new SpringStepContext(flowArgs,local);
ExpressionParser parser = new SpelExpressionParser();
for(Assignment that:assignments) {
Expression e=parser.parseExpression(that.getExpression());
StandardEvaluationContext c=new StandardEvaluationContext(stepContext);
stepContext.assignVariables(c);
Object value = e.getValue(c);
logger.trace("parsing ["+that+"] with result +["+value+"]");
if (output.containsKey(that.getAssignTo())) {
throw new IllegalArgumentException("Cannot overwrite existing local variable ["+that.getAssignTo()+"]");
}
output.put(that.getAssignTo(),value);