April 7, 2020
Estimated Post Reading Time ~

AEM Inbox size configuration

In AEM, Inbox is used to see all the notifications for a logged in user. Notifications can come from any of the below actions
Workflow actions
Tasks
Projects

By default AEM inbox can hold only 2000 notifications and anything exceeding it will not be notified for a user and might miss the action

to be taken. This size of inbox can be configured as mentioned below

Directly on OSGi configuration console
Go to http://<instanceURL>/system/console/configMgr
Search ‘Adobe Granite Workflow Service
Change the value of a property ‘Max Inbox Query Size’ based on your requirement (Default is 2000)


Override by external config file

a. Directly in crxde

Goto crxde http://<instanceURL>/crxde

Goto ‘/apps/<project>/config/’ folder

Create node of type ‘sling:OsgiConfig’ with name ‘com.adobe.granite.workflow.core.WorkflowSessionFactory’

Add the property named ‘granite.workflow.inboxQuerySize’of type Long and enter the value

Click on ‘Save all’

b. Using XML file

Create an xml file with name ‘com.adobe.granite.workflow.core.WorkflowSessionFactory’ and add the below snippet

[code language=”xml”]
<?xml version=”1.0″ encoding=”UTF-8″?>
<jcr:root xmlns:sling=”http://sling.apache.org/jcr/sling/1.0″ xmlns:jcr=”http://www.jcp.org/jcr/1.0″
jcr:primaryType=”sling:OsgiConfig”
granite.workflow.inboxQuerySize=”{Long}3500″/>
[/code]


Check in to ur codebase under ‘config’ folder in your ‘content’ maven project

Build and deploy the project which will create the node and the property under the config folder.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.