Creating alerts with multiple conditions