How to Reset Salesforce Flow Limits That Cause Errors Like "Number of Iterations Exceeded" or "Apex CPU Time Limit Exceeded"
The limits are reset when the flow transaction ends. To end the transaction, we can perform these steps :
1. Autolaunched Flows :
• Pause Element: Set to 0 hours to end the transaction and clear limits.
2. Screen Flows :
• Screen Element: Ends the transaction after displaying the screen.
• Local Action: Use an empty local action to end the transaction.
Use these methods to help prevent flow errors caused by governor limits !!
No comments:
Post a Comment