For example, I need that when certain conditions arose the event. For example, "if A > 2000 and B = 1, then [the event occurred]" or something.
The point is that the user should be able to generate such a condition, dynamically selecting the parameters (if, and, or, greater, less, how many times, what time, etc.). It is also easing the task of the programmer, which is not necessary every time hardcoding the conditions in the algorithm. Could not find the description of a similar algorithm in the Internet, but remember that it was in any cms. While I think about the form that post to a sign with the required columns of the row, of which going this condition in the future. But this is not true exit, I think.