Hi Team,
I have recently started working on Forge development and I’m currently building a sample app based on the official tutorials. My goal is to create a scheduled job that retrieves all project details along with their associated custom fields. Additionally, for each field, the job should check whether the field context is shared or non-shared, and store this information into the project properties.
However, in our case, we have a large number of projects and fields, and the scheduled job is hitting timeout issues when processing all of them in a single run.
Could you please advise if there are best practices or strategies in Forge to handle long-running scheduled jobs efficiently? Specifically, I’m interested in how to split the workload or manage batching within Forge to avoid timeout errors during such extensive operations.