Expand my Community achievements bar.

workflow - move command

Avatar

Level 4

Hi,

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.

Thanks

1 Reply

Avatar

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.