Workflow is aborted without errors in AEM 6.x

Issue

In AEM 6.x, a workflow executing against a payload stops at some process step with WorkflowAborted message.

Reason

An Experience Manager feature automatically terminates workflows with a payload that matches an activated path.

For example, if you have a payload such as the published page the workflow is aborted.

If your workflow may have publish step or activate step as one of the many steps. The workflow executes till the publish step or activate step and then aborts. The other steps after the publish step or activate step are are not executed.

Resolution

To disable this optional feature, follow these steps:

  1. Using AEM administrator credentials, access http://[aem_server]:port/system/console/configMgr/com.day.cq.wcm.workflow.impl.WcmWorkflowServiceImpl.

  2. Clear the Terminate on activate checkbox or add the model name to the Terminate exclusion list as below:

    • AEM 6.4 and later: /var/workflow/models/custommodelname
    • legacy path: /etc/workflow/models/custommodelname/jcr: content/model
  3. Click Save.

Adobe-logo

Aanmelden bij je account