R1D46 Infinite Loops in Process Builder
Process Builder in Salesforce is a great way to do things based on some complex business logic without having to write triggers or a lot of the code yourself. As a trailblazer, I combined this with Queuable Apex that would grab the result of an HTTP POST method.
For some reason, this resulted in an infinite loop for me. I accidentally created 300+ Clubhouse tickets in a few seconds. The only way I could figure out how to stop this was to delete the opportunity record in order for the process to error out due to the opportunity no longer existing.
What I Learned
- More than ever, I wish that apex had feature flags. :)
- I have no idea how or why this happened, but the "solution" was to post the response URL to the salesforce record and then add a condition in the process builder to only run the process if the field was empty. This seems prone to failure, so we will see how things go.
Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.
Check out some more stuff to read down below.
Most popular posts this month
- My Custom Miniflux CSS Theme
- 2025 Reading Log
- Vagrant Box for ROS2 on Apple Silicon
- Making cgit Pretty
- Setting up ANTLR4 on Windows
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- Grow, Like a Tree Not a Cancer from Jim Nielsen’s Blog
- Pluralistic: All the books I reviewed in 2025 (02 Dec 2025) from Pluralistic: Daily links from Cory Doctorow
- DEP-18: A proposal for Git-based collaboration in Debian from Optimized by Otto
- [RIDGELINE] No Phones in The Ten-don Shop from Craig Mod — Writer + Photographer
- My next chapter with Mastodon from Mastodon Blog
- How many pillars of observability can you fit on the head of a pin? from charity.wtf
- The Software Essays that Shaped Me from Refactoring English
- Give Your Spouse the Gift of a Couple's Email Domain from mtlynch.io
Articles from blogs I follow around the net
How good engineering unlocks fast scaling
You're building systems and tools to help companies grow without drowning in work. This fuels your equity, career capital, and reputation.
via swizec.com RSS Feed December 9, 2025Binance employee suspended after launching a token and promoting it with company accounts
Binance has announced that the company has suspended an employee who used the platform's official Twitter accounts to promote a memecoin they had launched. The token, called "year of the yellow fruit", pumped in price aft…
via Web3 is Going Just Great December 8, 2025Our Overfitted Century
Cultural stagnation is because we're stuck in-distribution
via The Intrinsic Perspective December 8, 2025Generated by openring