function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bob_zBob_z 

Missing lightning component in flow builder

I am trying to create a new flow with a rich text component (NewRichTextCop), but it is not showing up in my flow builder. 

Has anyone seen this before?

User-added image
Raj VakatiRaj Vakati
I guess its only one  and you need to switch between text and rich text 


The text to display to the flow user. Click to switch between the plain text editor and the rich text editor. Using the rich text editor saves the content as HTML.


https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_designer_elements_screen.htm?search_text=rich
Bob_zBob_z
I am missing the lightning component (NewRichTextCop) from my list of resources. I'm not sure why.
Raj VakatiRaj Vakati
You can use the custom lightning component in flow .. but did you enabled lighting run time for flows .. ?
Raj VakatiRaj Vakati
https://developingflow.com/2018/06/11/lightning-components-in-flow/
https://rajvakati.com/flow/
https://rajvakati.com/2018/12/02/usage-of-lightningavailableforflowscreens/
Bob_zBob_z

Yes runtime for lightning flows is checked
User-added image

My screenshot of my screen element for the rich text field that is in my org looks like the following when i run the flow.    

User-added image
Megha Lohia 10Megha Lohia 10
Hello,

I want to add custom flow in lightning app builder but I unable to see my custom flow in the screen .

anyone help me please?
Kamlesh ChoudharyKamlesh Choudhary
Hi Megha,
There are few Points
1> Are your user have access of flow permission.
2> Are your newly created Flow is active ?
3> Add your flow on screen by simple drag and drop(from Left side to ur screen)
4> If you have more then one Flow then selecte the flow(aFlowfter drag drop on screen ) and in properties window you can select the required one.
Stéphane VinuesaStéphane Vinuesa
Hello, it is a pretty old post yet for a custom component to be available in the Custome Screen Components, you have to make sure the js-meta.xml file of your component include :
  • lightning__FlowScreen as a target
  • true for the isExposed parameter
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>50.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightning__FlowScreen</target>
    </targets>
</LightningComponentBundle>

Hope this helps.