Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of CustomerMgr.searchProfiles() limits the result set to 1000 customers #6

Open
clstopher opened this issue Dec 5, 2024 · 0 comments

Comments

@clstopher
Copy link

The historical customer export and delta customer export both use the CustomerMgr.searchProfiles() function to retrieve customer profile data:

customerProfilesItr = CustomerMgr.searchProfiles(query, 'customerNo DESC', new Date(lastCustomerExport));

But this function is documented to only retrieve up to 1000 customer profiles:

https://salesforcecommercecloud.github.io/b2c-dev-doc/docs/current/scriptapi/html/index.html?target=class_dw_customer_CustomerMgr.html#dw_customer_CustomerMgr_searchProfiles_Map_String_DetailAnchor

  • the search will return only the first 1000 hits from the search result

This will certainly cause a problem for the historical data load, and also may cause a problem for delta loads when customer activity volume is high.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant