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.
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 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.
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.
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
Comments
Hello
This can be achieved by using REST API.
you should look for BPM API examples.
Try using Human Task API examples.
Regards
I have achieved it in the following way:
../API/form/mapping?p=0&c=10&f=processDefinitionId={{id}}
Thanks
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
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
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
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/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
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
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
Sorry , I have not done any such scenarios.
This might need some research to implement.
Did you check these links.
https://community.bonitasoft.com/project/redirect-next-task-widget
https://community.bonitasoft.com/questions-and-answers/form-submit-redir...
https://community.bonitasoft.com/questions-and-answers/how-redirect-next...
regards
thanks, I'll look to see if I can and I'll tell you
Regards