Forum Replies Created

  • Neha

    Member
    September 3, 2021 at 5:16 am in reply to: How can we find my record ID in flow in Salesforce ?

    1Create A Variable In Your Flow To Store The Record Id

    Let's create a variable called recordId, we will then assign the Id of the current record to this variable so it can be used in our flow.

    You can also create other variables in the flow and pass values to them from a lightning page as well if you need to

    Few things here.

    Created a variable with the data type of textNamed it recordIdSelected Available for input - this allows us to reference the variable when editing a lightning page.

    By selecting the option Available for input you can see this variable now when you view the flow from a lightning page.

     

    2. Edit The Lightning Page That The Flow Is On

    When adding the flow to the lightning page we can now see the recordId variable available. Here we can select the option to Pass record ID into this variable.

    Now the variable recordId in the flow has the current records Id value and can be used as needed in the flow.

     

     

    • This reply was modified 3 years, 3 months ago by  Neha Dongre.
    • This reply was modified 2 years, 9 months ago by  Forcetalks.
    • This reply was modified 2 years, 9 months ago by  Forcetalks.

Popular Salesforce Blogs

Popular Salesforce Videos