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

Mastering Agentforce: The Power of Agent Script

Hi, In the rapidly evolving world of AI, the challenge for developers has always been balancing the creative reasoning of Large Language Mod...