Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
456 stars 604 forks source link

Workflow Remover not using AEM 6.4 workflow instances path #1505

Closed tb7032 closed 5 years ago

tb7032 commented 6 years ago

Required Information

Expected Behavior

Workflow Remover should be able to remove workflows from an AEM 6.4 instance.

Actual Behavior

The code at [1] is hardcoded to traverse the legacy workflows path - see [2] and does not find workflows instances in the AEM 6.4 location beneath /var.

[1] https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/workflow/bulk/removal/WorkflowInstanceRemover.java

[2] String WORKFLOW_INSTANCES_PATH = "/etc/workflow/instances";

Steps to Reproduce

Links

Links to related assets, e.g. content packages containing test components

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.