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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Problem with QueryNamedPropertyHistory with query

Carl985
12-Amethyst

Problem with QueryNamedPropertyHistory with query

Hi All,

 

I have a problem with  QueryNamedPropertyHistory. I want to run the Query based on another properties value this property is logged but not persisted and on the same thingshape. When I run the query with a query not defined it returns the values but when I set the query to what I need it returns no values why is this? or could you please provide an example.

 

Carl985_0-1643916461840.png

this is my query

{ "filters": { "fieldName": "MachinePartNumber", "expression": "3351", "type": "Matches" } }

Carl985_1-1643916764763.png

Thanks in advance

ACCEPTED SOLUTION

Accepted Solutions
VladimirN
24-Ruby II
(To:Carl985)

 Hi,

 

There was a similar question before - "Problem with service QueryNamedPropertyHistory": https://community.ptc.com/t5/ThingWorx-Developers/Problem-with-service-QueryNamedPropertyHistory/td-p/523974

View solution in original post

3 REPLIES 3
VladimirN
24-Ruby II
(To:Carl985)

 Hi,

 

There was a similar question before - "Problem with service QueryNamedPropertyHistory": https://community.ptc.com/t5/ThingWorx-Developers/Problem-with-service-QueryNamedPropertyHistory/td-p/523974

Carl985
12-Amethyst
(To:VladimirN)

Thank you sorted now 

VladimirN
24-Ruby II
(To:Carl985)

You're welcome.

Announcements


Top Tags