Error / Failure Messages On Rollups #284
-
Hi @jamessimone! First off, very cool project you've got rolling here. I've been working with it in a sandbox and love how simple and intuitive most things are. In particular I like the Recalculate Rollup lightning tab, and the ability to run the rollups off of CMDT. It's there, however, that I've run into a few issues. I have 4 Count rollups defined for the Opportunity object, and 2 of them can be recalculated with ease, but two of them fail with just this message: "Rollup job status: Failed". A separate issue I've run into was in attempting to roll up a custom object, which resulted in the following error message: "There was an error performing your rollup: Ending position out of bounds: -1". Any tips on how I can troubleshoot these? I'll try to dig a little deeper on my own in the meantime. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @TanukiDemon and thanks for creating this discussion. Your where clauses are likely leading to the errors above — you have to have spaces between the fields, the comparison (=, <>, !=, etc) and the values you’re comparing to. Syntactically, this is not valid for Apex Rollup:
The correct statement thus becomes:
Hopefully that helps! |
Beta Was this translation helpful? Give feedback.
Hi @TanukiDemon and thanks for creating this discussion. Your where clauses are likely leading to the errors above — you have to have spaces between the fields, the comparison (=, <>, !=, etc) and the values you’re comparing to. Syntactically, this is not valid for Apex Rollup:
Account.Name=‘foo’
The correct statement thus becomes:
Account.Name = ‘foo’
Hopefully that helps!