Way to disable auto termination for replicated payloads in AEM6 | Community
Skip to main content
Naidu_Jakkana
Level 2
February 2, 2016
Solved

Way to disable auto termination for replicated payloads in AEM6

  • February 2, 2016
  • 2 replies
  • 1612 views

I have been seeing the issue of auto termination (aborted) of running workflows  up on activation.  I was not able to find out the way to disable this feature . Can anyone help on this ? 

 

Here are the steps.

1. Page is part of payload and it is in running workflow,  Same thing is shown in workflow console with RUNNING status.

2. I activated the page . Then , i am seeing payload with ABORTED  in workflow console with comment "Auto terminated workflow with pay load  "/content/....."  for replicated page "/content............"

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

I found the way to disable this feature.  Day CQ WCM Workflow Service ( com.day.cq.wcm.workflow.impl.WcmWorkflowServiceImpl  ) has enabled flag to do this.   i disabled this flag and now it s not terminating running workflows upon activation.

2 replies

Naidu_Jakkana
Naidu_JakkanaAuthorAccepted solution
Level 2
February 2, 2016

I found the way to disable this feature.  Day CQ WCM Workflow Service ( com.day.cq.wcm.workflow.impl.WcmWorkflowServiceImpl  ) has enabled flag to do this.   i disabled this flag and now it s not terminating running workflows upon activation.

Adobe Employee
February 2, 2016

Hi Naidu,

You can easily disable this functionality with an OSGI configuration.  Configure the component named "Day CQ WCM Workflow Service" and deselect the checkbox for "terminate on activate".

Will