Error:javax.jcr.PathNotFoundException: /etc/workflow/instances/server0/2017-10-01/wso-2choice-final_159

Venkata_B 12-09-2018

We have recently upgraded form AEM 6.1 to AEM 6.3. Before upgrading, we didnt purge the workflow instances. After the upgrade, we see errors in the logs where it is unable to find  a specific node /etc/workflow/instances/server0/2017-10-01/wso-2choice-final_159. The node doesnt exist in AEM 6.3 anymore. However, I see that node on AEM 6.1.

I want to resolve the error in my logs "Caused by: javax.jcr.PathNotFoundException: /etc/workflow/instances/server0/2017-10-01/wso-2choice-final_159"

What can I do to resolve the problems?

Any help is greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar
MVP
13-09-2018

Hi,

Whenever you create workflow to publish page/assets, one instance is created for each workflow like /etc/workflow/instances/server0/2017-10-01/wso-2choice-final_159

This workflow instance represents the state of workflow, transitions, payload etc and inbox notification are also triggered for each instance.

This error is triggered(by resource-status http://localhost:4502/resource-status/editor/content/AEM63App/fr.1.json?_=1536844386443 ) when you access a page which was part of incomplete workflow and instance is deleted/or not available.

You may package those incomplete instance and install at new instance terminate the workflow to avoid this exceptions.


Answers (0)