Skip to main content
Nintex Community Menu Bar
Question

Visualforce Remoting Exception: Apex CPU time limit exceeded

  • July 10, 2024
  • 4 replies
  • 27 views

Forum|alt.badge.img+18

Just curious if anyone’s run into this error before?

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+18
  • Author
  • July 10, 2024

Is there a way that I can call .save() on a model that will make sequential save calls, so I don’t run into these time limits?

I have a model where 6000+ rows have changes… Any way to just save some rows? and then save some more?


Forum|alt.badge.img+17

I believe that is the error I got on an Apex Async Job that brought in data from an external data source. We broke the job into three separate jobs and it fixed the problem (as I remember). That obviously doesn’t help you with Skuid. Sorry…


Forum|alt.badge.img+4

Did you ever figure out how to perform model saves in a partial or sequential manner?


Forum|alt.badge.img+18
  • Author
  • July 10, 2024

No.

Instead of changing all 6000+ rows at once, we just change a few, save, query again, change, save, etc…