function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TROGTROG 

Custom List Button Passing SObj Collection to Visual Flow

Hi,
I have a custom object, X__c, that I'd like to create a custom list button to allow me to select multiple X objects and pass to a FLOW for processing.  The few examples I've found in the discussion forum use both Visualforce and a custom apex list controller.  I understand that I'll need some Visualforce, but what I'd like to avoid - if possible - is creating a custom Apex list controller...or any other Apex class/code (purely out of lack of knowledge, dev staff, fear, etc) and have the visualforce directly initiate and pass the sObj Collection variable to a FLOW.  Has anyone done this?  Can you please provide example code for your visualforce that does exactly this, and a few bullets for any tips/tricks on the FLOW side to receive the sObj Collection variable (if not straight forward)?

Thanks!