Hi All,
On migrating for AEM 6.2 to 6.4 , Dam asset version is not getting created, getting the below error
*ERROR* [Workflow Starter Thread] com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener ERROR: Could not find model /etc/workflow/models/dam-xmp-writeback/jcr:content/model, cannot execute launcher /conf/global/settings/workflow/launcher/config/dam_xmp_writeback for content path
I have copied the workflow model from 6.2 to 6.4 on the path /etc/workflow/models/dam-xmp-writeback . The workflow model is present is the location but still getting the same error.
Any help would be appreciated.
Regards
Sofiyan
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You need to put inside /var/ folder.
This is something weird but workflows are getting picked up from /var/ in AEM 6.4
Thanks
Arun
Views
Replies
Total Likes
Hi,
in AEM 6.4 all workflows are placed inside /var/workflow/models.
You need to change workflow model location to /var/ folder instead of /etc/
Thanks
Arun
Views
Replies
Total Likes
Hi Arun,
Thank you for your quick response.
As per the Repository Restructuring in AEM 6.4, its recommend to have all workflows under /var, but it stated that AEM 6.4 support backward compatibility. So we keep the models under /etc for our project.
Adobe Experience Manager Help | Repository Restructuring in AEM 6.4
Regards
Sofiyan
Views
Replies
Total Likes
Hi,
I checked same and found below:
Legacy location is used if present and no configuration
exists in /libs or /conf locations. This way, custom workflow models are preserved.
All | /etc/workflow/models | /libs/settings/workflow/models /conf/global/settings/workflow/models | global | Legacy location is used if present and no configuration exists in /libs or /conf locations. This way, custom workflow models are preserved. | All workflow models should be moved from the legacy /etc location to /conf/global/settings/workflow/models. |
Views
Replies
Total Likes
I tried putting the launcher and model under /conf/global/settings/workflow but still the same issue.
Cannot found the model under /conf/global/settings/workflow/model
Regards
Sofiyan
Views
Replies
Total Likes
Hi,
You need to put inside /var/ folder.
This is something weird but workflows are getting picked up from /var/ in AEM 6.4
Thanks
Arun
Views
Replies
Total Likes
This should help you understand it more: Refer to point 6, we need to export both conf and var and integrate to project
Adobe Experience Manager Help | Common Repository Restructuring in AEM 6.4
Restructuring guidance | Any new or modified Workflow Models must be migrated to /conf/global/workflow/models.
|
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies