Issue

Workflow is running against some payload and at some process step it stops with "WorkflowAborted".

Environment

AEM 6.x

Cause

There is a WCM feature, which automatically terminates workflows with a payload that matches an activated path.

If you have a payload such as the published page, then the workflow gets aborted. 

Otherwise, if you have multiple steps in your workflow and one of them is a publish/activate step, then the workflow runs it until the publish/activate step is executed and the following step gets terminated.

Resolution

This feature is optional.

To disable it, perform the following steps:

  1.  Go to 
    http://aem-host:port/system/console/configMgr/com.day.cq.wcm.workflow.impl.WcmWorkflowServiceImpl.
  2. Clear the Terminate on activate check box or add the model name to the Terminate exclusion list such as /etc/workflow/models/custommodelname/jcr: content/model.
  3. Click Save.

Esta obra está autorizada con arreglo a la licencia de Reconocimiento-NoComercial-CompartirIgual 3.0 Unported de Creative Commons.  Los términos de Creative Commons no cubren las publicaciones en Twitter™ y Facebook.

Avisos legales   |   Política de privacidad en línea