Salesforce Platform Developer I (legacy) — Question 146

A Salesforce Administrator used Flow Builder to create a flow named "accountOnboarding". The flow must be used inside an Aura component.

Which tag should a developer use to display the flow in the component?

Answer options

Correct answer: C

Explanation

The correct answer is C, 'lightning:flow', as this is the proper syntax for incorporating a flow into an Aura component. Options A and B are incorrect because they either miss the required syntax for Aura components or use an invalid tag. Option D, 'aura:flow', is also incorrect as it does not exist in Salesforce's naming conventions.