https://github.com/onify/blueprint-flow-input-output-example
Onify Blueprint: Flow Input and Output example
https://github.com/onify/blueprint-flow-input-output-example
blueprint flow onify onify-blueprint onify-blueprints rest-api restful-api
Last synced: 3 months ago
JSON representation
Onify Blueprint: Flow Input and Output example
- Host: GitHub
- URL: https://github.com/onify/blueprint-flow-input-output-example
- Owner: onify
- License: mit
- Created: 2021-02-26T15:30:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T07:02:18.000Z (almost 4 years ago)
- Last Synced: 2026-01-19T17:12:51.172Z (5 months ago)
- Topics: blueprint, flow, onify, onify-blueprint, onify-blueprints, rest-api, restful-api
- Homepage: https://onify.co
- Size: 386 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://www.repostatus.org/#wip)
# Onify Blueprint: Flow Input and Output example
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.

## Requirements
* Onify Hub v2
* Onify Flow license
* Camunda Modeler 4.4 or later
## Included
* 1 x Flows
## Setup
### Flows
#### Deploy
1. Open `flow-input-output-example.bpmn` in Camunda Modeler
2. Click `Deploy current diagram` and follow the steps
#### Run
##### Run from modeler
1. Open `flow-input-output-example.bpmn` in Camunda Modeler
2. Run the flow by clicking `Start current diagram`
##### Run via API request
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: " -H "Content-Type: application/json" -d "{ \"title\": \"Test\", \"input\": {\"userId\" : 2}}"`
#### Check results
**Check results via APP url:**
`http://localhost:3000/api/v2/my/processes//output`
**Check results via API (and curl):**
`curl -X GET "http://localhost:8181/api/v2/admin/processes//output" -H "accept: application/json" -H "authorization: "`
## Support
* Community/forum: https://support.onify.co/discuss
* Documentation: https://support.onify.co/docs
* Support and SLA: https://support.onify.co/docs/get-support
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.