Avoiding flow execution anti-patterns
You may be wondering why this topic is discussed now and not at the end of the book. Here, I would like to emphasize that we need to plan for this right from the early phases of the project, even before any development of flows is started. You, as a builder of flows, need to understand this conceptually with reference to the business process flow. Make a note on your business process flow diagram (similar to the one in Figure 3.1) so that you can revisit it as the project progresses. We will revisit the same topic in Part 3 of this book.
Just because you would like to implement a cool tool (in this case, our all-powerful Flow Builder) does not necessarily mean you should use flows for everything. It may not always make sense to implement flows all the time. Let’s look at some anti-patterns that we tend to implement. Think through it and do some exploratory analysis before you jump to conclusions.
Screen flows are good to have for your...