Want to start a process in the background with input parameters? Here is how! This will also return back output in the process that you can use. You can very easy now connect a Onify workflow/flow (BPMN) using our powerful REST-API to your own system.
- Onify Hub v2
- Onify Flow license
- Camunda Modeler 4.4 or later
- 1 x Flows
- Open
flow-input-output-example.bpmn
in Camunda Modeler - Click
Deploy current diagram
and follow the steps
- Open
flow-input-output-example.bpmn
in Camunda Modeler - Run the flow by clicking
Start current diagram
Here is a curl example:
curl -X POST "http://localhost:8181/api/v2/admin/processes/start/flow-input-output-example" -H "accept: application/json" -H "authorization: <AUTH_TOKEN>" -H "Content-Type: application/json" -d "{ \"title\": \"Test\", \"input\": {\"userId\" : 2}}"
Check results via APP url:
http://localhost:3000/api/v2/my/processes/<PROCESSID>/output
Check results via API (and curl):
curl -X GET "http://localhost:8181/api/v2/admin/processes/<PROCESSID>/output" -H "accept: application/json" -H "authorization: <AUTH_TOKEN>"
- 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.