Skip to main content
7-Bedrock
October 17, 2023
Question

String tag data is updating different if we call it through service querystringpropertyhistory,

  • October 17, 2023
  • 1 reply
  • 1086 views

Value is updating correctly same as in  kepware to thingworx inside current property value, but different if we call it through abvove service.

 

 

 

 

 

 

 

 

 

 

1 reply

16-Pearl
October 25, 2023

Hello @Shivam_P_Singh 

 

As you have mentioned different values , does it means the values are not what is coming from tag or some of the values are missing?

The above mentioned service Queries the value stream for the specified string property values of the Thing in a specified time range. Are you logging your property in value stream? . If yes , does all the values are missing or there are only certain historical values which are missing here?

 

Thanks

 

 

16-Pearl
November 6, 2023

Hi @Shivam_P_Singh 

I think you checked the logged attribute for the remote bound property. With this setting, Thingworx will save property history to database and you can use query services to acquire all the VTQ change history. 

however, when Thingworx received new tag data, the new value will be queued before be saved into database by multile threads, so the update might be saved into at a different time order.

Which means it is possible for user to see partilal update history with running querystringpropertyhistory or other query services.

The only workaround is to wait several seconds till all the update saved into database.