Launcher error for “DAM Set last modified date” workflow after update
Remove the com.adobe.dam.asset.nui.feature.flag
flag, and the launcher works as expected.
Description description
Environment
Adobe Experience Manager (AEM)
Issue
After the latest AEM as cloud SDK update ( 2022.4.7138.20220427T075748Z ) a custom launcher for the DAM Set last modified date workflow launcher is not triggered.
A workflow launcher was created to update the last modified date to assets into a particular folder when the user changes any metadata. The launcher is a copy of the standard one, but it was created under /conf
folder and not /libs
.
After the latest SDK upgrade, the launcher is no longer running.
Prerequisites:
A package with the created launcher, which runs the DAM Set last modified date workflow on a custom assets folder in an AEMaaCS environment.
Steps to reproduce:
-
Install the package created by your customer.
-
Create the same folder structure as the one used by your customer in AEM - Assets.
-
Add assets to the previously created folder.
-
Modify any metadata (Example: Title) of an asset in the specified folder.
Expected results:
The jcr:LastModified
date should be updated.
Actual results:
The jcr:LastModified
date is not changed.
Resolution resolution
In AEM as a cloud service, the DAM Set last modified date launcher has the com.adobe.dam.asset.nui.feature.flag
flag Enabled.
“This Feature Flag would govern the AEM Assets Nui integration Feature. This Flag would only be enabled if Nui is enabled otherwise it returns false. (com.adobe.dam.asset.nui.feature.flag
).”
After removing the flag, the launcher works as expected.