Multiple CMDT with WHERE clauses #417
-
Hi @jamessimone , we'd like some of our rollups to run on schedule (some date-based rollups will change without corresponding dml). To start, I'm trying to schedule these two: They have different child objects, and one has a where clause and the other doesn't. When run individually, they complete without exception. But when run together (via this snippet, if it's relevant), we get this exception:
Here's the corresponding log: Next_Schedule_Z_Status__c is in the WHERE clause for the first CMDT, and Schedule_Z_Subscription__c is the child object of the second CMDT. I read through this post, but that seemed different (and fixed). I started stepping through it and got as far as Are there other things I could do to debug this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 21 replies
-
@pyao-bwc Thanks for sharing that snippet, super helpful to see what you're doing there. I should be able to reproduce this issue based on what you've provided. I haven't had somebody asking about scheduling a multi-child item rollup yet! To be honest, I'm surprised this isn't already working but I should be able to fix the underlying issue based on the info you've provided. I would assume this fix will be in the next version ( |
Beta Was this translation helpful? Give feedback.
@pyao-bwc Thanks for sharing that snippet, super helpful to see what you're doing there. I should be able to reproduce this issue based on what you've provided. I haven't had somebody asking about scheduling a multi-child item rollup yet!
To be honest, I'm surprised this isn't already working but I should be able to fix the underlying issue based on the info you've provided. I would assume this fix will be in the next version (
v1.5.53
) as I'd like to get the fixes I'm making for #414 fixed for you definitively.