Skip to main content
17-Peridot
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. 

ShirishMorkhade
16-Pearl

Hello @AP_9587236 , 

Look at Timeout property value under WSCommunicationSubsystem Configuration. 

 

Thanks, 

Shirish

3 replies

ShirishMorkhade
16-Pearl

Hello @AP_9587236 , 

Look at Timeout property value under WSCommunicationSubsystem Configuration. 

 

Thanks, 

Shirish

Translate
17-Peridot

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 

Translate
24-Ruby IV

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

Translate