Comments (7)
@solo-1234 let me look into that and get back to you, just to confirm the “Records to Rollup” variable is pointing to a collection retrieved by Get Records or a collection established from a record triggered flow?
from apex-rollup.
Thanks! This is passed in from a record triggered flow. It's triggering when children are inserted, so each flow interview is passing in a collection which contains one record, but a few are usually inserted at once. It also fails if I try to insert only one.
from apex-rollup.
@solo-1234 this is bizarre. I hadn’t tested my record triggered flow in a while - I’ve been using auto launched flows with a Get Records action since they’re so much easier to debug at the moment. I was able to validate tonight that this isn’t a recent issue; I tested all kinds of recent iterations of Rollup and had this issue on the CMDT Invocable and the original one as well, and reactivating the original record triggered flow I used for the Readme screenshots also reproduced the issue.
which means ... it could be a Spring 21 issue. I had to shut down for the day before investigating that possibility. It could be any number of things, and I’m hopeful that between being able to actually investigate the gacks at work and testing, I’ll be able to iron out this issue soon.
I’m really sorry that this is happening. I should have more information on a fix in the next day or two.
from apex-rollup.
It is really strange! Especially since it's not working now on records that it used to work on (and the issue started while I was testing something new, so at first I thought I broke it). Not sure if it's related to Spring, or maybe a patch... Seems like it stopped working for me somewhere in between 2/22 and 2/25, which is after the Spring release. I don't know of a way to see when patches are delivered.
Thanks for all your work figuring this out! I'll stay tuned...
from apex-rollup.
Okay as a workaround, I added in a Get Records to find the record with the Id of $Record.Id, and passed that to the action instead, and it seems to work fine! So I'll leave that in place until you figure this out (no rush!)
Thanks!
from apex-rollup.
@solo-1234 très bizarre, as they say. I will continue to investigate and keep you updated on any progress - great thinking on the Get Records workaround for now!
from apex-rollup.
Yep - thanks for your help!
from apex-rollup.
Related Issues (20)
- Total child count is incorrect. HOT 10
- Error upgrading from 1.5.64 to 1.6.6 HOT 5
- Error with Process Deferred Rollups
- RollupAsyncProcessor is creating a second queueable job per apex invocation HOT 7
- Rollup calc not triggering on delete of child record HOT 7
- Full recalc using 'Recalculate Rollup is incorrectly calculating as blank/null HOT 3
- Process Deferred Rollups: Batchable instance is too big HOT 10
- Rollup Setting Value, Then Resetting it 0 Immediately After HOT 14
- Scheduled Job exception Missing dependent object: Class: RollupEvaluator.AndConditionalGrouping HOT 3
- Error upgrading from 1.6.2 to 1.6.18 HOT 7
- Question: Plugin Configuration for Rollup Controls other than Org Defaults HOT 1
- Rollup Setting Value, Then Resetting it to N Immediately After HOT 1
- Custom Object Rollup Logger Plugin missing "Is Rollup Logging Enabled?" HOT 2
- Incorrect rollup calculations when child records are inserted in separate transactions at the same time HOT 5
- COUNT_DISTINCT Falls Back to Default Value on Deletion HOT 4
- Hitting SOQL Too Many Query Rows with AVERAGE HOT 2
- Unexpected Behavior with Rollup to Ultimate Parent HOT 1
- "Where clause entered incorrectly" error trying to run converted dlrs rollup HOT 3
- Concat_Distinct with Break Line Delimiter not working HOT 4
- Concat Duplicating Values when Queueable and Synchronous Rollup Control Used on Same Parent/Child HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apex-rollup.