How can I archive inactive pages when scheduled (recurring) ONLY if they do not have any children?
Currently I am having this one here...
(type = page AND ((lastmodified < now("-12M")) AND (created < now("-18M")))) AND space in ("XYZ")
...but if a page gets archived with children, all children move up the hierachie and this creates quite a mess