Hello,
I also encountered this issue in AEM 6.5. The official documentation is not very helpful when talking about how to get your custom workflow into the system.
Adobe Experience Manager Help | Common Repository Restructuring in AEM 6.4
Any new or modified Workflow Models must be migrated to /conf/global/workflow/models.
- Deploy the modified Workflow Models into a local AEM 6.4 development instance, such that they exist in the Previous location.
- Edit the Workflow Model using AEM's Workflow Model Editor at AEM > Tools > Workflow > Models.
- When migrating modified AEM-provided Workflow Models
- With the Workflow Model Editor open, modify the browser's address URL, and replace the path segment /libs/settings/workflow/models with /etc/workflow/models.
- For example, change: http://localhost:4502/editor.html/libs/settings/workflow/models/dam/update_asset.html to http://localhost:4502/editor.html/etc/workflow/models/dam/update_asset.html
- Enable Edit mode in the Workflow Model Editor which will copy the Workflow Model definition to /conf/global/workflow/models.
- Tap the Sync button to sync the changes to the Runtime Workflow Model under /var/workflow/models.
- Export both the Workflow Model (/conf/global/workflow/models/<workflow-model>) and Runtime Workflow Model (/var/workflow/models/<workflow-model>) and integrate into the AEM project.
- For example, export:
- /config/settings/workflow/models/dam/my_workflow_model
and- /var/workflow/models/dam/my_workflow_model
From a UX point of view it's not good that you have to open a default workflow and change the URL in the browser's address to your custom model.
Also I was not able to find that "sync button" mentioned at the 3. point when I have a workflow model open in the editor.
The 4. point kind of points at duplicating your custom workflow to "/config/settings/workflow/models/dam/my_workflow_model" and "/var/workflow/models/dam/my_workflow_model", but it's not explained why that's necessary.