Description of problem: Fails [when]when customer spends ${var}=$sc : ShoppingCart( cartItemTotal >= {var} ) Works [when]if customer spends ${var}=$sc : ShoppingCart( cartItemTotal >= {var} ) When the first sentence is used the workbench gives the following error in the Problems console. Unable to Analyse Expression var: [Error: unexpected end of statement] [Near : {... var ....}] ^ The parser might be confusing [when] with when.
Toni, if this is a core engine DSL parsing issue please reassign to Edson.
I feel like it is, but need to do a test to be sure.
And after all it was the var issue like the error actually says. Marking this as a duplicate. Sorry for the email spam. *** This bug has been marked as a duplicate of bug 1078835 ***