Issue
- When using notifications as part of the workflow, when triggered in a State node, the notifications are generated but when they are selected, the following exception appears in the logs
2023-05-09 20:47:25.666 ERROR [http-nio-8080-exec-9][WorkflowTaskUserNotificationHandler:295] null
com.liferay.portal.kernel.workflow.WorkflowException: com.liferay.portal.workflow.kaleo.exception.NoSuchTaskInstanceTokenException: No KaleoTaskInstanceToken exists with the primary key 0
Environment
- Liferay DXP 7.4
Resolution
- This issue occurred because the logic erroneously assumed that there will be a workflow Task associated with it, which is not always true for every case, as there can be Workflow Notifications that do not have Tasks associated with them.
- This is a known issue and the fix for this issue can be found in LPS-184878 and has been fixed as of Update 78 for Liferay DXP 7.4
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