A few points to remember

The following are some noteworthy points to remember:

  1. Don't perform the DML operation inside the Loop element. It will easily hit the governor limit, that is, System.LimitException: Too many SOQL queries: 101.
  2. You can't refer a Flow as Subflow if both types are not the same, either Flow or autolaunched.
  3. You can only use the Wait element in autolaunched Flow.
  4. A Flow runs in user mode and Process Builder runs in the system mode. Let's take an example if you are trying to update Opportunity the next step field:
    • If you use Process Builder to achieve it. If the running user doesn't have access to the next step field, Process Builder will be able to update it.
    • If you use Flow to achieve the same thing and the running user doesn't ...

Get Learning Salesforce Visual Workflow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.