Assets stuck in ‘In Workflow’ status in AEMaaCS

This article explains how to address the issue where assets uploaded to Adobe Experience Manager as a Cloud Service remain in the ‘In Workflow’ status and are not processed, typically due to unfinished workflow instances.

Description description

Environment

Adobe Experience Manager as a Cloud Service (all versions)

Symptoms

  • Assets uploaded to AEM remain in the In Workflow status and are not processed as expected.
  • The issue can affect multiple folders in the DAM, resulting in many assets pending processing.
  • Attempts to reprocess assets may change their status to In Workflow, but no further processing occurs.
  • Under AEM > Tools > Workflow > Instances, several workflow instances may be observed running for extended periods (weeks or months).

Cause

This issue occurs when workflow instances, often related to a custom workflow, do not complete or terminate as expected. As a result, the associated assets remain stuck in the In Workflow status and are not processed further.

Resolution resolution

To fix this issue, follow these steps:

  1. Navigate to AEM > Tools > Workflow > Instances.
  2. Filter for workflow instances related to the affected assets, such as those with the status Running and associated with your custom workflow.
  3. Identify workflow instances that have been running for an unusually long time (for example, more than a week).
  4. Select and manually terminate these stuck workflow instances. This action clears the In Workflow status from the associated assets.
  5. After terminating the workflow instances, check the affected assets to confirm that the In Workflow status has been removed and that processing has resumed or completed.
  6. Review the configuration and logic of your custom workflow to confirm that all steps are completing as intended and that no blocking conditions are preventing completion. If you do not have access to the workflow logic, consult the workflow author or developer for further troubleshooting.
  7. Continue to monitor workflow instances and asset processing to confirm that the issue does not recur.

Related reading

Assets stuck in processing loop in Adobe Experience Manager

recommendation-more-help
experience-cloud-kcs-help-kbarticles