What is the desired functionality that you are missing?
As a User, I would like to be able to see the import progress (in percentage) from the different engines that are connected to Optimize in the user interface (e.g. when hovering over the connection status in the footer).
In combination with OPT-4774 this will also allow me to monitor if the import works as expected.
Context: At the moment in the footer it does not make sense to display all timestamps since technically Optimize has multiple different import jobs running in the background (process instances, activities, variables, decision, etc). Displaying all of them in the footer would overwhelm the user. Additionally, there are many scenarios where it actually can make sense that the last import date does not move - e.g. since the engine does not have new data. This would mean the user would even need all timestamps from latest insert in the engine. Therefore the timestamps will rather be used to automatically calculate a meaningful import progress percentage that makes more sense to the user. In case errors occur during the import, OPT-4774 will additionally display warnings.
Which problem are you going to solve with this functionality?
As a User, it is hard to know when the data is up-to-date. It should be always the latest state, but when there is a high load on the engine and Optimize is not able to pull data quickly enough, there might be some small delay.
In UI:
- Percentage as described below
Calculate Progress Percentage based on:
TOI - Timestamp of oldest imported entity (on Optimize Side)
TLI - Timestamp of last imported entity (on Optimize side)
ELT - Latest timestamp from entity in engine
Import Progress = (TLI - TOI) / (ELT - TOI) * 100
--> Note: This is similar to how we do it with the Event Based Process Publishing (maybe even the same).
This is the controller panel for Smart Panels app
- is related to
-
OPT-5917 Show last timestamp of data imported from engine
- Open
- links to