completed task

How to display the list of Pending task based on Process id and actor/lane group mapped


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.