I have question of how the cache to be cleared in run time at user's desktop. Runtime is loading the project from remote server. want to clear cache in need basis or in specific scenarios in user's machine.
Functionality is not working in QA Team's machine but working in Developers. Once the cache removed from AppData folder, the functionality works as expected. Most of the time, clearing the cache resolving the issue. I dont want to have the same problem in User's machine as I cannot ask to clear it.
I would like to have mechanism in automation to remove cache in specific pattern or specific scenario. (say example, when user logging in system, remove cache before loading all components). So that End user will not face these kind of issues.
Do OpenSpan has any built-in functionality to remove openspan specific cache ?
Your response is highly appreciated.
Posted: 6 years ago
Posted: 12 May 2017 10:15 EDT
Thomas Sasnett (ThomasSasnett)
Lead Robotics Architect
I still do not know what you are referring to when you use the word cache. Pega Robotics does not have anything we refer to as cache. The %AppData%\OpenSpan folder contains the config files and any logs generated when running the solution. Deleting those should not be required unless you have logging enabled and are running out of disk space. What specific issue are you having that deleting these files resolves? When you have logging enabled, the RuntimeLog.txt file is managed by Runtime depending on the FilesToKeep attribute in the RuntimeConfig.xml. If this is set to 1 (the default), starting Runtime will delete the prior log and create a new one. Setting it to a value higher than one will delete the oldest log file before creating a new one.