Hi Guys,
In our project we are not able to edit metadata property of the DAM Asset, so we were doing some testing in lower environment. While doing some testing i have deleted "Dam-metadata-update" workflow from the path etc/worklfow/models and then tried my test cases, but after that i found that The asset is not showing in GUI. Also we are getting error in error.log. We have done the latest code deployment but still we are getting the error.
30.06.2021 00:00:02.250 *ERROR* [127.0.0.1 [1625011202235] GET /bin/workflow/inbox HTTP/1.1] com.adobe.granite.workflow.core.model.WorkflowModelCacheImpl cannot load model. id: /etc/workflow/models/dam-update-metadata/jcr:content/model vid: 1.39
com.adobe.granite.workflow.model.VersionException: Version error retrieving workflow model /etc/workflow/models/dam-update-metadata/jcr:content/model
at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModelFromRepo(WorkflowModelManager.java:209) [com.adobe.granite.workflow.core:2.0.240.CQ650-B0017]
at com.adobe.granite.workflow.core.model.WorkflowModelCacheImpl.getModel(WorkflowModelCacheImpl.java:191) [com.adobe.granite.workflow.core:2.0.240.CQ650-B0017]
at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:114) [com.adobe.granite.workflow.core:2.0.240.CQ650-B0017]
Caused by: javax.jcr.version.VersionException: No such Version: 1.39
at org.apache.jackrabbit.oak.jcr.delegate.VersionHistoryDelegate.getVersion(VersionHistoryDelegate.java:83) [org.apache.jackrabbit.oak-jcr:1.22.6]
at org.apache.jackrabbit.oak.jcr.version.VersionHistoryImpl$5.perform(VersionHistoryImpl.java:137) [org.apache.jackrabbit.oak-jcr:1.22.6]
at org.apache.jackrabbit.oak.jcr.version.VersionHistoryImpl$5.perform(VersionHistoryImpl.java:133) [org.apache.jackrabbit.oak-jcr:1.22.6]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207) [org.apache.jackrabbit.oak-jcr:1.22.6]
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112) [org.apache.jackrabbit.oak-jcr:1.22.6]
at org.apache.jackrabbit.oak.jcr.version.VersionHistoryImpl.getVersion(VersionHistoryImpl.java:133) [org.apache.jackrabbit.oak-jcr:1.22.6]
at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModelFromRepo(WorkflowModelManager.java:192) [com.adobe.granite.workflow.core:2.0.240.CQ650-B0017]
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @seemak19887037 ,
Might be because, an active work item for workflow model exist. Try purging-
Check below thread-
Also, check this if it helps-
https://helpx.adobe.com/nz/experience-manager/kb/cannot-read-workflow-model-error.html
Hi @seemak19887037 ,
Might be because, an active work item for workflow model exist. Try purging-
Check below thread-
Also, check this if it helps-
https://helpx.adobe.com/nz/experience-manager/kb/cannot-read-workflow-model-error.html
Hi @Ritesh_Mittal ,
This is the result when i run the "purge active". As i am first time running this, so i am not sure if i have dne it correctly or not. So, Could you please help me here.
Hi @seemak19887037 ,
You need to use either "true" or "false" value for dry run option.
Please refer this
https://helpx.adobe.com/experience-manager/kb/workflow-monitor-via-jmx.html
Views
Replies
Total Likes
Hi @Ritesh_Mittal ,
It worked out! Thank you so much for the solution
Views
Likes
Replies