Process Automation & Business Logic Flashcards
Q. What is process automation in Salesforce?
A. The use of built-in tools to automate repetitive tasks, enforce business rules, and streamline workflows.
Q. What are the main automation tools in Salesforce?
A. Workflow Rules, Process Builder, Flow, Approval Processes, and Apex Triggers.
Q. When should you use declarative automation instead of Apex?
A. Use declarative tools (Workflow, Process Builder, Flow) when possible to minimize custom code and simplify maintenance.
Q. What is a workflow rule in Salesforce?
A. A rule that automates actions (field updates, email alerts, tasks, outbound messages) when specific conditions are met.
Q. What are the four actions available in Workflow Rules?
A. Field updates, email alerts, tasks, and outbound messages.
Q. Can a workflow rule trigger another workflow rule?
A. No, workflow rules do not trigger other workflow rules.
Q. What is the order of execution for a workflow rule?
- Salesforce validates the record
- Executes before-save triggers
- Executes workflow rules
- Executes after-save triggers
Q. What are the limitations of workflow rules?
A. Cannot perform complex multi-step logic, update unrelated records, or delete records.
Q. What is Process Builder in Salesforce?
A. A point-and-click automation tool that allows users to define processes that trigger actions based on record changes.
Q. What are the key actions supported by Process Builder?
A. Field updates, email alerts, tasks, posting to Chatter, invoking Apex, launching flows, and creating records.
Q. How does Process Builder differ from Workflow Rules?
A. Process Builder is more powerful, supports multiple criteria, can update related records, and can call flows.
Q. What happens when multiple processes are triggered in Process Builder?
A. They execute in the order they were created, but Salesforce does not guarantee execution order.
Q. What are the limitations of Process Builder?
A. Cannot delete records, does not support complex loops, and may cause performance issues with large datasets.
Q. What is Salesforce Flow?
A. A low-code automation tool that allows users to build complex logic, collect data, update records, and perform actions.
Q. What are the different types of flows in Salesforce?
A. Screen Flow, Auto-Launched Flow, Record-Triggered Flow, Scheduled-Triggered Flow, and Platform Event-Triggered Flow.