Courseiva
Agentforce AI →hardMultiple Choice

SF-Admin Agentforce AI Practice Question

An administrator at AW Computing is building an Agentforce Service Agent that must answer questions about open cases using a Flow action. The flow's input variables are declared as Text, but the agent must pass a Case Id value. Testing shows the action fails to return results. Which change should the administrator make to the action configuration?

⚠ Common exam trap

The trap here is expanding permissions or reshaping values when the real defect is a mismatched input type and missing mapping between the action and the flow.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Change the flow's input variable from Text to an Id-compatible type and ensure the agent action maps the Case Id to that input.

The action fails because the value the agent supplies and the input the flow expects do not align. Correcting the flow's input variable to an identifier-compatible type and explicitly mapping the Case Id in the agent action configuration lets the identifier flow through, after which the flow can query and return open-case details. Record variables, formula concatenation, and broad permissions all target the wrong layer of the problem.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Add a formula resource in the flow that concatenates the Case Id with an empty string before use.

    Why it's wrong here

    String concatenation does not resolve a type contract between the agent action and the flow input; it merely reshapes the value after it has already been passed. If the input mapping is missing or mismatched, the flow never receives a usable identifier, so adding a formula resource treats a symptom and leaves the action failing.

  • ✓

    Change the flow's input variable from Text to an Id-compatible type and ensure the agent action maps the Case Id to that input.

    Why this is correct

    The failure occurs because the agent passes a Case Id that the action must accept in a compatible input. Aligning the flow's input variable with an identifier-capable type and explicitly mapping the Case Id in the agent action configuration ensures the value is delivered correctly, allowing the flow to query and return open-case results as intended.

  • ✗

    Convert the flow's input variable to a Record variable typed to the Case object and map the Case Id into it.

    Why it's wrong here

    Record variables carry an entire record rather than a single identifier, and they add complexity without addressing the mismatch. The agent can supply an Id as text, so changing the variable to a Case record type is unnecessary and would require additional mapping, making the action harder to configure while not fixing the underlying data-type handling.

  • ✗

    Grant the agent user the View All Data permission so it can read any case regardless of ownership.

    Why it's wrong here

    View All Data widens record visibility but has no bearing on whether an input value reaches the flow correctly. The action fails before data access becomes relevant, so expanding permissions would not produce results and would unnecessarily broaden the agent's access beyond what answering the customer's own case requires.

About these practice questions

Courseiva writes every SF-Admin question from scratch — 202 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Salesforce exam blueprint

This SF-Admin practice question is part of Courseiva's free Salesforce certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SF-Admin exam.