cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Deleting Entries from Value Stream

giladl
5-Regular Member

Deleting Entries from Value Stream

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

4 REPLIES 4
paic
1-Newbie
(To:giladl)

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.



giladl
5-Regular Member
(To:giladl)

It's works,

Thank you for the quick response.

Gil.

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?

Top Tags