We are making a call from CMIS API to alfresco to upload documents. Here we are having a rule to move documents from document library into different folders based on metadata. As we are uploading files in bulk, rule gets executed concurrently on multiple files. Due to this, it is trying to create the same folder multiple times. As a result, some of the files are not moving into the destined folder. On a few occasions, all the files are getting uploaded correctly and sometimes, only one or two gets uploaded correctly. If the folder already exists, it shouldn't look to create the folder again but it is trying to do so here. In logs, we see the error "File or folder already exists".