Skip to main content
17-Peridot
October 31, 2021
Solved

What is the maximum time for the service execution

  • October 31, 2021
  • 2 replies
  • 1898 views

I am getting this error- "Error in: MACMON_MDMS_Thing.getShotDetails javascript service. Message ::Execution of Script terminated after : 39 seconds. Timeout configured for 30 seconds.". 

How to handle this error in catch block?

I want to handle this error before it throws error symbol in mashup. 

Best answer by ShirishMorkhade_238755

Hello @AP_9587236 , 

Look at Timeout property value under WSCommunicationSubsystem Configuration. 

 

Thanks, 

Shirish

2 replies

16-Pearl
October 31, 2021

Hello @AP_9587236 , 

Look at Timeout property value under WSCommunicationSubsystem Configuration. 

 

Thanks, 

Shirish

17-Peridot
December 27, 2021

I have to delete more than 20000 files in systemrepository in a single execution of service. So shall i change the Timeout property value 30 seconds to 1000 seconds ??? @ShirishMorkhade_238755 @VladimirN 

24-Ruby III
October 31, 2021

Here's article - "How to change the service Script Timeout in ThingWorx": https://www.ptc.com/en/support/article/CS314493