send custom workflow to previous step | Community
Skip to main content
February 5, 2025

send custom workflow to previous step

  • February 5, 2025
  • 2 replies
  • 627 views

Hi,

I have custom workflow for my website on rejection of one step how to send back the workflow to previous step using process step in AEM 6.5

Example : I have a OR split when the approver rejects it the workflow should go to the previous step

2 replies

anupampat
Community Advisor
Community Advisor
February 5, 2025

Hi @helptech ,

 

Please check this - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-rollback-goto-any-previous-step-in-custom-workflow-model/td-p/247251 

 

Use Route API

 

List<Route> routes = workflowSession.getRoutes(workItem, false);


Regards,

Anupam Patra

HelpTechAuthor
February 5, 2025

Hi anupampat

Is there a way to enable the ootb step back button for the custom workflow?

 

anupampat
Community Advisor
Community Advisor
February 5, 2025

The Stepback button is a manual action, while I assume your requirement is to have it automated, then do use the API.

kautuk_sahni
Community Manager
Community Manager
April 1, 2025

@helptech Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Kautuk Sahni