Environment
- Liferay DXP 7.3 GA1
- Elasticsearch 7.10+
Symptom
When Liferay DXP 7.3 is configured to connect to Elasticsearch 7.10, navigating to Applications Menu > Workflow > Metrics and selecting a workflow entry (like "Single Approver") generates the errors below in the console. The functional impact consists of various elements within Workflow Metrics failing to load depending on what the user is doing.
Workaround
Stay on Elasticsearch 7.9.x.
Resolution
This is a regression introduced in Elasticsearch 7.10.0. Liferay reported this to Elastic Support and they created https://github.com/elastic/elasticsearch/issues/66057. However, later Elastic confirmed that it is not going to be addressed. Elasticsearch 7 will continue to throw an error on <Long, Object and will only accept <String, Object> moving forward so they won't be lenient.
Liferay's Workflow team has fixed it in LPS-124213, included in DXP 7.3 FP1/SP1.