Posts

Showing posts with the label Records

Salesforce Flow - Create multiple records from user input

Image
Hello Trailblazers, We all know how powerful Salesforce flows are. We can achieve many functionalities using flows without writing single line of code. Recently, I came across situation where I wanted to create multiple records of an object by taking inputs from user. And I came with solution using flows where we can ask user whether he wants add another record and allow him to create multiple records. We are going to discuss that solution in this blog. We are going to use Assignment & Decision elements for implementing this solution. Here we will ask user whether he wants to add another record or not after entering details for one record. And basis on user’s input we will make decisions. We can use Loop element as well but in that case we should have idea of how many records needs to be created. With solution explained below user can create as many records. Implementation Details :  For this demo we will create flow which will take lead first name, last name & compan...