Adobe Experience Manager (AEM) Assets ships with a number of default workflows and media handlers to operate on assets. Examples of these operations are generating thumbnail renditions, parsing Microsoft word documents, asset metadata extraction, etc…
During appropriate understanding, we may need to disable workflow launchers services; always remember to re-enable after disabling these services.
Quick Links
1. Disable AEM Workflow Launchers
a. Open the AEM system console component page:
1 | http://localhost:4502/system/console/components |
b. Use Google Chrome, Firefox, or other browsers to quickly find text on a page. Control(or CMD on Mac) + F to find the fully qualified java name below. Click on the “stop” button to disable each workflow service.
1 2 | com.adobe.granite.workflow.core.launcher.WorkflowLauncherImpl com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener |
This is an example of how the services will look when they are found:
You will be redirected to the services detail page when the stop button have been clicked on. Refresh the package, and you will be redirected back to the component services list page:
2. Disable AEM Workflow Launchers with cURL
Use the cUrl command to “disable” AEM workflow launchers:
1 2 3 | curl -u admin:admin 'http://localhost:4502/system/console/components/com.adobe.granite.workflow.core.launcher.WorkflowLauncherImpl' --data 'action=disable' curl -u admin:admin 'http://localhost:4502/system/console/components/com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener' --data 'action=disable' |
3. Enable AEM Workflow Launchers
a. Open the AEM system console component page:
1 | http://localhost:4502/system/console/components |
b. Use Google Chrome, Firefox, or other browsers to quickly find text on a page. Control(or CMD on Mac) + F to find the fully qualified java name below. Click on the “start” (play) button to disable each workflow service.
1 2 | com.adobe.granite.workflow.core.launcher.WorkflowLauncherImpl com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener |
This is an example of how the services will look when they are found:
You will be redirected to the services detail page when the start button have been clicked on. Refresh the package, and you will be redirected back to the component services list page:
4. Enable AEM Workflow Launchers with cURL
Use the cUrl command to “enable” AEM workflow launchers:
1 2 3 | curl -u admin:admin 'http://localhost:4502/system/console/components/com.adobe.granite.workflow.core.launcher.WorkflowLauncherImpl' --data 'action=enable' curl -u admin:admin 'http://localhost:4502/system/console/components/com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener' --data 'action=enable''action=enable' |
Thank you for this post. It was really helpful!
Thanks
Thank You!
Is there a way to disable a specific workflow launcher (e.g. all the launchers of DAM Update Asset workflow) instead of the whole launcher service ?
Yes, you can turn off a specific workflow launcher by change the state of a workflow launcher from “active” to “disabled” within the workflow launcher’s properties edit page. http://localhost:4502/libs/cq/workflow/admin/console/content/launchers.html
This is such a great reference, awesome, thanks Brian