Developer forum

Forum » Integration » RE: Missing Log Files

RE: Missing Log Files

Casper Andersen
Reply

Hi DynamicWeb

I have a data integration service running on a live website.

Very basically it takes all the new orders from a webshop and puts the data into a CRM system.
This has been running fine now for a month or 2. but a couple of days ago we where noted that some data was not sent over correctly to the CRM system.

I went to check the logs, but i could see that all the items in the CRM system that where faulty,

Also where not to be found in the data integration log. (I transfer the ORDERnumber to the CRM system so we can always find our way in the data integration logs)

 

Any idea why this could have happened ?

Regards Casper Andersen


Replies

 
Jonas Krarup Dam
Reply

Hi Casper,

I haven't heard of Data Integration activities running without writing anything to log - there should at least be some  sort of aborted attempt to run it, or something.

Are you using Data Integration Scheduled tasks to export the orders?

I'm not sure I understand how you would see in the Data Integration log which orders where transfered - unless you're using a custom DestinationProvider?

Regards, Jonas

 

 

 
Casper Andersen
Reply

That is exactley what i am doing, i am using the order provider to get the orders from dynamicweb and then using my own custom destination provider to transfer them to the CRM system. but as you said it is very wierd that no log files was created at all, what i did was i went to the log folder and ordered by date and then read the last 2 days and it skipped a batch of orders with no log files at all.

And yes i am using a scheduled tasks to run the integration service twice a day

 
Jonas Krarup Dam
Reply

Well, it's really tough to guess - the scheduled task is triggered by a windows scheduled task - is there any chance that one has been skipped?

In the "official" Integration framework implementation, we make sure to set an externalOrderId on the order, once it has been exported, and then we use this to ensure that all orders that have not been exported (that is, without an externalOrderID in the database) are included in the next transfer.

This way, a temporary failure does not result in missed orders.

If your destination provider adds the orders directly to the CRM system, it might be an idea to extend it with code that pulls the new CRM orderID, and adds that to the dynamicweb database - this helps with tracability as well :-)

/Jonas

 

 

You must be logged in to post in the forum