Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

BAS-010059

Avatar

Level 2

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

1 Reply

Avatar

Community Advisor

Hi,

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

Thanks,

-Jon