function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nandhini S 3Nandhini S 3 

Rollup helper is causing recursion. How to avoid this?

AbhinavAbhinav (Salesforce Developers) 
Hi Nandhini,

Please elaborate your question.Share some code snippet along with your issue.

Thanks!
Suraj Tripathi 47Suraj Tripathi 47
Hi Nandhini,
Greetings!

Rollup helper is used to roll up any salesforce information like Sum, Count, Max, Min, Etc.
You can find a Rollup helper in App Exchange.
For any issue in rollup helper, please visit the below link-
https://www.passagetechnology.com/rollup-helper-faqs

If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi
Nandhini S 3Nandhini S 3
Hi Abhinav,

We are using rollup helper app to create rollup summary fields on opportunity. This is creating a recursive error.Is there any way to avoid firing the trigger after the rollup helper updates the field.
 
Dorian SabitovDorian Sabitov

Hi Nandhini,

If your question is still open for you, I can suggest the next steps to prevent Rollup Helper from causing recursion:

  1. Exclusion Criteria: In your rollup configuration, ensure you have appropriate exclusion criteria set up to avoid triggering updates on the same records repeatedly.
  2. Trigger Logic: Review your custom triggers and workflows. Ensure they're not causing additional updates that trigger Rollup Helper again.
  3. Scheduled Updates: Use scheduled updates during off-peak hours to minimize the chances of causing recursion.

I've detailed such issues resolving in my blog on SFApps.info. For Rollup Helper - https://www.sfapps.info/rollup-helper-review/. I am currently creating a lot of reviews about Salesforce apps, so this will be useful for all users.