Daniel Ballinger 🦈

7K posts

Daniel Ballinger 🦈 banner
Daniel Ballinger 🦈

Daniel Ballinger 🦈

@FishOfPrey

Director of Product Management, Apex @Salesforce. Based in Nelson, NZ. | Canoe Polo | Former Salesforce MVP.

Nelson, New Zealand Katılım Ekim 2008
1.9K Takip Edilen4K Takipçiler
Daniel Ballinger 🦈 retweetledi
Salesforce Developers
Salesforce Developers@SalesforceDevs·
🎉 Apex now powers 100M+ monthly active users in their daily workflows. With over 350 billion monthly transactions, Apex is integral to the @Salesforce ecosystem. Its integration across the Agentforce 360 Platform drives our commitment to expanding its capabilities and empowering the developer community. 💡 Explore upcoming features from the #DF25 roadmap session: sforce.co/4ofoZ16
Salesforce Developers tweet media
English
0
2
7
721
Daniel Ballinger 🦈
Daniel Ballinger 🦈@FishOfPrey·
@msrivastav13 @PhilW_SF The Finalizer does not apply the maximum chaining depth as it was intended to be able to recover from error conditions and potentially start a new chain of queueables. That does leave another potential path for infinite recursion, but there needed to be some flexibility.
English
0
0
2
52
Phil W
Phil W@PhilW_SF·
@FishOfPrey am I right in thinking that re-enqueuing a Queueable from its Finalizer implementation does not apply the maximum chaining depth check?
English
2
0
1
82
Daniel Ballinger 🦈
Daniel Ballinger 🦈@FishOfPrey·
@PhilW_SF Thanks for raising this up again. I'll discuss it further with the ApexGuru team around the distinction between a bug and an anti-pattern.
English
0
0
1
27
Phil W
Phil W@PhilW_SF·
@FishOfPrey I hope I'm not repeating myself unnecessarily, but it strikes me that "Fetch Contacts and Associated Tasks" trailhead.salesforce.com/content/learn/… has reveals an Apex runtime bug; surely Apex SOQL should be smart enough to just get the IDs from the records in an IN binding?
Phil W tweet media
English
1
0
1
61
Daniel Ballinger 🦈 retweetledi
Mohith Shrivastava
Mohith Shrivastava@msrivastav13·
Join me and @FishOfPrey for a session on 'Deep Dive into Apex Best Practices for Apps and Agents'! During the session, we'll cover: Asynchronous Apex Trigger Recursions Agent-Specific Trigger Best Practices Managing Concurrency & Record Locking Performance Best Practices Handling Large Data Volumes System Monitoring for Apex in Agents & Apps #TDX25 @SalesforceDevs
Mohith Shrivastava tweet mediaMohith Shrivastava tweet media
English
1
4
18
740
Daniel Ballinger 🦈
Daniel Ballinger 🦈@FishOfPrey·
Bindu Nair and myself will be presenting the Apex Roadmap: What’s New and What’s Coming session at #TDX25. Major areas covered will include Zip processing in Apex, dynamic formulas, cursors, and deprecated globals. sfdc.co/ApexTdx25
Daniel Ballinger 🦈 tweet media
English
2
4
17
802
Shinichi Tomita
Shinichi Tomita@stomita·
ApexのSOQLでoffset使ってて、クエリにロングテキストエリア項目が入ってると途中で打ち切りされる。(LTA項目250個までがlimitっぽい動作)。配列アサインよりなぜかfor-loopクエリのほうが200個で少ない。たぶんundocumented。known issueにもなし。offsetは極力使わないほうがよい
日本語
3
1
12
1.1K
Daniel Ballinger 🦈
Daniel Ballinger 🦈@FishOfPrey·
@PhilW_SF The transaction finalizer was always a separate mechanism, so the corresponding AsyncApexJob always updates regardless of the presence of a Finalizer. Is the Finalizer only doing the self-re-enqueue if the Queueable failed?
English
1
0
0
43
Phil W
Phil W@PhilW_SF·
(Especially complex when there's a coordinator outside the Queueable too, trying to ensure we have a certain maximum number of Queueable instances. It's the combo of this, the self-re-enqueuing and the "gap" in status handling that makes for a hard time.)
English
1
0
0
56
Phil W
Phil W@PhilW_SF·
@FishOfPrey we have found that the status on the AsyncApexJob record for a Queueable is updated before the Finalizer for the Queueable executes. This makes it difficult to accurately count Queueables if the queueable tries to re-enqueue itself (in Finalizer) for retry.
English
1
0
1
116
Daniel Ballinger 🦈
Daniel Ballinger 🦈@FishOfPrey·
@adam17amo Yeah, Dreamforce scheduling can be tough. I'll head to the Apex booth in the platform park after if you want a quick run-through. I'll also share the slides.
English
1
0
3
117
Adam Olshansky
Adam Olshansky@adam17amo·
@FishOfPrey Apex Roadmap in the middle of the Dev Keynote 😭 Will have to catch it on Salesforce+!
English
1
0
1
114
Daniel Ballinger 🦈
Daniel Ballinger 🦈@FishOfPrey·
The timing is really good if you want a drink and popcorn at 2:30pm today.
Daniel Ballinger 🦈 tweet media
English
0
0
1
183
Mohith Shrivastava
Mohith Shrivastava@msrivastav13·
Join me and @FishOfPrey in AMC theater 15.. We are presenting the session 'Deep Dive into Advanced Apex Best Practices'
Mohith Shrivastava tweet media
English
1
1
27
1.3K