We have configured the workflow purge using --> /system/console/configMgr—>Adobe Granite Workflow Purge Configuration. The number of days to purge is 5.
However I can still see the 2000+ items under inbox on the URL -->http://<ipaddress>:4502/inbox and all items are older than a month.
One more observation is that the ItemType is "Project" and Content is of type "Project Management". This Project Management content is from -->/libs/cq/taskmanagement/content/taskmanager.html#/...
The problem is I need to click on individual item to make it as complete and remove it.
Is there a shortcut for cleaning up the inbox.
I tried using the workflow purge option of running/completed workflows using JMX console ==>/system/console/jmx/com.adobe.granite.workflow%3Atype%3DMaintenance
Even JMX method is not helping me to cleanup inbox. Any idea to achieve this cleanup?
Views
Replies
Total Likes
Forgot to mention , we are facing this issue on AEM 6.1 author
Views
Replies
Total Likes
I am checking with Eng on this one.
Views
Replies
Total Likes
These are AEM tasks - which can be cleaned up manually.
Tasks are stored in /etc/taskmanagement/tasks.
Hope this helps..
Views
Replies
Total Likes
ANother option that you have is to write an AEM service that uses this API:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/adobe/granite/taskmanagement/TaskManager.html
Views
Replies
Total Likes
Hi Scott,
Thank you for all your inputs.
I have found one important issue on our systems .
When I visit the page --> http://<auth-ip>:4502/libs/cq/taskmanagement/content/taskmanager.html#/ no tasks are displayed and my login id a member of "administrators".
But when I login to content-explorer --> http://<auth-ip>:4502/crx/explorer/browser/index.jsp I get to see all tasks under path -->/etc/taskmanagement/tasks/.
So something is blocking the tasks from being displayed onto http://<auth-ip>:4502/libs/cq/taskmanagement/content/taskmanager.html#/ .
I have another query is it possible to modify the status of incomplete (running) tasks that are more than a month old to the COMPLETE status.
Then can we delete the completed tasks from content-explorer --> http://<auth-ip>:4502/crx/explorer/browser/index.jsp
Thanks again..
Views
Replies
Total Likes
I tried below mentioned flows and I am able move many items from inbox:
1. All the items are of type granite:Task. There are more than 20000 entries and the status of all these entries is "ACTIVE"
2. On the screen http://<ipaddress>:4502/ inbox I can see only maximum of 40 entries.
3. I selected --> "select all" and then I clicked "complete" , then there will be several popups and then I need to click the proper option on all the popups.
Then all 40 items are move away from inbox.
===========================================================================================================
from the Browser tools I found below post request to AEM author being made on each click.
http://<IP-address>:4502/libs/granite/taskmanager/updatetask?taskId=2016-03-10%2Ftask396&_charset_=utf-8
I know the values of all 20K entries for the URL -parameter --> taskId,
So , how can automate the above post request to author for 20k entries?
I tried sending the post request using POST-MAN addon from google chrome , I get 403 forbidden error.
If I need to manually clear all 20k entries, then it will be too-much clicking.
Views
Replies
Total Likes
If I need to manually clear all 20k entries, then it will be too-much clicking.
This is why AEM exposes an API. I would look into using TaskManager to do this. We do not have a Taskmanager API article (yet - its on the list). But this looks like a way to proceed as you are correct - 20K is way too many to do manually.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies