Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

workflow - move command


Level 4


i have changed the logic of activate and delete button in the siteadmin. The commands launch a custom workflow instead of the default.

All work fine. I need now to change the logic of the move command. I think it is the sum of delete+activate. The deletion is automatically done when the user clicks the move command and then he can makes the activation with the activation button. The activation step isn't a problem, i have a doubt about the deletion. Is the deletion done by a sort of garbage collector or the application launches the workflow of delete?

I need that the move command launches my custom workflow of deletion.


1 Reply


Level 10

Instead of modifying the buttons in AEM that are available out of the box (which is not best practice) - just add a new button to site admin. Then invoke the delete workflow when the new button is clicked.