We have auto-advanced steps in the workflow which are being done by
separate processes. Once the process reads the file, it created some
data nodes in AEM and replicates those in order to persist them. Once it
calls the replicate command, we are waiting for some time so that the
next process access the correct data. So, if the wait is not there, the
next process might read incomplete/unpublished data.
The main thread is waiting for some background process to complete while
the main thread is sleeping.The workflow reads a file and stores the
processed data internally. We have called Thread.sleep in workflow
process so that internally AEM can complete its processing
Hi Team, We are using custom workflow for some data processing and have
used Thread.sleep(10000) in some method waiting. We are Catching the
InterruptedException and along with logging it we are calling
Thread.currentThread().interrupt(); As per cloud manager code scan, it
comes up as vulnerabilities. Is there any possible way to handle this.