Content fragment move based on property change
Hi Team,
We have a requirement related to content fragments. Based on a checkbox selection in the content fragment, we need to copy the content fragment from Folder A to Folder B. Additionally, we need to support bulk movement: when a folder is selected and a custom button is clicked, all content fragments in that folder should be moved.
Which approach is better for this: using a workflow or an event listener? Given that the project is headless and the backend system only consumes the content fragments via API, So i just want to know that our approach does compromise the headless concept.?
AEM version : Aem as a cloud service
Thanks
Geo