+ Start a Discussion
Srinivas Bandi 4Srinivas Bandi 4 

Record count on account


I have a requirement where we need to send the survey to a user on every 10th ticket raised by the user.  
Custome object has lookup to Account and User object.

How can I achieve this?

Marcelo CostaMarcelo Costa
Hi Srinivas,
It's a little difficult to suggest a solution not knowing your scenario in detail, but one way:
You can hve a trigger on after ticket creation that would check the number of tickets for that user.
you can check then if  Math.mod(numberOfTickets, 10) ==0;
if that condition is true, you start the survey process...
Good Luck.