Problem:
When we run the workflow on a collection of assets in AEM DAM, we get the following error:
Maximum number of assets that can be selected for multiple workflow launch is : 15. You have selected 28 assets across your selection(s). Please reduce the selected count accordingly.
Solution:
Add the following file to the repo:
ui.apps/src/main/content/jcr_root/apps/dam/gui/content/collections/.content.xml
The content of the file should be:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="cq:Page">
<jcr:content jcr:primaryType="nt:unstructured">
<rails jcr:primaryType="nt:unstructured">
<timeline jcr:primaryType="nt:unstructured">
<granite:data
jcr:primaryType="nt:unstructured"
multipleWorkflowLimit="{Long}100"/>
</timeline>
</rails>
</jcr:content>
</jcr:root>
The above change will increase the limit from 15 to 100.