How See a list of tasks for cases of a process

1
0
-1

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

thanks

Comments

Submitted by Dibyajit.Roy on Tue, 09/26/2017 - 08:52

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

Regards

Submitted by sistemas_aplica... on Tue, 09/26/2017 - 12:57

I have achieved it in the following way:

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

Thanks

Submitted by Dibyajit.Roy on Tue, 09/26/2017 - 13:03

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

Submitted by sistemas_aplica... on Tue, 09/26/2017 - 14:38

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

Submitted by Dibyajit.Roy on Tue, 09/26/2017 - 14:43

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

Submitted by sistemas_aplica... on Wed, 09/27/2017 - 09:13

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/taskI...

In the documentacion i have seen this:
http://localhost:8080/bonita/portal/form/processInstance/8/task/request%...

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

Regards

Submitted by Dibyajit.Roy on Wed, 09/27/2017 - 09:16

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

Submitted by sistemas_aplica... on Wed, 09/27/2017 - 09:47

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

Submitted by Dibyajit.Roy on Wed, 09/27/2017 - 09:53
Submitted by sistemas_aplica... on Wed, 09/27/2017 - 10:04

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

Regards

No answers yet.
Notifications