Questions tagged [collection-variable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
3k views

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
328 views

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
101 views

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
120 views

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
31 views

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
1k views

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
608 views

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
599 views

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
649 views

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
9k views

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
1k views

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
  • 179
0 votes
1 answer
3k views

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
  • 305
2 votes
2 answers
520 views

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
3k views

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