Skip to main content
小组

Rollup Helper

A chatter group for Rollup Helper users to post their questions and feedback. If you would like to use email to post, please DO NOT use the Post by email link below and instead use support@passagetech.com

The Rollups I have on my Opportunity are really slowing down the time it takes to create or update Opportunities. Is there a way to have the rollups batch in one DML rather than cascading through many?

1 个回答
  1. 7月31日 15:32

    Hello Lucas, 

     

    If you would like to keep triggered updates but have the Rollups process in a separate execution you can do this by setting the Rollup Helper trigger to force asynchronous, this setting is found as a checkbox for the trigger on the Enable Real Time Rollups page. 

     

    When this is on Rollup Helper will make a queue record to process the Rollup later as opposed to processing the setting during the save execution. 

     

    It is also possible to disable the trigger entirely from this page, and then you can use scheduled updates for your Rollups if you want them running in batch only.

0/9000

We have recently run a number of flows that send emails and log them to a related object.  Even when the number of emails is small (less than 10), we are receiving an error related to Rollup Helper.  Specifically, rh2.PS_Task: System.LimitException: Apex CPU time limit exceeded.  It is occurring when the email send is logged to a related record.  It doesn't seem to be referencing a specific rollup that we built.  Can somebody give guidance re: rh2.PS_Task?  TY

1 个回答
  1. 7月6日 14:45

    Hello Yaakov, 

     

    As a first troubleshooting step you can try setting the force asynchronous flag on the task trigger for Rollup Helper. This can be done from the Enable Real Time Rollups page. 

     

    This setting will have Rollup Helper process in a separate execution which will reduce the CPU time it uses when the trigger fires from other processes. 

     

    If that does not resolve the issue, we would need to investigate further. CPU time is a shared governor limit across all processes in an execution, in order to identify the root cause of the issue we would need to be able to reproduce the error and capture a debug log. 

     

    If you would like assistance with this please reach out to

    support@passagetech.com and we will be able to provide further assistance.

0/9000

 

The support knowledge base says "max number of records to process each batch with RollupHelper is 20,000".  

 

Because we are super paranoid, before we move forward with the purchase, we want to get full confirmation on:  

 

Is this 20,000 in any one batch or as a whole for roll-ups in the same object, even if they are broken up into separate batches?

2 个回答
  1. 4月23日 14:26

    Hello Lorena, 

     

    There is not a limit to the total number of records Rollup Helper can process for an object. This is because of batch processing, which can process any amount of records in Salesforce, piece by piece in small groups. 

     

    Could you please link the knowledge article where you saw this information so it can be corrected or clarified?

0/9000

We have a field on opportunity called "Active__c" which is defined as 

NOT( IsClosed ) || 

(IsClosed && IsWon && Campaign_End_Date__c <= ADDMONTHS(TODAY(), 12) && Campaign_End_Date__c>TODAY()) 

 

We can't use a standard rollup summary field since active__c is defined in terms of a dynamic date 

 

We use rollup helper to count the number of active opportunities, but it's currently taking an estimated 1 week and 6 days to run the job over about 200,000 accounts, which makes ROS basically useless. 

 

Any suggestions?

1 个回答
  1. 2月17日 16:23

    Hello David, 

     

    You likely have a low record scope custom setting which is making Rollup Helper take longer to process through all the records of the object. 

     

    The record scope setting controls how many records are processed per apex job used to process your rollups. 

     

    Our support team can help optimize this setting for you so we can ensure your Rollups are running as fast as possible without hitting governor limits. 

     

    We would also recommend using real-time processing on all rollups so your results update automatically without having to do a manual run or schedule. 

     

    Please send an email to

    support@passagetech.com after granting login access to Passage Technology and we will be happy to help!

0/9000

Hi Community,  

I'm creating a new rollup that's based on another rollup field.  

Has anyone had this use case before? Any limitations you have faced? or inconsistent results? 

Thank you for your feedback! 

Best, 

Gonçalo 

2 个回答
  1. 1月29日 14:59

    Hello Gonçalo, 

     

    Creating a Rollup Helper setting that uses the target field of another Rollup Helper setting as its source field is a great use case! 

     

    You just need to have both setting running in real-time and you will be able to summarize data across multiple objects. 

     

    Please feel free to reach out if you have any questions on how to set this up and we will be happy to assist.

0/9000

I am having all sorts of issues trying to access the Rollup helper tabs. The page keeps giving me the following error. 

 

SObject row was retrieved via SOQL without querying the requested field: rh2__HS_Filter__c.rh2__Condition__c 

 

Has anyone seen this error before?

2 个回答
0/9000

I want to delete 30 inactive rollups.  I thought they were stored in the rh2__PS_Rollup_Audit__c object and I deleted them, but in the UI when I go to All Rollups, the inactive rollups are still there.  How can I mass delete them completely?

4 个回答
  1. 2025年11月11日 14:52

    Hello David, 

     

    Rollup Helper settings are stored as private custom settings and are not accessible to the end user through back end queries. 

     

    However it is possible to select Rollups using the checkbox found on the left side of the Rollup definition on the All Rollups page, and then use the delete button at top left of that section in order to do multiselect deletes of your Rollups. 

     

    Please reach out to

    support@passagetech.com if you have any questions on this, and we will be happy to provide further assistance regarding this.

0/9000

trigger RHX_Investments on Investments__c 

    (after delete, after insert, after undelete, after update, before delete) { 

         Type rollClass = System.Type.forName('rh2', 'ParentUtil'); 

        if(rollClass != null) { 

              rh2.ParentUtil pu = (rh2.ParentUtil) rollClass.newInstance(); 

         if (trigger.isAfter) { 

                        pu.performTriggerRollups(trigger.oldMap, trigger.newMap, new String[]{'Investments__c'}, null); 

     } 

    } 

}

1 个回答
0/9000

Failed to process Queueable job for class rh2.PS_QueueableRollup for job ID 707P100001GgrsB.

caused by: System.LimitException: rh2:Too many query rows: 50001

Class.rh2.PS_SOQL_Aggregate_Functions.rollUp: line 131, column 1

Class.rh2.PS_Rollup_Context.runThroughSOQLAFIfNecessary: line 597, column 1

Class.rh2.PS_Rollup_Context.processSOQLAggregateFunctionRollups: line 562, column 1

Class.rh2.PS_Rollup_Context.run: line 483, column 1

Class.rh2.PS_Rollup_Helper.rollupToParent: line 76, column 1

Class.rh2.PS_Rollup_Helper.<init>: line 55, column 1

Class.rh2.PS_Rollup_Helper.<init>: line 45, column 1

Class.rh2.PS_Asynchronous_Job_Handler.executeQueueableOrFuture: line 242, column 1

Class.rh2.PS_QueueableRollup.execute: line 23, column 1

3 个回答
0/9000

I have:

  • Selected  the checkbox Enable Validation Rule Helper
  • Added ‘ &&   $Setup.rh2__PS_Settings__c.rh2__Run_Validation_Rule__c’  to all of my Validation Rule

We still are getting many validation rule errors that are "breaking' our rollups. Are there any next steps that I can take? 

9 个回答
0/9000