Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Create operations method when registering the service in JMX

Avatar

Level 4

Hi team,

Could help me add new method in the  com.adobe.granite.workflow:maintenance Mbean in the JMX . I need the method to start the workflow from JMX.

Thank you

Sumit Singhal

1 Accepted Solution

Avatar

Correct answer by
Level 10
6 Replies

Avatar

Level 10
  When working with AEM, you should create a scheduler service to invoke a workflow. You can use configuration nodes to determine how often to invoke the workflow. You can use AEM workflow api to invoke the workflow from the scheduler service.   

Avatar

Level 4

Hi Tony,

 

Thank you for the quick reply.

But my requirement is to trigger the workflow in the publish environment through JMX . I am able to register a Mbean service but when I click on the new service registered it gives me server error. I am not sure how to process the method that I am using.

Please find attachment

Thank you fol all your help 

Avatar

Level 4

Hi Tony,

 

We are going to run manually on publish through JMX. (AEM6.0)

Thank you

Avatar

Correct answer by
Level 10

This use case is discussed here:

Integrating Services with the JMX Console

Avatar

Level 4

Thank you Tony it really helped me.

Avatar

Level 4

Hi,

I want to show the success message on click of the invoke button in JMX console over the custom MBean services created.

Thank you for the help.