Task fails with the error:
Script execution timeout. (line 51, pos 9) error in custom workflow script
Script execution time limit reached.
The default timeouts are 30 seconds for export and 10 seconds for other scripts, which might not be enough.
To change the default script execution timeouts, use the string value in the registry at the machine where the script is executed for the user account on whose behalf the script is executed.
- The registry key is absent by default and should be added manually.
- The timeout value is specified in milliseconds.
- Script execution timeout is only applied for scripts in JScript and VBScript.
- To change timeouts for scripts executed under the Network Service (default for Processing Station) or other user account, it is required to modify the registry
[HKEY_USERS]branch for the corresponding user profile.
For example, for Network Service account it is the registry key