Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

where is AEM getting the priority from for the workflows inbox

Avatar

Level 1

HI

 

I just wondered how AEM decides the priority of the workflows/tasks?  Medium, High and Low? 

 

https://docs.adobe.com/content/help/en/experience-manager-65/authoring/essentials/inbox.html

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @keeleyj70431205 ,

 

The default tasks that comes in AEM comes with predefined priority setup. However, for new tasks while creating it, you can set the priority.
Screenshot 2020-06-25 at 16.59.27.png

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @keeleyj70431205 ,

 

The default tasks that comes in AEM comes with predefined priority setup. However, for new tasks while creating it, you can set the priority.
Screenshot 2020-06-25 at 16.59.27.png

Avatar

Employee

The logic to fetch or create data for TouchUI inbox is at the Java side, below is the basic flow:

 

~ A request to '/aem/inbox' resolves to path '/libs/cq/inbox/content/inbox'.

~ This renders data per [1] which creates the html page per [2].

~ At the same time [1] triggers a get request to fetch the data for the inbox page [3] which is handled by a servlet [4] and used by [2] to create the complete inbox page.

~ Further on logic goes to [5] and [6] to fetch the data per the logic.

 

[0]: /libs/cq/inbox/content/inbox

 

[1]: /libs/cq/inbox/content/inbox/jcr:content/views/list/datasource

 

[2]: /libs/cq/inbox/gui/components/inbox/inboxitem/list/list.html

 

[3]: cq/inbox/gui/components/inbox/datasource/itemsdatasource

 

[4]: com.adobe.cq.inbox.impl.servlet.ItemsDataSourceServlet.java

 

[5]: com.adobe.granite.workflow.core.WorkflowSessionImpl.java

 

[6]: com.adobe.granite.workflow.core.jcr.WorkItemManager.java

 

 

Avatar

Community Advisor

For workflows it is medium by default. You can change it though in process step using WorkItem API.

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/co...

 

 



Arun Patidar