Remove records from Measurements with null start


#1

In one of our customer’s environment, we have a few measurements that have “null” start and are unable to fetch results because of this. We know the ID for which it has the “null” start datetime, so tried removing, but it did not work. Any suggestion on how to deal with this?

This is a legacy customer and we are not using Data Integrator to load data, rather we are using Extract.create to create records in the measurement type.


#2

What do you mean by so tried removing, but it did not work?

Can you share what you actually did and the error you got? you should be providing the parent id first, e.g.

PointMeasurement.removeAll('parent.id=="parentId" && intersects(id, ["id1", "id2", ...])')