Is it possible to create a field on the case object that has a value of the number of emails a case has? With that, i want to create a field that gets populated when the count 3 (as in when an agent manually responds to a case (1st email is user submitting case, 2nd is case auto response, 3rd is the agent manually emailing out)

1 Answer 1


As Email Message is not Master-Detail from Case, you have two options:

  1. Create a Process Builder to count and create your rule
  2. Code a trigger to count.

My suggestion, is using a Process Builder.

  • option 3 - Use DLRS
    – cropredy
    Commented Mar 11, 2019 at 17:07
  • DLRS, is it? appexchange.salesforce.com/… Good to know!
    – m Peixoto
    Commented Mar 12, 2019 at 8:51
  • yes - also github which is where many get this (there's an auto-deploy button on the github page)
    – cropredy
    Commented Mar 12, 2019 at 14:14

You must log in to answer this question.

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