Skip to main content

Questions tagged [collection-variable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

How to get the frequency of items (All text) from a collection variable in salesforce flow?

I am trying to get the frequency of each item in a collection variable. The collection variable contains all the text values from a field on the contact for different records. Out of all the values I ...
Grillz's user avatar
  • 23
0 votes
0 answers

I can't get an collection variable from flow to apex

I'm stuck on something, I did an apex code that gets all the conversion rate dated by an input which is an invocable variable and an output which is in a dedicated class to appear as collection ...
Gabriel Euzebio's user avatar
0 votes
1 answer

Assigning Flow's collection variable with WrapperList generated from Apexaction and loop over

I'm calling an apex action to an invocable method which needs to return a wrapperList. Below is my invocable method & I'm having trouble accessing the returned wrapperList within my flow so that I ...
Sam's user avatar
  • 21
0 votes
1 answer

Flow: Check if String Collection Variable is Null

In my flow I have created a String Collection Variable which I am using to store Email Addresses. I am passing the Email Address List to a custom Apex component, Send Better. If the Email List is ...
Jeff Callahan's user avatar
0 votes
0 answers

Find matching records between 2 collection variables from 2 different custom objects in Flow to prevent dupe records?

Background: I'm building a flow that bulk creates conference registrations for Custom Object 2 (COB2) using partial data from registrations in Custom Object 1 (COB1). The end user will clean and ...
sfwarrior's user avatar
0 votes
1 answer

Clarification - Updating Collections in Flows

I'm looking for some clarification around updating record collections in Flows. I have updates that are not committing to the db, and I'm not sure why. My usual update would follow the below ...
tontoandbandit's user avatar
-3 votes
1 answer

Display Object record information in visualforce page [closed]

I have a map UserTest <Id, List<String>> which displays the User ID and related permission sets assigned to each of the users in the Visualforce page. I need to also display other ...
sourav guha's user avatar
0 votes
0 answers

Predefine the values in a collection variable

Is there a way to add text values to a collection variable from a predefined list? I have a very long list (>100 items) that I want to loop through item by item but I can't find a way to quickly ...
Hans Rogg-Desormeaux's user avatar
0 votes
0 answers

Can't assign field values in flow loop to text collection variable?

I'm trying to create a flow that loops through a child object of account (child account). The goal is to loop through various fields for each child account, e.g. platform, assign these values to a ...
jameskbw's user avatar
0 votes
1 answer

Using Collection Filter to then be used in Delete Action (flow)

I'm building a Record Triggered - After Save flow. In the flow I have a GET element that is gathering all AccountTeamMember records with a specific Account Id. (getCurrentAccountTeamMembers) ...
ieatallthechips's user avatar
0 votes
0 answers

Pass Complicated JSON between Flow and LWC, or from LWC Screen Component in Flow to another LWC Screen Component (in another step)

Hello all clever SFDC Developers, I wonder is there any way I can pass a collection of Apex-defined from Flow to Screen, working with property type and property in the typeconfig of corresponding LWC ...
고수군's user avatar
0 votes
1 answer

How can I use an Apex Trigger to start an Autolaunched Flow and pass in a collection of new records?

I have an object that receives frequent imports. We tried a record-triggered flow to handle after-save processing of related records, but we're hitting limits with import files >100 records. Record-...
Matt Henry's user avatar
0 votes
1 answer

Update Records on a Collection variable only updating one record

I've got a simple flow that gets a collection of records, loops through it to assign a new value to a single field, then add the record to a new collection. After the loop finishes, I put the new ...
Tomulent's user avatar
  • 113
0 votes
1 answer

Flow Variable collection to Flow variable

I'm trying to iterate over customobject records where there is Master-Detail lookup to Account Object on this customobject. I'm storing accountId for each customobject record into Collection Variable. ...
Watson's user avatar
  • 329
1 vote
1 answer

How to dynamically set multiple choices to a picklist of a Flow Screen using a resource of type 'Choice'

Is there any way of dynamically setting multiple choices to a picklist of a Flow Screen using a resource of type Choice? It seems a collection variable of type Choice cannot be created nor can it be ...
user73893's user avatar
  • 315
2 votes
2 answers

Flow Hitting Governor Limits

I have an issue with the following flow : I have a field source on contacts populated automatically by an external Id. Partnership is a custom object on which I can set another source field. When ...
Romain Corone's user avatar
0 votes
1 answer

Screen Flow - Convert Collection Variable into single Id

I have built a Screen Flow which has an upload file component, which I have limited to one file per Flow process. The output of this component is called "Content Document IDs" and required to be ...
TheMikeyBoosh's user avatar