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.
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In