Highlighted

BAS-010059

Avatar

Avatar

alexandred77684

Avatar

alexandred77684

alexandred77684

13-06-2019

Hello,

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 !

Alexandre

Replies

Highlighted

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

13-06-2019

Hi,

Consider moving the loop out of the js and into the shell command you're running.

Thanks,

-Jon