Hi,
I am using CWS to upload files to content server.
if the destination folder does not exist, I create it and put the file in it.
The problem occures when I am uploading multiple files.
The first one works as expected. when the following file is uploaded, the application searches, if its destination node exist.
It doesnt find it (i guess due to the delay in adding it to the search index), and also try to create the node.
the CS returns an error of duplicate node creation.
I tried searching with "search api" but the problem persist.
How can i make sure the node was created before i try to search it?
Thanks