Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.




Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.




Arun Patidar