How to suppress the default unpublish behavior when adding the onTime property
In our current project, when publishing a page, the workflow includes an approval process after which the page is given an onTime property so that it will be published automatically at the specified time.
However, when the workflow adds the onTime property to the page, AEM first unpublishes the page and then republishes it automatically once the specified time is reached.
My question is: when adding the onTime property to a page (e.g., /content/projectA/mypage/jcr:content), is it possible to suppress AEM’s default behavior of unpublishing the page?
For reference, when the onTime property is added to content under /content/dam, the content is not unpublished—instead, it is simply published automatically once the onTime is reached.