Hello all I have an issue with a screen flow. In the print, you can see the components numbered 1 to 5. The issue is in component (5), where it's only adding one single Id, the last one, even if it allow multiple values
Account - Label = "Loja" Checklist__c.Account__c - Lookup for Parent Account Checklist_Produto__c.Checklist__c - Mater detail field for Parent Checklist_Produto__c.Product__c - Lookup for Product2 Product2
First the datamodel: Checklist_Produto__c is a joint object, between Object Checklist_Produto__c and product
and Checklist__c another joint table between Account and Checklist_Produto__c
I have admin profile, Full access to all objects and records, and the owner of the account, and Checkist__c objects
in the Salesforce UI, it all works fine. Now this is the defined screenflow:
(1) screen 1: has Lookup component to select Account Lookup: API name: lkpStore field API name: AccountId Object API name: Contact
(2) Find related Checklists
the filter set is: field: Account__c (maps to Account.id, or in the print, "Loja") Equals {!lkpStore.recordId}
(3) Store has related Checklist? Outcome "Has related Checklist"
- Resource {!Find_related_Checklists} is Null value = {!$GlobalConstant.False}
(4) Looping Checklists, collection variable: {!Find_related_Checklists}
(5) Add checklistId {!CheckListIds}
checklistId = Text variable allowing multiple entries
This is the outcome, starting with an account, with 2 related Checklist__c, each and each of those with Checklist_Produto__c related. Also all Checklist_Produto__c have related products.
Debug:
(next button)
I can see the decision passes to "Has_related_Checklist" and does have related Checklist__c
The problem is that highligted id is the only one added. i loop them all...
...But in the "Add checklistId" component, that is the only one added
I needed all the the related ones, to find all related products.
Another issue i have, is that even with that single one, i should find the related Product2. But the flow wont even enter that component.








