Approvals are something that any organization are in need of. If you need approvals for a new iPhone or a new application. Maybe you need to order access and the system owner needs to approve it. In this example we show how a user makes a simple request and then someone needs to approve it. With the power of Onify you can of course automatically set the approver based on user that made the request. We also show how the user and manager can follow the request via a simple process view. This gives the user full visibility of the process at all times. No more chase calls! Hope you like it!
Main form
Result form
Main form
Result form
- Onify Hub v2
- Onify Flow license
- Camunda Modeler 4.4 or later
- Configured email settings in Onify Hub
- 2 x Forms (config + resources)
- 1 x Workflow including Flow (config + resource)
- Resources
- Import configuration
- Modify Flow (BPMN)
Copy ./resources/*
to Onify Hub resources folder
Import request
form configuration:
curl -X POST "<ONIFY-HUB-API-URL>/api/v2/admin/forms" -H "accept: application/json" -H "authorization: <ONIFY-HUB-API-TOKEN>" -H "Content-Type: application/json" -d "@form_request.json
Import approval
form configuration:
curl -X POST "<ONIFY-HUB-API-URL>/api/v2/admin/forms" -H "accept: application/json" -H "authorization: <ONIFY-HUB-API-TOKEN>" -H "Content-Type: application/json" -d "@form_approval.json
Import approval-example
workflow configuration:
curl -X POST "<ONIFY-HUB-API-URL>/api/v2/admin/workflows" -H "accept: application/json" -H "authorization: <ONIFY-HUB-API-TOKEN>" -H "Content-Type: application/json" -d "@workflow.json
Open approval-example.bpmn
in editor change the following.
- Replace
http://localhost:3000
with correct URL for Onify Hub - Replace
user@acme.com
with requester/user mail address - Replace
manager@acme.com
with manager mail address
Go to <ONIFY-HUB-APP-URL>/form/request
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.