In a workflow, in a JS activity, to maniuplate files on the server, we use execCommand in a loop.
When we have lot of files, so lot of execommand run but not in parallel, after a period of running, some times (not always), we have the error :
13/06/2019 10:47:43 JS22 BAS-010059 Echec de création d'un thread
somebody can tell me why we have this error and how we can avoid this error, please ?
Thank you for you help community !
Consider moving the loop out of the js and into the shell command you're running.