in our organization we need to control the number of tickets that are opened by a customer or an agent for the same customer.
For each customer, or group, we assign a maximum number of tickets opened.
We would like to block the opening of new ticket for a customer if it reaches the predetermined number, regardless of whether it was opened by the customer or by an agent, signaling the fact to the admins.
Alternatively, if you can not block, it would be helpful to generate a notification to the achievement of the predetermined number of tickets for a customer.
Is there a way to get at least one of the above results?
Thanks in advance.