AEM Assets: WorkflowPurge logs outside scheduled times due to maintenance scheduler updates

✨ This content is AI generated and could be inaccurate. Generative AI Terms

This article explains the reason WorkflowPurge-related log entries may appear in Adobe Experience Manager (AEM) error logs outside the scheduled purge window, and clarifies that this behavior is expected.

Description description

Environment

  • Adobe Experience Manager (AEM) Assets (all versions)

Symptoms

Log entries related to WorkflowPurge appear in the error.log at times outside the configured schedule (for example, at 00:00 or 18:00 UTC), even though the purge is scheduled for a different time (such as 16:00 UTC).

Sample log entries include:

  • Name='WorkflowPurgeTask', Status='UNSCHEDULED', Result='', Details='{"window":"granite_daily"}'
  • Name='WorkflowPurgeTask', Status='SCHEDULED', Result='', Details='{"window":"granite_daily"}'

These messages are seen in production, stage, and development environments, and are not accompanied by actual WorkflowPurge execution logs at those times.

Actual WorkflowPurge execution logs appear as:

  • Begin workflow purge with the following parameters:
  • Finished running Workflow Purge Configuration: WorkflowPurge. Purged: ...

No business impact is reported as the system is not yet in production.

Cause

AEM outputs log entries when the maintenance scheduler updates or re-registers the WorkflowPurge task, which can occur outside the configured execution window. These logs do not indicate that the purge job itself has run at those times.

Resolution resolution

Follow the steps below to resolve the issue.

  1. Review the log entries in error.log.

  2. Distinguish between logs indicating WorkflowPurgeTask scheduling status changes (such as Status=‘SCHEDULED’ or Status=‘UNSCHEDULED’) and actual WorkflowPurge execution logs.

  3. Understand that AEM’s maintenance scheduler may update or re-register scheduled tasks in response to cluster state changes or internal events, generating log entries outside the configured purge window.

  4. To confirm when WorkflowPurge actually runs, look for logs containing:

    • Begin workflow purge with the following parameters:

    • Finished running Workflow Purge Configuration: WorkflowPurge. Purged: ...

    These should appear at the scheduled time (for example, 16:00 UTC).

  5. No action is required for scheduler update logs outside the configured window, as this behavior is expected and does not indicate a misconfiguration or issue.

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