https://github.com/onify/blueprint-flow-process-output-rest
Onify Blueprint: Form process output from REST API
https://github.com/onify/blueprint-flow-process-output-rest
blueprint bpmn flow form onify onify-blueprint onify-blueprints processoutput rest-api
Last synced: 6 months ago
JSON representation
Onify Blueprint: Form process output from REST API
- Host: GitHub
- URL: https://github.com/onify/blueprint-flow-process-output-rest
- Owner: onify
- License: mit
- Created: 2021-03-11T08:55:26.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T06:13:07.000Z (almost 4 years ago)
- Last Synced: 2025-02-16T17:57:04.250Z (over 1 year ago)
- Topics: blueprint, bpmn, flow, form, onify, onify-blueprint, onify-blueprints, processoutput, rest-api
- Language: Pug
- Homepage: https://onify.co
- Size: 464 KB
- Stars: 1
- Watchers: 2
- 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: Form process output from REST API
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.

## Screenshots
### Main form
This is the main form where you enter a URI for the REST API.

### Result form
This is the result coming from the REST API in plain text.

### Flow
This is the BPMN flow that is used.

## Requirements
* Onify Hub v2
* Onify Flow license
* Camunda Modeler 4.4 or later
## Included
* 1 x Workflows
* 1 x Flows
* 1 x Forms
## Setup
### Copy resources
Copy resource files to your resources folder. Make sure paths are the same.
### Import configuration
Go to the `./config` folder and import the configuration using curl.
**Import the form:**
```bash
curl -X POST "/api/v2/admin/forms" -H "accept: application/json" -H "authorization: " -H "Content-Type: application/json" -d @form.json
```
**Import the workflow:**
```bash
curl -X POST "/api/v2/admin/workflows" -H "accept: application/json" -H "authorization: " -H "Content-Type: application/json" -d @workflow.json
```
## Run
Go to `/form/bp-form-process-rest-output` and follow the instructions :-)
## 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.