Brief summary of the bug. What is it ? Where is it ?
After data has been generated for the dev cloud environment, Operate and Optimize show a different number of process instances. Interestingly, in the given environment, the count is correct for v1 of the instance, but v2 and v3 of the instance show no data.
Example is invoice definition in this environment: https://console.cloud.ultrawombat.com/org/6ff582aa-a62e-4a28-aac7-4d2224d8c58a/cluster/d198671f-f23e-4583-9401-a9f2bbadc159
Expected result:
Optimize should show a consistent data count with Operate and Tasklist
Hints:
It could be that there is a problem in the Optimize process instance import. Equally, it might be how the data is generated in the data generator: https://github.com/camunda-cloud/operate/blob/master/data-generator/src/main/java/io/camunda/operate/data/develop/DevelopDataGenerator.java