Button click takes too long / transaction timeout: run the heavy part in the background
Hi I am happy to share my Lesson Learned Here,You can achieve this by letting the button (UI Action or GlideAjax) only mark what needs processing and start an On Demand Scheduled Job. The job picks up the marked records and finishes in the background...