Replies: 4 comments 19 replies
-
@jessbr interesting, was the Calc Item Where Clause you were attempting to use something like |
Beta Was this translation helpful? Give feedback.
-
Attached. Let me know if this works for you |
Beta Was this translation helpful? Give feedback.
-
Thanks James. I reduced the size to 1000 and am still getting CPU Time Limit exceeded on two SerialBatchApexRangeChunkHandler. Attached. Should I reduce the batch size further? |
Beta Was this translation helpful? Give feedback.
-
Hi James, |
Beta Was this translation helpful? Give feedback.
-
Hi @jamessimone,
I have used Apex-Rollups for a number of First and Last functions and it's working great. I am also trying to use it for a count function to count the number of service files of a particular record type and add the count to a field on the contact record. Service Files are directly linked to contacts through a contacts lookup field. These were not calculating correcting when I tested so I added to my calc clause Contact Id = the id of one contact. When I rolled up again it worked. But obviously, I can't have the CMDT that only rolls up based on one contact Id. Do you know why the count would only work when I add the contact Id to the where clause. I have attached an image of the CMDT without the where clause that includes the contact ID. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions