Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

A company built a custom Apex action invoked by an Employee Agent to fetch data...

A company built a custom Apex action invoked by an Employee Agent to fetch data from an external API. The callout method uses the current user’s Salesforce session ID to authenticate the callout. The external callout works perfectly in the UI, but silently fails when the agent triggers it.

What is the architectural best practice to fix this?

A.

Explicitly extend the Apex class security to the logged-in user’s profile.

B.

Ensure the Employee Agent is assigned the Agentforce Service Agent User permission set group.

C.

Replace the session ID retrieval with a Named Credential.

Agentforce-Specialist PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now Agentforce-Specialist pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"