Skip to Content
Former Member
Sep 16, 2017 at 07:06 PM

Change detection service - In a custom cron job program for Customer and Address 6.1 Version


Hi Experts,

Our requirement is to collect the delta customers(using a custom cron job) and also detect the delta addresses for these customers. I am using method getChangeForExistingItem to fetch the changes.

final ItemChangeDTO changeCustomer = getChangeDetectionService(). getChangeForExistingItem(customer,"streamcustomerc4c");

Customer above has the customer model(which I fetched using flexible query, fetching all customers and detecting change in a loop). Issue here is, sometimes I see the change is not detected. Can anyone please suggest me , if the way I am doing is correct or do I need to change the logic here.

Regards, Lavanya K