Book Image

Learning Salesforce Visual Workflow

By : Rakesh Gupta
Book Image

Learning Salesforce Visual Workflow

By: Rakesh Gupta

Overview of this book

Table of Contents (14 chapters)
Learning Salesforce Visual Workflow
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 have access to the next step field, he will get an error.

  5. If the Flow doesn't have a Start element, you won't get a link to active the Flow.

  6. DML operation on a setup object is not permitted after you have updated a non-setup object (or vice versa). If...