Posts

Showing posts with the label flow variable

Salesforce Fact #4 | Pass record id to flow

How to pass recordId from the record detail page to flow? Let's say we have a flow in the record detail page and we want to pass the id of the record to the flow. To do this, 1. Create one text variable in flow say inputRecordId and select the checkbox for Available for input. 2. After creating the flow, activate it. 3. While adding the flow in the record detail page using lightning app builder, an option will be given ('pass record ID into this variable') to populate the flow variable with the record ID. Select the option. 4. Now the record id is available in the flow.