Closed pun-ky closed 5 years ago
extra requirements:
finally { }
block of try
packageDeploy
task / so that it will be easy to turn off rendition generationt temporarily, simply by -Ppackage.deploy.workflow.disabled=[update_asset_create,update_asset_mod]
to be considered if GAP should contain a list / enum of workflow names stored by AEM so that GAP could have also workflowManager.disableDamAssetProcessing()
-> this will disable create and update dam asset workflows (potentially most often used) or alternatively workflowManager.disable(Workflows.DAM_ASSET)
(enum with workflow predefined sets as param) (+ enable, toggle methods accepting same args). in that case packageDeploy
param could be even more simplified to -Ppackage.deploy.workflow.disable=dam_asset
(firstly looking for sets by name, fallback to single workflow by name under instance version depending path)
to be released in 7.1.0
...instance.service.workflow.WorkflowManager.kt , methods: enable(name), enable(names), disable(name), disable(names), toggle(name, callback), toggle(names, callback),
Consider path changed affectings workflows, see https://helpx.adobe.com/pl/experience-manager/6-4/sites/deploying/using/repository-restructuring-in-aem64.html
covers #224