Assets remain in customWorkflowProcessing when AEM Guides post-processing doesn’t complete

This article explains how to resolve the issue where assets uploaded to Adobe Experience Manager (AEM) with Dynamic Media enabled remain stuck in the customWorkflowProcessing state and do not reach the processed state.

Description description

Environment

  • Adobe Experience Manager Assets as a Cloud Service
  • Experience Manager Guides
  • Dynamic Media in Scene7 mode

Issue/Symptoms

  • You upload assets to the DAM, but they remain in the customWorkflowProcessing state and don’t reach processed.
  • You see the assets remain in the Processing state in the Assets interface.
  • You can’t use the affected assets for Dynamic Media delivery.
  • You see Smart Tags and generated metadata complete, but the asset-processing state doesn’t advance.
  • You see running instances of the AEM Guides asset post-processing workflow for the affected assets.

Cause

The AEM Guides post-processing workflow starts for uploaded assets and doesn’t progress beyond its initial step. This can occur when Guides post-processing applies to DAM paths where it isn’t required or when a conflicting configuration prevents the workflow from completing. The incomplete workflow leaves the asset in the customWorkflowProcessing state.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Use the Workflow console or QueryBuilder to locate workflow instances in the RUNNING state for the model /libs/settings/workflow/models/dxml-asset-post-processing.
  2. Abort the stale RUNNING instances of the dxml-asset-post-processing workflow model. Confirm that only this workflow model is selected so that other processes aren’t affected.
  3. If AEM Guides isn’t used in the environment, consider disabling the dxml-asset-post-processing workflow launcher to prevent newly uploaded assets from entering the workflow.
  4. Alternatively, configure AEM Guides to ignore specific DAM paths by adding the required paths to the ignored.post.processing.paths property in com.adobe.fmdita.config.ConfigManager.cfg.json. Deploy the configuration through the Cloud Manager pipeline according to the AEM Guides documentation.
  5. After terminating the stale workflows and updating the configuration, reprocess the affected assets in small batches, one folder at a time.
  6. After each batch, monitor the DAM and workflow status and confirm that the assets reach the processed state.
  7. For PDF files that must be published through Dynamic Media, go to Tools > Assets > Dynamic Media General Settings. On the PDF tab under Default Upload Options, set Processing to None.
  8. Confirm that selecting None synchronizes and publishes the PDF without creating a thumbnail. If both the PDF and its thumbnail must be published, implement custom workflow logic.
  9. Verify that the affected assets move from customWorkflowProcessing to processed and become available for Dynamic Media delivery.
recommendation-more-help
experience-cloud-kcs-help-kbarticles