Skip to main content

Questions tagged [collection]

0 votes
2 answers
277 views

I'm working on a flow that uses picklist values from a defined single-select field on a Salesforce object (in this case a list of Product Families), and uses those values to build a text-based table ...
wbrproductions's user avatar
0 votes
0 answers
68 views

EDIT: Looks like Spring '25 release will bring out exactly what I need. Too bad I need it before that is available in prod. SHORT VERSION: Collection existingSfBills contains records 1, 2, 3, 4, and 5 ...
Miguel Diaz's user avatar
0 votes
0 answers
86 views

First time typing here because this is driving me insane... I've been trying to get a json parsed record collection to use in flow. Apex class does get the information only from the first json record ...
TheTrane59's user avatar
0 votes
1 answer
239 views

I am struggling a bit with accessing individual values in list that is returned by APEX code into the flow. public class DynamicField { @InvocableVariable public String key; @...
Tomáš Vebr's user avatar
-1 votes
1 answer
513 views

I have a scenario where I need to reduce DML calls. I'm performing DML on two objects that have a lookup relationship. I'm currently collecting the records in a list of SObjects and then performing ...
THIRUPATHI THIRU's user avatar
0 votes
0 answers
227 views

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
4 votes
1 answer
189 views

Prelude According to Salesforce documentation, both Sets and Lists are considered Collections: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_collections.htm ...
Moonpie's user avatar
  • 2,788
0 votes
1 answer
89 views

class MapTask { public static void main(String[] args) { Map<KeyClass, Object> map = new HashMap<>(); KeyClass key = new KeyClass(); Object value = new ...
Vlad's user avatar
  • 1
1 vote
1 answer
105 views

Receiving unexpected error when debugging a subflow that uses a Collection Filter with formula referencing a picklist using TEXT(). Oddly enough, this validates successfully inside the subflow, but ...
Rebekah Oakes's user avatar
0 votes
1 answer
2k views

I'm trying to remove a single record from a record collection variable in a record triggered flow with the setup below, but the Remove All operator isn't working as expected. The use case is for ...
Miguel Diaz's user avatar
-1 votes
1 answer
148 views

I have a flow that creates a collection of dates of birth. my goal is to add them together and divide by the count to get the average date of birth. the amount of DOBs in the collection can change ...
la-Ola14's user avatar
0 votes
1 answer
840 views

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
1 vote
0 answers
400 views

I need to have a Map<Id, List<String>> or a Map<Id, List<Custom_Object__c>> to store this data: Id = Id of the record that is above, List<String>/List<Custom_Object__c&...
Alexia's user avatar
  • 83
1 vote
2 answers
2k views

What's the quickest way to add field values to a set? Currently, doing it in the following way Set<String> accountNames = new Set<String>(); for(Account acc : [Select Id, Name from ...
User2529's user avatar
  • 753
0 votes
0 answers
2k views

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
  • 115

15 30 50 per page
1
2 3 4 5
10