Using AEM administrator credentials, access http://[aem_server]:port/system/console/configMgr/com.day.cq.wcm.workflow.impl.WcmWorkflowServiceImpl.
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:
-
-
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
- AEM 6.4 and later: /var/workflow/models/custommodelname
-
Click Save.