Automation Hour 8/16/19

Are you following Salesforce best practice?

Build in a test environment

For each object, use one automation tool

Have only one record-change process per object

Automation Fundamentals

What Mode is your automation running in? (User or System mode)

What triggers your automation to run?

(User clicks button or link, User accesses Lightning page, Community page, Visualforce page, or custom tab, User accesses item in a utility bar, Process starts, or Apex is called, Record is changed, Invoked by another process, Platform event message is received)

Order of Operations

https://developer.salesforce.com/docs/atlas.en-us.220.0.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm

Limits

Workflows (no limits)

Process Builder , Flows and Apex (SOQL and DML limits)

https://help.salesforce.com/articleView?id=flow_considerations_limit_transaction.htm&type=5

Automation Theory (State Machines vs Process Engines )

https://medium.com/@apeattie/salesforce-process-builder-best-practices-24e674b2b2b1