Externalizing forms
Apart from creating forms inside Bonita Studio, we are also given the option of externalizing forms. This option is only available in the Subscription Pack version, not in the Community Version. However, we shall see the usefulness of this feature here. We can create our own forms outside the studio and integrate them in the workflow. For each step in the workflow, we can point the entry page flow to an external URL where we would be defining our forms. We need to make sure that our forms serve the correct information according to the case. For this reason, we can pass the process instance and the activity instance from the Bonita Engine to the external forms. We can then make use of APIs to set parameters and run connectors from the external forms.
Each web form of each case can be identified by two parameters: the process instance UUID and the activity instance UUID. These parameters are received from the Studio by making use of the Bonita variables from the Groovy editor...