-
Task
-
Resolution: Unresolved
-
L3 - Default
-
None
-
None
-
Not defined
Context:
During PR review we noticed that the retrieval of the latest cached definition may be sorting the definitions the wrong way around and retrieving the first instead of the latest definition. See conversation here:
https://github.com/camunda/camunda-optimize/pull/8635#discussion_r1328339671
Lets double check this and fix if required.
AT:
- if required, cached definition retrieval sorting is reversed to ensure retrieval of latest definition
Testing Notes:
- Deploy v1 of definition and start process
- Create digest for definition
- Trigger email sending for digest
- Observe the definition name in the digest email
- Deploy v2 of the definition and change its name, and start a new process
- Trigger the digest again
- Observe the email contains the updated name of the process definition