How to retry a workflow step in aem 6.5? | Community
Skip to main content
Level 2
April 5, 2022

How to retry a workflow step in aem 6.5?

  • April 5, 2022
  • 1 reply
  • 4048 views

Hi,

 

Here is my use case :

I want to retry one of my workflow step that got failed with some reason. I am not able to find anything around this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

DEBAL_DAS
New Member
April 5, 2022

Are you looking for something like http://aemlab.blogspot.com/2019/08/retry-failed-workflow.html. Please review.

@arunpatidar has explained very well.

Debal Das, Senior AEM Consultant
Level 2
April 6, 2022

Hi,

 

WorkflowRetryService is not there when I am using this service in aem 6.5. Could you please tell the dependency around that? or what is the import for this service?

 

 

Level 2
April 8, 2022

Have you injected that custom interface like this -

 

@3214626
CustomInterface getResolver;

 

could you please share the details below method -

getResourceResolver("fmcc-workflow");

 It will help to troubleshoot -


yes : 

@Reference
private GetResolver getResolver;

Please find below method :  

private ResourceResolver getResourceResolver(final String subServiceName) throws LoginException {
HashMap<String, Object> param = new HashMap<>();
param.put(ResourceResolverFactory.SUBSERVICE, subServiceName);
return resolverFactory.getServiceResourceResolver(param);
}