Sunday, 29 October 2023

How to include a screen flow in a Lightning Web Component

 Hi,

Assume  you have a flow called "Quick Contact Creation" and API Name for the same is "Quick_Contact_Creation".

To include the above flow in your component ,  set the lightning-flow component's flowApiName attribute to the name of the flow that you want to use. The component includes navigation buttons (Back, Next, Pause, and Finish), for users to navigate within the flow.

Eg:

<template>
    <lightning-flow
        flow-api-name='Quick_Contact_Creation'>
    </lightning-flow>
</template>

No comments:

Post a Comment

What’s the difference between Einstein Article Recommendations and Suggested Articles?

How Does Einstein Article Recommendations Work? Einstein Article Recommendations helps support agents resolve customer cases efficiently by ...