Issue
- OptimisticLockException is encountered when using task timers inside the workflow.
- Steps to reproduce:
- Add a workflow under the process builder and add two task timers performing the same task at the same time.
- Assign the workflow to any asset (Blog)
- Create an asset (Blog)
-
Result: Below error is encountered in logs:
[KaleoActionExecutorImpl:72] null
com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: javax.persistence.OptimisticLockException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [com.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceImpl#xxxx]
Environment
- Liferay DXP 7.4
Resolution
- The observed behavior is a known bug and is addressed via LPS-182166 and resolved in DXP 7.4 U76.
- In case the user needs further info regarding the LPS, please create a help center ticket mentioning the provided LPS.
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión