nerdexam
Salesforce

AI-201 · Question #155

Universal Containers has a custom Agent action calling a flow to retrieve the real-time status of an order from the order fulfillment system. For the given flow, what should the Agentforce…

The correct answer is B. The custom action adheres to the permissions, held-level security, and sharing settings. Agentforce agent actions run in the context of the running user, meaning they respect that user's profile permissions, field-level security (FLS), and sharing rules. Option A incorrectly implies you must manually set 'with sharing' in the flow's advanced settings-flows called…

Agent Console Configuration and Customization

Question

Universal Containers has a custom Agent action calling a flow to retrieve the real-time status of an order from the order fulfillment system. For the given flow, what should the Agentforce Specialist consider about the running user's data access?

Options

  • AThe flow must have the "with sharing" permission selected m the advanced settings for the
  • BThe custom action adheres to the permissions, held-level security, and sharing settings
  • CThe Agent will always run flows in system mode so the running user's data access will not affect

How the community answered

(39 responses)
  • A
    15% (6)
  • B
    79% (31)
  • C
    5% (2)

Explanation

Agentforce agent actions run in the context of the running user, meaning they respect that user's profile permissions, field-level security (FLS), and sharing rules. Option A incorrectly implies you must manually set 'with sharing' in the flow's advanced settings-flows called by agent actions inherit the running user's access automatically when invoked through an action. Option C is incorrect; agents do NOT always run in system mode. This is a critical security consideration: if the running user lacks access to certain fields or records, the flow will reflect those restrictions.

Topics

#Salesforce Security#Flows#Custom Actions#Data Access Management

Community Discussion

No community discussion yet for this question.

Full AI-201 Practice