Integrity checks and error reports
Certain architectural differences in Litium and inRiver may make some data not published in Litium, and inRiver Litium connector has a integrity check scheduled task to detect bad data if present.
The integrity check task periodically check for following and generates a error file, if voilations are found.
- check whether each Litium assortment has an inriver id, and can be traced back to corresponding inRiver ChannelNode. You should consider deleting the assortments that are reported as bad and out of sync, since they will not be updated by the connector.
- Check whether each category is valid and have a correct inRiver id and can be traced back to inRiver channelNodes. If not, they should be removed.
- Check whether each base product and variants are valid and have a correct inRiver id and can be traced back to inRiver entities. If not, they should be removed.
Configuring the scheduled task
in Litium web.config, under scheduled tasks, add the following entry:
<scheduledTask type="Litium.AddOns.InRiver.Integration.InriverDataIntegrityCheckTask, Litium.AddOns.InRiver.Integration" startTime="00:30" interval="1d" />
You may automatically remove the inconsistent items if you set the RemoveInconsistantItems parameter. then the config would look as follows.
<scheduledTask type="Litium.Studio.AddOns.InRiver.Integration.InriverDataIntegrityCheckTask, Litium.Studio.AddOns.InRiver.Integration" startTime="00:30" interval="1d" parameters="RemoveInconsistantItems" />
The generated error report can be viewed in Litium backoffice, in Product > Panels > Inriver Error Logs (Note that the error logs are not automatically refreshed, you need to refresh your browser to see the latest!)
