# How See a list of tasks for cases of a process

**URL:** <https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748>\
**Category:** Q&A\
**Created:** [25 September 2017 08:51 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748 "2017-09-25T08:51:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![sistemas\_aplicacione](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sistemas\_aplicacione](https://community.ofelia.com/u/sistemas_aplicacione)\
**Post date:** [25 September 2017 08:51 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/1 "2017-09-25T08:51:18Z")

</div>

hi, I need see a list of tasks for cases of a process from a page

thanks

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [26 September 2017 06:52 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/2 "2017-09-26T06:52:22Z")

</div>

Hello  
This can be achieved by using REST API.  
you should look for BPM API examples.  
Try using Human Task API examples.

Regards

---

<div class="post-metadata">

**Author:** ![sistemas\_aplicacione](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sistemas\_aplicacione](https://community.ofelia.com/u/sistemas_aplicacione)\
**Post date:** [26 September 2017 10:57 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/3 "2017-09-26T10:57:52Z")

</div>

I have achieved it in the following way:

…/API/form/mapping?p=0&c=10&f=processDefinitionId={{id}}

Thanks

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [26 September 2017 11:03 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/4 "2017-09-26T11:03:21Z")

</div>

Hello  
This is good.  
But you are sending ProcessDefinition Id.  
I though you wanted to search based on Case Id.  
Anyways, its something new and I will try it.

Regards

---

<div class="post-metadata">

**Author:** ![sistemas\_aplicacione](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sistemas\_aplicacione](https://community.ofelia.com/u/sistemas_aplicacione)\
**Post date:** [26 September 2017 12:38 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/5 "2017-09-26T12:38:54Z")

</div>

Yes, but I was also worth what I needed. It gives me all the forms for that process. I really wanted to know the task ids for another problem I have and so I can get it

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [26 September 2017 12:43 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/6 "2017-09-26T12:43:42Z")

</div>

This is what I use to get Human Tasks Based on User Id  
…/API/bpm/humanTask?p=0&c=10&f=state%3dready&f=assigned\_id%3d{{userID}}

This is For getting Open Tasks  
…/API/bpm/humanTask?c=10&p=0&f=processId={{processid}}&o=state%3dready

THis is for completed tasks based on User Id  
…/API/bpm/archivedHumanTask?p=0&c=10&f=assigned\_id%3d{{userID}}

regards

---

<div class="post-metadata">

**Author:** ![sistemas\_aplicacione](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sistemas\_aplicacione](https://community.ofelia.com/u/sistemas_aplicacione)\
**Post date:** [27 September 2017 07:13 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/7 "2017-09-27T07:13:19Z")

</div>

ok, thanks.  
Do you know how to build a url to call from an app link to a form?  
I’m trying the following but it does not work, it leaves the page blank.

```
  http://localhost:8088/bonita/portal/form/process/SolicitudPermisos/task/4113 or
  http://localhost:8088/bonita/portal/form/process/SolicitudPermisos/taskInstance/Update

```

In the documentacion i have seen this:  
[http://localhost:8080/bonita/portal/form/processInstance/8/task/request%20approval](http://localhost:8080/bonita/portal/form/processInstance/8/task/request%20approval)

I think than can not find the form but I do not know why

Regards

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [27 September 2017 07:16 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/8 "2017-09-27T07:16:07Z")

</div>

Ok.  
If I understand you correctly , you are trying to start a Process from an Application Page.  
In the Page , once we click on Submit Button, it should start a case in the Portal.

Let me if this is what you want. I have done several processes like this.

regards

---

<div class="post-metadata">

**Author:** ![sistemas\_aplicacione](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sistemas\_aplicacione](https://community.ofelia.com/u/sistemas_aplicacione)\
**Post date:** [27 September 2017 07:47 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/9 "2017-09-27T07:47:59Z")

</div>

I have a form task, I made a button to an instantiation form and it worked, but now I want a link to a user task from the page and it is what does not work for me.  
The case is already started.  
I have a button that starts the process to create requests and in a table I show the records that have been generated, when selecting one I want to go to a particular task because I could perform two different.

thank you very much for your help i’m very stuck with this

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [27 September 2017 07:53 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/10 "2017-09-27T07:53:54Z")

</div>

Sorry , I have not done any such scenarios.  
This might need some research to implement.

Did you check these links.  
[http://community.ofelia.com/project/redirect-next-task-widget](http://community.ofelia.com/project/redirect-next-task-widget)

[http://community.ofelia.com/questions-and-answers/form-submit-redirection-task-or-another-page-based-users-role](http://community.ofelia.com/questions-and-answers/form-submit-redirection-task-or-another-page-based-users-role)

[http://community.ofelia.com/questions-and-answers/how-redirect-next-task-form-directly](http://community.ofelia.com/questions-and-answers/how-redirect-next-task-form-directly)

regards

---

<div class="post-metadata">

**Author:** ![sistemas\_aplicacione](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sistemas\_aplicacione](https://community.ofelia.com/u/sistemas_aplicacione)\
**Post date:** [27 September 2017 08:04 UTC](https://community.ofelia.com/t/how-see-a-list-of-tasks-for-cases-of-a-process/8748/11 "2017-09-27T08:04:49Z")

</div>

thanks, I’ll look to see if I can and I’ll tell you

Regards
