{"id":18777565,"url":"https://github.com/onify/blueprint-approval-example","last_synced_at":"2025-12-16T23:30:14.987Z","repository":{"id":113735580,"uuid":"351714632","full_name":"onify/blueprint-approval-example","owner":"onify","description":"Onify Blueprint: Approval example","archived":false,"fork":false,"pushed_at":"2022-11-24T07:28:56.000Z","size":638,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T17:57:03.953Z","etag":null,"topics":["approval","blueprint","bpmn","flow","form","forms","onify","onify-blueprint","onify-blueprints","process-output","process-state","processes","workflow"],"latest_commit_sha":null,"homepage":"https://onify.co","language":"Pug","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-26T08:37:14.000Z","updated_at":"2022-06-27T07:20:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2edf648-dc6f-4362-ae6b-f2f5ac52f4e9","html_url":"https://github.com/onify/blueprint-approval-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-approval-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-approval-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-approval-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-approval-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onify","download_url":"https://codeload.github.com/onify/blueprint-approval-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239687691,"owners_count":19680773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["approval","blueprint","bpmn","flow","form","forms","onify","onify-blueprint","onify-blueprints","process-output","process-state","processes","workflow"],"created_at":"2024-11-07T20:11:54.899Z","updated_at":"2025-12-16T23:30:14.958Z","avatar_url":"https://github.com/onify.png","language":"Pug","readme":"![Onify Blueprints](https://files.readme.io/8ba3f14-onify-blueprints-logo.png)\n\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n\n# Onify Blueprint: Approval example\n\nApprovals 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!\n\n![Onify Blueprint: Approval example](blueprint.jpg \"Blueprint\")\n\n## Screenshots\n\n### Request form \n\nMain form\n\n![alt text](form-main-request.png \"Request - Main form\")\n\nResult form\n\n![alt text](form-result-request.png \"Request - Result form\")\n\n### Approval form \n\nMain form\n\n![alt text](form-main-approval.png \"Approval - Main form\")\n\nResult form\n\n![alt text](form-result-approval.png \"Approval - Result form\")\n\n### Process\n\n![alt text](process.png \"Process\")\n\n### Flow\n\n![alt text](flow.png \"Flow\")\n\n## Requirements\n\n* Onify Hub v2\n* Onify Flow license\n* Camunda Modeler 4.4 or later \n* Configured email settings in Onify Hub\n\n## Included\n\n* 2 x Forms (config + resources)\n* 1 x Workflow including Flow (config + resource)\n\n## Setup\n\n1. Resources\n2. Import configuration\n3. Modify Flow (BPMN)\n\n### Resources\n\nCopy `./resources/*` to Onify Hub resources folder \n\n### Configuration\n\nImport `request` form configuration:\n\n```bash\ncurl -X POST \"\u003cONIFY-HUB-API-URL\u003e/api/v2/admin/forms\" -H \"accept: application/json\" -H \"authorization: \u003cONIFY-HUB-API-TOKEN\u003e\" -H \"Content-Type: application/json\" -d \"@form_request.json\n```\n\nImport `approval` form configuration:\n\n```bash\ncurl -X POST \"\u003cONIFY-HUB-API-URL\u003e/api/v2/admin/forms\" -H \"accept: application/json\" -H \"authorization: \u003cONIFY-HUB-API-TOKEN\u003e\" -H \"Content-Type: application/json\" -d \"@form_approval.json\n```\n\nImport `approval-example` workflow configuration:\n\n```bash\ncurl -X POST \"\u003cONIFY-HUB-API-URL\u003e/api/v2/admin/workflows\" -H \"accept: application/json\" -H \"authorization: \u003cONIFY-HUB-API-TOKEN\u003e\" -H \"Content-Type: application/json\" -d \"@workflow.json\n```\n\n### Modify Flow (BPMN)\n\nOpen `approval-example.bpmn` in editor change the following.\n\n* Replace `http://localhost:3000` with correct URL for Onify Hub\n* Replace `user@acme.com` with requester/user mail address\n* Replace `manager@acme.com` with manager mail address\n\n### Run \n\nGo to `\u003cONIFY-HUB-APP-URL\u003e/form/request` and follow the instructions :-)\n\n## Support\n\n* Community/forum: https://support.onify.co/discuss\n* Documentation: https://support.onify.co/docs\n* Support and SLA: https://support.onify.co/docs/get-support\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonify%2Fblueprint-approval-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonify%2Fblueprint-approval-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonify%2Fblueprint-approval-example/lists"}