Connect bonita with external forms

First I would like if someone can point out extensive information about connecting external forms with Bonita BPM. That would be very helpful.

Nevertheless,…

I found that for a human task to use external forms instead of the UI Designer one, I have to

  1. Select the Pool / Human Task
  2. Go to Details panel
  3. Click on Execution tab
    • If Pool, select Instantiation form pane
    • If Human Task, select Forms pane
  4. Select External URL radio button
  5. Enter the URL

Now, here’s my questions…


If not local, what must be the url, because I always see Bonita appending the specified url to it’s native one, rather than redirecting as it should do?

I mean what is the point of giving an absolute url?


If local, what should be the url?
Should it be absolute file:///C:/.../.../Desktop/.../testingform.html or relative testingform.html?
If relative, than where should the file or folder be placed?


For now this questions will be my first step in intergrating custom web app with Bonita BPM.

I hope there will be someone who has asked these same questions and found the answer and be very much willing to answer these again.

Hi,

I think the external form has to be served by a web server to be used by Bonita. I don’t think a local file would work.

In that case, the url to access the external form will look likee http://:/<external_form_context>

Does that help?

Cheers

Wrong Answer

I don’t mean to be salty, but lately I have been getting half answers or nothing at all.

And by the way, I did what I wanted by trial and error. I just wished I didn’t have to spend so much time on something that should be so obvious and well detailed somewhere.

I don’t know about external urls but i was able to serve my local files using bonita.

All I had to do was place my folder/file in the

\BonitaBPMCommunity-7.5.4\workspace\tomcat\server\webapps\ROOT

folder and enter my relative url in the external url field of BonitaSoft.

Suppose i have my index.html file in the NewWebsite folder, first I had to place this folder in the above directory and then place this link in the external url field,

/NewWebsite/index.html

and when I run my process, it will redirect to this address,

localhost:8080/NewWebsite/index.html?id=0000096983900013551&locale=en&mode=app

So there you all go.

And I will go and try and get errors. :{