Hello,
I build a page with the UI-designer and I’m trying to set up a button to allow the user start a process from that page.
I got the process definition using the REST api: …/API/bpm/process?p=0&c=1&f=name=MiPrueba (process name MiPrueba), this is the result:
[
{
“displayDescription”: “”,
“deploymentDate”: “2017-03-09 11:51:14.483”,
“displayName”: “MiPrueba”,
“name”: “MiPrueba”,
“description”: “”,
“deployedBy”: “26”,
“id”: “8134718264282568855”,
“activationState”: “ENABLED”,
“version”: “1.0”,
“configurationState”: “RESOLVED”,
“last_update_date”: “2017-03-09 11:51:25.923”,
“actorinitiatorid”: “21”
}
]
After that I try to setup a link to this URL:
/bonita/portal/resource/process/MiPrueba/1.0/content/?id=8134718264282568855
But nothing happen. According to the Documentation, the portal URL to start a process is:
Example:
http://localhost:8080/bonita/portal/resource/process/Task%20link%20via%20email/1.0/content/?id=34951576542454
If I try http://localhost:8080//bonita/portal/resource/process/MiPrueba/1.0/content/?id=8134718264282568855 on a blanck page, I just get a blank page, no answer on display. When I check if there is any new task there is none.
I checked the logs and there is no line with errors or success, It’s like the url is just beign ignored.
I’m using bonita 7.4.2 or 7.4.3.
Can you help me understand what am I doing wrong here, I need to be able to start a process instance from a button or link on my ui-designer page.
Thanks a lot in advance