Onify Blueprint: Approval example
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
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.
http://localhost:3000
with correct URL for Onify Hubuser@acme.com
with requester/user mail addressmanager@acme.com
with manager mail addressGo to <ONIFY-HUB-APP-URL>/form/request
and follow the instructions :-)
This project is licensed under the MIT License - see the LICENSE file for details.