About this task
Bonita BPM Portal is up and running.
The process from which you want to create a REST Service has been deployed on Bonita BPM Portal. For details of how to deploy a process on Bonita BPM Portal, see the Bonita documentation.
Once you have selected the From Bonita BPM Portal option in the Create Service From BPM Process wizard, do the following.
In the Process tree structure, select the BPM
process from which you want to create a Service.
By default, all the fields corresponding to the variables defined in the BPM
process are selected. If required, clear the Name
check box of a field, and then choose one of the following options from the
Non-request Field Type list field:
Custom: to leave an empty value for the field; if needed, you can specify a custom value or expression for the column corresponding to this field in the output table of the first tXMLMap component in the generated Job, to pass custom information to the BPM process, before running the Job to start the Service. This is the default option for a non-request field.
Security Token: use this field to pass the Security Token, if any, in the service request to the BPM process.
Correlation ID: use this field to pass the correlation ID, if any, in the service request to the BPM process.
Select the REST Service option, and edit the REST
configuration if needed.
URI location where the REST Service will be accessible for requests.
REST-ful URI that describes the resource.
Name of the Job that will be created.
- Click Finish. The related Job and the metadata are created in the Repository tree view, and the Job is automatically opened on the design workspace.
You can now:
Run the Job to start the REST Service.
Export your Service for a deployment on Talend Runtime. For more information, see Exporting a Service for deployment.