How to display the list of Pending task based on Process id and actor/lane group mapped
Hi
I have to create a page to display information from the Portal. Now this page will be like a summary page.
I need to display the pending tasks for a particular user based on user id.
I also need to display the Tasks completed by the same user.
Also I need to the show the available tasks and the allocated/assigned tasks.
I have come across the following url to retrieve data
http://yourserver:port/bonita/API/bpm/archivedHumanTask?p=0&c=5&o=archiv...
But this brings all tasks based on case id and not user id
Kindly suggest
Hi,
I think you're on the right track. Take a deeper look to the documentation for the API archivedHumanTask and userTask
For the tasks that have been completed by a specific user, you can use the assigned_id filter parameter on the API archivedUserTask.
For the tasks that are currently available to a specific user, you can look at how the portal built its task list: By example: ../API/bpm/humanTask?c=50&d=rootContainerId&f=state%3Dready&f=user_id%3D4&o=displayName+ASC&p=0
Cheers