Why do a module performs same operations (duplications)?

Hey all,

please see the attached image, I am using the Salesforce search records module to check if the lead is existed on our CRM via phone number and it performs two operations, why?

if you need further details or screenshot to assist please let me know.

Thank you!

Welcome to the Make community!

This is because every Search module will generate multiple bundles. You will need to aggregate the results of each search module if you are expecting more than one result.

Aggregators

Every result (item/record) from iterator/list/search/match module will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and can apply to many use-cases like building of JSON, CSV, HTML.

There are other types of aggregator modules, click the below links to find out more:

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

4 Likes

Thank you so much for your help!


Do you know why the “Contact ID” field doesn’t stay checked after saving?

Every time I reopen the modal, it’s unchecked again.
Even when I select the “Select All” option, some fields become unchecked again after saving.

That might be a bug with the salesforce and array aggregator combined.

For technical issues or bugs like this, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to. Additionally, sharing sensitive information about your account or scenario might not be suitable for an open forum discussion.

You can open a new ticket here, or if you are unable to login for some reason, you can create another new free account to access the ticketing system (which is only available to logged-in users). After submitting a new ticket, you will receive an automatic confirmation email with the subject “Ticket Created” in the subject. If you do not receive this, try sending the ticket again.

If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.