You need to sign in to do that
Don't have an account?
How to create a unique account name collection variable in Salesforce flow?
Hi,
I want to create a unique account(unique account name) collection variable in Salesforce flow using get record element, we have duplicate account name(multiple account with same name) and I want to skip sames name account in my collection variable.
Regards,
Krishan Gopal
I want to create a unique account(unique account name) collection variable in Salesforce flow using get record element, we have duplicate account name(multiple account with same name) and I want to skip sames name account in my collection variable.
Regards,
Krishan Gopal
Greetings!
If you want different name accounts, Please use logic in flow.
Because there is no DISTINCT in the SOQL query.
So please use loops in flow and assign records in a new resource before checking the name contains in the resource.
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi
Thanks for your quick response!
Let me explain i have an object vendor cost sheet(custom object) and i wanted to issue bulk purchase order to the vendors(account object lookup at vendor cost sheet) associted with vendor cost sheet.
I create a flow in which i use get record element to get all the vendot cost sheet records and then I loop thorugh the vendor cost sheet and create a purchase order and then create purchase order line items based on the entries in vendor cost sheet.
Continue in next post
Continue in next post