Skip to main content
1-Visitor
July 17, 2020
Solved

SearchThingsByTemplate doesn't response

  • July 17, 2020
  • 2 replies
  • 1364 views

Hi,

 

I have an service which uses the SearchThingsByTemplate of SearchFunctions. In most times the service response quickly but sometime the service doesn't response or need extrem long time to response (~3 minutes).

 

The result includes only 13 Entities (Remote Devices). Maybe this has something todo with the isConnected-Check or so? I have no clue what I can do or where I can search for debugging.

Best answer by PEHOWE

@drichter ,

 

There are a couple of articles which talk about a similar issue. 

Article - CS304561 QueryImplementingThingsWithData or SearchThingsByTemplate brings system to a halt when executed in parallel by multiple users on the ThingWorx Platform 

 

Article - CS302119 Executing SearchThingsByTemplate service fails with "Unable to query implementing things : null" when maxItems is above 2500 and a query is specified in ThingWorx Platform 

 

The articles indicate that the version of ThingWorx affects the response. Can you provide the version you are using? I will let you know if I find any other information.

 

Thanks.

Peter

 

2 replies

PEHOWE17-PeridotAnswer
17-Peridot
July 20, 2020

@drichter ,

 

There are a couple of articles which talk about a similar issue. 

Article - CS304561 QueryImplementingThingsWithData or SearchThingsByTemplate brings system to a halt when executed in parallel by multiple users on the ThingWorx Platform 

 

Article - CS302119 Executing SearchThingsByTemplate service fails with "Unable to query implementing things : null" when maxItems is above 2500 and a query is specified in ThingWorx Platform 

 

The articles indicate that the version of ThingWorx affects the response. Can you provide the version you are using? I will let you know if I find any other information.

 

Thanks.

Peter

 

Community Manager
August 24, 2020

Hi @drichter.

 

If you are satisfied with the previous response, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon