Support for custom evaluation criteria in Alerts