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.
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar