0

I have a Status__C picklist field having values Submitted, Approved and Rejected on Information_Data__C object. I want to find out count of records in which value is Submitted, Approved or Rejected. I have used List and ForEach Loop to find count and I am getting the count. I want to know if there are any other alternative ways to get count of these status values in records.(I don't want to use Aggregation query or rollup summary).

Thanks in advance..

1
  • Could you clarify why you dont wanna use an aggregation query ? this seems to be a straightforward aggregation use case Jun 21 at 4:54

0

Browse other questions tagged or ask your own question.