Example that shows how a process can be started from a form and report back the process using the process output. This is great if you want to give your users a clear view of the results. Here we integrate with a simple REST-API and just return the "raw" JSON result on the screen.
This is the main form where you enter a URI for the REST API.
This is the result coming from the REST API in plain text.
This is the BPMN flow that is used.
- Onify Hub v2
- Onify Flow license
- Camunda Modeler 4.4 or later
- 1 x Workflows
- 1 x Flows
- 1 x Forms
Copy resource files to your resources folder. Make sure paths are the same.
Go to the ./config
folder and import the configuration using curl.
Import the form:
curl -X POST "<ONIFY-HUB-API-URL>/api/v2/admin/forms" -H "accept: application/json" -H "authorization: <AUTH-TOKEN>" -H "Content-Type: application/json" -d @form.json
Import the workflow:
curl -X POST "<ONIFY-HUB-API-URL>/api/v2/admin/workflows" -H "accept: application/json" -H "authorization: <AUTH-TOKEN>" -H "Content-Type: application/json" -d @workflow.json
Go to <ONIFY-HUB-APP-URL>/form/bp-form-process-rest-output
and follow the instructions :-)
- Community/forum: https://support.onify.co/discuss
- Documentation: https://support.onify.co/docs
- Support and SLA: https://support.onify.co/docs/get-support
This project is licensed under the MIT License - see the LICENSE file for details.