Skip to content

Chain account integrations via queueables#2

Draft
Paritoshkumar148 wants to merge 1 commit into
mainfrom
cursor/chain-account-integrations-via-queueables-4e00
Draft

Chain account integrations via queueables#2
Paritoshkumar148 wants to merge 1 commit into
mainfrom
cursor/chain-account-integrations-via-queueables-4e00

Conversation

@Paritoshkumar148
Copy link
Copy Markdown
Owner

Consolidate chained Queueable jobs and refactor child account processing to prevent "too many queueable jobs" errors.

The previous implementation created multiple chained Queueable jobs per account, and then recursively created more for each child account via a batch, quickly exceeding Salesforce's 50 Queueable jobs per transaction limit. This PR consolidates all integrations into a single Queueable job and processes child accounts synchronously or via a batch that calls synchronous methods, ensuring compliance with governor limits.


Open in Cursor Open in Web

…ove sync processing

Co-authored-by: kumarparitosh148 <kumarparitosh148@gmail.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Aug 12, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants