I was just wondering if anyone had encountered to this issue with script function system.tag.storeTagHistory
We use this twice to write locally and into remote provider:
system.tag.storeTagHistory(“localprovider”,“default”, HistoryPathsArray, HistoryValueArray, HistoryQualityArray, HistoryTimestampArray)
system.tag.storeTagHistory(“remoteprovider”,“default”, HistoryPathsArray, HistoryValueArray, HistoryQualityArray, HistoryTimestampArray)
Now what we are seeing is some odd behavior regarding quarantined data:
When looking at the Store and forward quarantined message it says that we have duplicate data. However, when we look into the historical database we cannot find this data anywhere. Also when attempting to retry the quarantined data again it fails with same message.
Is it possible running the function twice is causing a problem?