Hi, want to know more about js.events in platform process manager. During restart if js.events is renamed to js.events_backup, will that stop flow manager from starting? Why should we clear js.events and cache to restart flow manager?
While it is "safe" to back it up by renaming, beware you will be losing the historic data of your executions (when you click "History").
Instead of that, I would rather make a copy of the file and trim the file, to a level of "last X days" or "last X months".
Consider js.events as a database where it is recording your executions, and that is the data queried by FLow Manager when you click History. The more you remove, the more you won't be able to read anymore when you click "History".
Additionally, you can consider to actually parse/read this data and create your own DB or SAS table, it might be useful, to analyse executions and compare performance, as good example.
Thank you for the detailed explanation. But I would like to know why should we rename an existing js.events file when we restart the process manager. As this was considered a solution whenever the platform process manager would not start giving out error messages. Please advise