Hi,
I need to show the forms of bonita on click of swim lane from our web application?
Is it possible?
If not, what will be the approach to get the forms in web application?
Regards
Sabina
Hi,
I need to show the forms of bonita on click of swim lane from our web application?
Is it possible?
If not, what will be the approach to get the forms in web application?
Regards
Sabina
Yes it’s possible.
Every task and process instantiation page has a URL. Tasks only exist if they have been created in the process flow. Process instantiation pages exist for any process that is defined AND has an instantiation form and contract defined.
You need to work out what the URL is that calls the task or process. The URL typically contains task ID or process definition ID in the path, so you need to find a way of getting those. The JAVA API (see the javadoc pages) or the REST api both give you all the info you need.
One way I have done this is to define a bonita application page using the groovy template approach, and call THAT from the external app. The bonita page can determine the path needed and do a redirect to the task or process.
Another way is not to use the Bonita forms at all, but write your own form and push the required contract into bonita. Here again: you need to determine the URL and contract structure, but it’s easily done using the likes of chrome dev tools or firebug.
can you explain a bit more?
Actually, we need to extract the form of bonita to our project on click of any activities?
Is it possible?
Still not clear…
I’m going to guess here…
If this is not the case, describe fully what you want.