We have a requirement where we need to check expiry data of all assets uploaded in AEM. If a given asset does not have expiry date we need to cancel asset upload and show error message to asset uploader. How can we achieve this requirement?
One solution i had was to create a workflow step in update asset workflow and check for expiry datetime, if not found, send an email and delete the asset. But this solution is not intuitive as it does not provide any details to users at the time of upload, rather it provides information once asset upload is completed.