Site icon UnofficialSF

Attention Flow Apex Developers: A Chance For Glory 1 :

Requesting: An apex action that converts a CSV file into a collection of records

Looking for everlasting glory? Want to put Salesforce product managers into your debt? The library of invocable actions needs an action that takes an uploaded file Blob (presumably the Content Document created by the File Upload available in Flow) and the name of an object type (like ‘Account’) and outputs a collection of records, using the Spring ’20 support for List<SObject> variables. The action should assume that the first row of the file contains the names of field names on the record.

There are probably some useful tips to be gleaned from:

http://www.forcetree.com/2010/08/read-and-insert-records-from-csv-file.html

Skip to toolbar