I am trying to set up a workflow which will intercept page deactivations from the root level and down 2 levels only. This will allow the administrator to decide if the the deactivation is authorised
I am trying to use a launcher, but I am having trouble setting it up. I am using an Event Type of modified and Node Type of page, but this seems to be picking up new page creations as well. I assume I need to include something in the Condition and Exclude fields? Or do I need to start writing ECMA scripts?
Also does the path field in the launcher setup except regex ?
We are using CQ5.3
IIRC page deactivation goes through workflow & the workflow is configurable in felix console. So either modify the default workflow OR call the custom workflow in felix console.