Workflow / Process Automation (16%) Flashcards
What is and what is included in salesforce flow?
The product that encompasses building, managing, and running flows and processes.
Flow Builder: a point-and-click tool for building flows.
+Flows: The part of salesforce flow that
automates a business process.
Process Builder: Simpler point-and-click tool than Flow builder that automates business processes
+Processes: The part of the salesforce process that automates.
Workflow rules
Sets workflow actions into motion when certain conditions are met, either immediately or on a scheduled time
What are the 3 options to chose from when a workflow should trigger.
When a record is created.
-The workflow will only be triggered once when a record is first created.
When a record is created and every time it’s edited.
-The rule will fire when a record is created and every time the record is updated as long as the record meets the rule criteria
When a record is created, and every time it’s edited to subsequently meet criteria.
- When a new record is created, or if an existing record is changed from not meeting the rule criteria to meeting the criteria, the workflow will fire.
Rule criteria
2 ways to define the logic
Is the logic which determines if the rule should fire
Criteria are met:
Allow selection of fields and filter criteria that are combined with logic operators
Formula evaluates to true:
A formula needs to return a value of “True” or “False”
Tasks
Can be created to complete a certain function and then are assigned to particular users or record owners
Daily limits of emails
1,000 emails can be sent from email alerts per salesforce license per organization.
2,000,000 emails can be sent organization wide.
Email alert recipient can be
A single user or group of users
What happens when the daily allocation limit for email alerts has been reached
Any emails in the workflow queue left over will not be sent and will be discarded the day after. An Error message will show on the debug log.
Outbound messages
Send data from an object to an external system
Immediate actions
Are associated with a workflow and fire immediately when the workflow criteria is met
Time-dependent actions
Allow users to choose when the workflow actions should be executed
Time Triggers
Can be defined using standard or custom date and date/time fields for the objects. The valid range is 0 to 999 days or hours
Approval process
Allows defining a series of steps to automate the process for approving records
Workflow rules and approval processes support the following actions
Email Alerts, Creating Tasks, Field Updates, Outbound Messages
Lightning process builder
Is a process automation feature that is similar to standard workflow but with more powerful functionality and a drag-and-drop visual interface
what should you use for if/then requirements
Process builder or Flow builder if it needs more complex functionality
What’s the main limitation of Process builder compared to workflows?
It cannot sent outbound messages
Why would process builder be used?
To define a series of conditional actions that are invoked when a record is created or updated.
Process builder considerations
Infinite Loops:
Make sure that the processes aren’t
setup to trigger each other resulting in a never ending process.
Implementation:
Process Builder actions are executed in
the order they appear in the process
definition
Chatter Tasks: Process Builder can be used to automate chatter tasks using groups, group memberships, topics, and topic assignments.
Supported Fields:
Process builder only shows supported
options in the field picker
What the process builder actions (11)
Apex, Create a record, Email Alerts, Flows, Post to chatter, Processes, Quick Actions, Quip, Send Custom Notification, Submit for approval, Update Records.
Process Builder: APEX
Ideal for getting complex calculations done or to trigger another code based business process
Process builder: Flows
Ideal for performing operations that includes getting a user input/ deleting records/updating un-related records etc.
Process builder: Processes
What is is and when would you use it over workflow
Point and click tool that allows you to automate your business processes.
You would use it over workflows if you needed to do outside of the 4 things workflows does, needed execution to be in order, or if you just need other fields to be updated outside of what workflow offers.
Process builder: Quick actions
Can be used to invoke quick actions that create a record, update a record, or logs a call. Global or Object Level actions