Math and aggregate expressions

I take it you mean CaseItem? Not as a typed expression. Its just a property on Case that is an array of json objects that each have a when and then property.