LearnFrenzy
Sign in Take a free test

Salesforce Admin interview · Set 5 of 6

Automation for Admins: Validation, Approvals and Assignment

  • 6 follow-up questions
  • 4 key points
  • Code examples
Test yourself

Simplest tool that works

Use declarative tools first — validation, assignment, approvals and Flow — and reach for Apex when complexity or volume demands it. Know which legacy tools are retired.

  • Data rulesValidation rules and formulas.
  • RoutingAssignment, escalation and auto-response rules.
  • ProcessApprovals, Flow and migration from legacy tools.

Automation is where admins create the most value — and the most risk. Interviewers check that you choose the simplest tool that works, know the retired tools (Workflow Rules and Process Builder) and can build approvals and routing correctly.

1. Which automation tool should you use?

Choosing an automation tool

What do you need to do?

  • Block bad data→ Validation rule
  • Route new Leads or Cases→ Assignment rules (and Omni-Channel)
  • Formal sign-off→ Approval process (or Flow Approval Orchestration)
  • Update, create, notify on record changes→ Record-triggered Flow
  • Complex logic, large volumes, integrations→ Apex

Workflow Rules and Process Builder are retired for new automation; migrate them to Flow with the Migrate to Flow tool.


2. How do validation rules work? Give two examples.

A formula that returns true when data is invalid, blocking the save with your message (optionally next to a field). Keep messages specific so users can fix the problem.

/* Phone must be 10 digits when provided */
AND(NOT(ISBLANK(Phone)), NOT(REGEX(Phone, "[0-9]{10}")))

/* Close date cannot be in the past for open opportunities */
AND(NOT(IsClosed), CloseDate < TODAY())

3. Explain how an approval process works.

Approval process lifecycle

  1. Entry criteriaWhich records can be submitted (Discount > 20%)
  2. Initial submissionRecord locked; field update or email
  3. Approval stepsManager, then finance — with step criteria
  4. Final approval / rejectionUnlock, update status, notify
  5. RecallSubmitter can withdraw if allowed

4. What are assignment rules and escalation rules?

Assignment rules decide who owns a new Lead or Case (a user or queue) based on criteria — for example South-region cases to the South support queue. Escalation rules reassign or notify when a Case stays unresolved past a time limit, measured with business hours. Only one assignment rule can be active per object.


5. What are auto-response rules and email templates used for?

Auto-response rules send an automatic email to the person who submitted a Web-to-Lead or Web-to-Case form, using an email template chosen by criteria — for example a Hindi or English acknowledgement. Email templates (Lightning, Classic or Visualforce) merge record fields into messages.


6. Why were Workflow Rules and Process Builder retired?

Having several tools that fire at different points in the order of execution made orgs hard to understand and slow. Flow can do everything they did — and more — with better performance (before-save flows) and debugging. Salesforce ended support for creating new workflow rules and processes and provides a migration tool.


7. How do you avoid automation conflicts on one object?

Document all automation per object, consolidate where possible (fewer, well-organised record-triggered flows with entry conditions, and use trigger order), avoid duplicating logic in Flow and Apex, and test the full save with realistic data in a sandbox.


8. What is a scheduled path or time-based action?

In a record-triggered flow, a scheduled path runs later relative to a date field or the trigger time — for example remind the owner three days before Close Date. It replaces workflow time-dependent actions.


Remember

Key points

  • Validation returns true = error

    Write the invalid condition.

  • One active assignment rule

    Per object, many entries inside.

  • Workflow and Process Builder retired

    Build new automation in Flow.

  • Document automation per object

    Avoid conflicts and duplicate logic.

Interview drill

Follow-up questions

What the interviewer asks after your first answer. Turn on practice mode, answer each one aloud, then reveal.

  1. 1 Can an approval process have parallel approvers? Intermediate

    Yes — a step can require approval from several approvers, with unanimous or first-response settings.

  2. 2 How do you let approvers respond from email? Basic

    Enable email approval response; approvers reply with Approve or Reject in the email.

  3. 3 What are Web-to-Lead and Web-to-Case? Basic

    Generated HTML forms that create Leads or Cases from your website, used with assignment and auto-response rules.

  4. 4 What does ISCHANGED do in a validation rule? Intermediate

    It returns true when a field's value changed during an edit, so you can restrict changes (for example, block editing Amount after Closed Won).

  5. 5 What is PRIORVALUE? Intermediate

    A function returning a field's previous value in validation rules and formulas used in automation.

  6. 6 How do you notify a Slack channel or Teams when a big deal closes? Advanced

    Use a record-triggered flow with a Slack action (Salesforce for Slack) or an HTTP callout/integration action to Teams.

Preparing with friends?

Share this page with your study group or placement batch.

Search LearnFrenzy

Esc

Quick links