AEM Restrict in triggering a workflow on an Asset
Hi All,
Want to restrict in triggering a workflow on an Asset from 'Timeline' option when asset have certain property value set on it.
Also needs to restrict trigger workflow on an asset if it is in folder path ending with certain suffix like /content/dam/folderA/nA, /content/dam/folderB/nA, /content/dam/folderC/nA paths i.e. assets under folder nA are not allowed for workflow, needs to restrict nA folder assets across /content/dam wherever folder /nA exists.
Any idea or suggestion how can this be achieved OR sample code would be really helpful ?
Thanks