AEM Assets: Slow HTML file uploads caused by custom workflow launchers

Adobe Experience Manager (AEM) Assets may take several hours to upload HTML files when a custom workflow launcher performs additional processing during the asset upload event. To resolve the issue, identify and temporarily disable the custom workflow launcher, retest the upload, and review the workflow logic if performance improves.

Description description

Environment

Adobe Experience Manager (AEM) Assets (all versions)

Issue/Symptoms

  • Uploading an HTML file, for example, around 500 KB, takes several hours to complete.
  • The issue is reproducible with HTML files and may affect other asset types in the same folder.
  • No error messages appear.
  • The upload process is excessively slow.

Root cause

A custom workflow launcher configured to trigger on asset uploads can significantly delay the upload process, especially for HTML files, when the workflow performs additional processing during the upload event.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Sign in to the AEM instance with administrative privileges.
  2. Go to Tools > Workflow > Launchers.
  3. Review the workflow launchers configured to trigger on asset upload events. Pay particular attention to custom workflow launchers added by the development team.
  4. Temporarily disable the suspected custom workflow launchers associated with asset uploads.
  5. Upload the HTML file again and verify whether the upload performance improves.
  6. If upload performance is restored, review the business logic and necessity of the custom workflow launcher with the development team before deciding whether to keep it disabled permanently.
  7. Document the changes and monitor for recurrence.
recommendation-more-help
experience-cloud-kcs-help-kbarticles