December 28, 2020
Estimated Post Reading Time ~

How to enable/disable AEM Workflow Launchers

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.

1. Disable AEM Workflow Launchers
a. Open the AEM system console component page:
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.

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 has 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:

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:
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.

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 has 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:

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'



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.