Questions tagged [collection-variable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Flow to unlinks any older records beyond the earliest three records per record type

I am new to Flows but tried to achieve it with some googling. so please bear with me. So the scenario is "1. When a new Current Situation(obj) record is created, a flow fire that updates the ...
0
votes
1answer
3k views

Retrieve Value from record collection variable in flow builder

I have a pretty simple scenario but I'm not sure it will work. I created a custom metadata type for assessment questions sales reps have to do on lead. Each question has a preferred answer (e.g. ...
0
votes
0answers
11 views

Set value from collection variable to the choices in picklist field using Loop

I am using an apex action that returns a list<list> which I am storing in a simple Collection variable. I want these string values to be acted as values in a picklist field (dropdown) that is ...
1
vote
1answer
155 views

Help needed on comparing two maps - apex

Hello I have the following method but I need to compare one map with another map and then if they match carry out some action. (I need the ID as I may need to delete or update my record if it matches. ...
0
votes
1answer
229 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. ...
0
votes
1answer
180 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 ...
0
votes
1answer
895 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 ...
0
votes
1answer
412 views

Getting null pointer exception on populating map of map data

I am writing trigger to update an order line item of order related to an Account when an invoice line item is inserted corresponding to that order line item. Problem is whenever a loop is iterating ...
2
votes
2answers
219 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 ...