In Part 1 of Lightning Components in Flow, we looked at how to get a Lightning Component to show a list of records. This post is an extension of Part 1, so since we’re building upon it, make sure to have Part 1 done.
In Part 2, we’re going to look at how to select records and send them back to the flow, create a Lightning App Page, and be able to use this form the Salesforce mobile app as well! And all of this without any Apex! That means that we can query records, select them, send them back to the Flow, without any test classes. Now, with great power comes great responsibility, so make sure you sufficiently test your solution before you move it to production.
To start, we’re going to update our code for the Lightning Component, review what it means, and then build upon the Flow that we created. We’re also going to use an almost unnoticed update from Summer 18 for Flow sObject Collection counting, a great example of the importance of it! Ok, let’s get started!