4

I would like some help where when a user owns a case and I want to go to their user page and see how many cases the user currently owns.

3
  • 3
    You can accomplish this with a report, FYI. If you need this information on the User object, then you need to create a custom rollup summary using apex or install Rollup Helper from the AppExchange
    – greenstork
    Commented Jun 24, 2014 at 18:10
  • Do you want only the number of cases or the details of those cases to appear on the user page? Commented Jun 25, 2014 at 2:44
  • I would like to the number of cases. Commented Jun 25, 2014 at 14:17

1 Answer 1

1

This utility will assist you with performing this function:

  1. Create a field on the user record to store the value
  2. Implement this code
  3. Use OwnerID on case for the Case lookup field
  4. User ID on user from the User lookup field **Note: they do not have to be lookup fields, they just need to be ID fields

Then every time a case is created use a trigger to run the code and the counts will be rolled up to the User record

CODE HERE:

http://www.anthonyvictorio.com/salesforce/roll-up-summary-utility/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .