Record-Triggered Flow Design Patterns | Automate This

  Рет қаралды 33,703

Salesforce Admins

Salesforce Admins

Күн бұрын

Пікірлер: 16
@magpie2728
@magpie2728 Жыл бұрын
This episode is gold 😍 Could you do episode about how to document Flows? Thank you
@siridevasingh7496
@siridevasingh7496 2 жыл бұрын
My opinion: I started out as "One Per" a year or two ago, but after the release of flow trigger explorer we are re-designing to go "multiple". Once the automation logic in your org becomes significantly complex, the maintenance challenges associated with the "One Per" design can greatly slow down feature releases and bug fixes.
@csoutsource
@csoutsource 2 жыл бұрын
I agree with this!
@confusedguyl100
@confusedguyl100 2 жыл бұрын
Did I miss it or the concept of Transaction wasn't mentioned in the considerations for flow design patterns? The one-flow-per-object pattern may cause all automations under that flow to fail because everything is run in ONE transaction. I don't know if any admin would want that to happen. In my org, we have many automations on Opportunity object doing very different things. We certainly don't want all of them to fail just because an automation fails due to a validation rule, for example.
@ramachandra9931
@ramachandra9931 2 жыл бұрын
Q
@NarenderSingh-tq1wq
@NarenderSingh-tq1wq 2 жыл бұрын
Hey, That's a nice point and I do see your point. However, it's not a major differentiator. Every transaction is atomic in nature. So if anything fails at any point, the transaction will rollback. It doesn't really matter even if you've one flow because the decision elements in the Master flow control if the subflow should be executed or not. So, ideally, you would only expect a certain flow(s) to run for a specific update(or create). Makes sense?
@nagalingeswarareddyvempall2147
@nagalingeswarareddyvempall2147 Жыл бұрын
Can anyone help me to understand, how we can create one flow per an object to cover before, after (insert, update and delete) as we don't have options to choose?
@RVAraghav
@RVAraghav 2 жыл бұрын
Ok it’s a great topic, great speakers but spoiled by poor video quality and voice sync.
@ianroque3308
@ianroque3308 2 жыл бұрын
What is the name of vscode extension mentioned by narender to examine flow metadata inside vscode?
@dharmeshrana7548
@dharmeshrana7548 2 жыл бұрын
He said Ruban or Ruben not sure though
@gunavathibuwari6644
@gunavathibuwari6644 2 жыл бұрын
Good
@csoutsource
@csoutsource 2 жыл бұрын
I disagree with one flow per object model. As Nikhil Kapoor noted, ​the whole point of having the order in Flow Explorer is so that you can create multiple flows per object.
@PULKITMISHRA-xj1ec
@PULKITMISHRA-xj1ec 2 жыл бұрын
@KepmukNesshart
@KepmukNesshart 2 жыл бұрын
I love how in denial the one flow per object dude is. He is like “I use this flow as a trigger and then it calls all these subflows. I also have separate async and scheduled flows.” If he had one before save, one after save, and one delete, I would let that slide. But instead he has a ton of flows per object and just can’t admit he isn’t one per object anymore.
@tomhoffman1390
@tomhoffman1390 2 жыл бұрын
@kepmuk - its one flow trigger per object per event - its tough to capture the whole approach in this q&a format, the accompanying blog post might help understand the rationale better, its meant to mirror the trigger-handler-action pattern from apex design. Along those lines, in this pattern, a scheduled flow is no different than scheduling an apex class, those actions are always separate and not tied to the trigger on the object. Happy to chat on it sometime - I know there is no approach that is 100% for all scenarios - for me, its easiest to start here and let your requirements drive you elsewhere.
@alanbirchenough
@alanbirchenough Жыл бұрын
It was disappointing to hear such dogmatic opinions being expressed in this session. Not a laughing matter at all in my opinion. The discussion of pros and cons was very good and full of useful information, but the "I'll never change my mind" vibe was discouraging to say the least.
Working with Loops in Flow | Automate This
1:06:00
Salesforce Admins
Рет қаралды 84 М.
Optimize Your User Notifications with Flow Builder | Automate This!
54:47
When u fight over the armrest
00:41
Adam W
Рет қаралды 29 МЛН
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 2,8 МЛН
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 304 М.
Leverage Flows to Process Inbound Emails with Documents | Automate This!
1:12:20
Take Your Screen Flows to the Next Level with Reactivity | Automate This!
1:12:15
Andrew Ng On AI Agentic Workflows And Their Potential For Driving AI Progress
30:54
From RAG to Knowledge Assistants
27:29
LlamaIndex
Рет қаралды 24 М.
Ultimate Salesforce Flow Crash Course
1:01:34
Salesforce Ben
Рет қаралды 24 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 29 МЛН