Please see our trainer's comment below: I don’t believe you can put a comparison in the WHEN clause. The comparison is between the value after CASE and the value within WHEN. Here is an example using class id: CASE ‘Class.Id” WHEN ‘50’ THEN ‘ADM’ WHEN ‘51’ THEN ‘SPEC’ ELSE ‘Unknown’ END I think to fix the CASE that you have presented, the User would need to do the date comparison in the CASE clause, coming up with a value (say, 0 or 1), and then the WHEN clauses would use those values. For example (the part in brackets is the date calculation I haven’t worked out): CASE [date calc using Attribute value & $Today to get 0 or 1] WHEN ‘0’ THEN ‘Earlier’ WHEN ‘1’ THEN ‘Later’ ELSE ‘TBD’ END
↧