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.

本产品经 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 许可  Twitter™ 与 Facebook 中的内容不在 Creative Commons 的条款约束之下。

法律声明   |   在线隐私策略