Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi,
I have a Value stream attached to a thing (the thing template...).
I would like to know how to delete rows of data from the stream so it won't over-stack :)
The perfect/optimal condition for me will be to delete properties history by timestamp.
Thank you with much appreciation,
Gil
Hi Gil,
there is a PurgeStreamEntries Service.
You must specify a Property and Date Range for it I believe.
Generally for any of our Data Stores within Thingworx, look for Services that either start with Delete or Purge for those types of actions.
It's works,
It's interesting because it seems the ValueStream only allows null-ing the property values...not the rows themselves as the service PurgeStreamEntries from a normal Stream.
The service itself is called PurgePropertyHistory, not PurgeStreamEntries, showing this behaviour.COuldn't find a way to actually delete rows from a ValueStream.
Did you purge each Property from the Stream and you still saw the rows Vladimir? i.e. just timestamp with no entries?