Persisting Workflow Changes in a Project
We were experiencing issues with the 1280px rendition of DAM assets, and since nobody wanted those renditions, we have decided to modify the Update Asset workflow to remove the "Create Web Enabled Rendition" step. What is the best way to persist this change as part of our project, so that the change will be applied to any new AEM instances that we launch?
The workflow is stored at /etc/workflow/models/dam/update_asset. Should we just include this node and its subtree in our project? Are there any ramifications to this approach, such as side effects if an Adobe hotfix modifies the workflow?
If a future hotfix does modify the workflow, I suspect it would re-add the step that we've removed, and it would remain until our project is re-installed. Is there any way to avoid that?
Is there a better way to achieve this? Perhaps we should create a CreateWebEnabledImageProcess component to replace the out-of-the-box component, allowing us to effectively disable that workflow process. Of course, if any other workflows use that process, we would be disabling it for all of them.
Please advise. Thanks!