NiceLabel Automation is an event based integration system that runs preconfigured workflows after the monitored events occurred. In many cases, users integrate NiceLabel Automation with their business system using file drops to a network location. NiceLabel Automation picks up the files and uses the file content dynamic data sources on your labels.
In some cases, you might experience randomly undetected file drops.
When you save your files to a network location, NiceLabel Automation gets the files through file-and-print sharing functionality through Windows Networking. The file sharing protocol also implements a cache on a client to speed up the return of the file and directory information. Generally, using a cache is a good idea, but in NiceLabel Automation a cache might cause consistency problems detecting the new version of a monitored file.
In case of the problems, try the following workarounds:
A Disable cache functionality for files in a network location
-
Open Windows Registry.
-
Navigate to "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters"
-
Set the following registry keys to 0:
-
FileInfoCacheLifetime [DWORD]. Set value to ZERO.
-
FileNotFoundCacheLifetime [DWORD]. Set value to ZERO.
-
DirectoryCacheLifetime [DWORD]. Set value to ZERO.
For more information see Microsoft article SMB2 Client Redirector Caches Explained.
B Use unique names of dropped files.
Change your file trigger to monitor all files of a specific type (for example, *.txt), not just one specific file (for example, data.txt). Each file dropped in a monitored folder has a unique name and is not a subject of caching.