Skip to main content
Oct 31, 2021 8:10 AM UTC
Solved

What is the maximum time for the service execution

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. 

Oct 31, 2021 8:40 AM UTC

Hello @AP_9587236 , 

Look at Timeout property value under WSCommunicationSubsystem Configuration. 

 

Thanks, 

Shirish

3 replies

Oct 31, 2021 8:40 AM UTC

Hello @AP_9587236 , 

Look at Timeout property value under WSCommunicationSubsystem Configuration. 

 

Thanks, 

Shirish

Dec 27, 2021 1:06 PM UTC

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 

Oct 31, 2021 1:34 PM UTC

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