Skip to main content

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 answer
  1. Jul 6, 2:45 PM

    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