{"id":24552997,"url":"https://github.com/npdeehan/dynamic-dmn-example","last_synced_at":"2026-01-02T19:33:33.619Z","repository":{"id":90222816,"uuid":"385171514","full_name":"NPDeehan/Dynamic-DMN-Example","owner":"NPDeehan","description":"This is a Camunda example which shows how a BPMN model can dynamically call a differnce DMN table depending on runtime data. ","archived":false,"fork":false,"pushed_at":"2021-07-12T10:23:22.000Z","size":169,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T01:34:34.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NPDeehan.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-07-12T08:06:13.000Z","updated_at":"2021-07-12T10:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"35b8642d-89ca-4f27-bff8-ceac641513b4","html_url":"https://github.com/NPDeehan/Dynamic-DMN-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/NPDeehan%2FDynamic-DMN-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NPDeehan%2FDynamic-DMN-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NPDeehan%2FDynamic-DMN-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NPDeehan%2FDynamic-DMN-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NPDeehan","download_url":"https://codeload.github.com/NPDeehan/Dynamic-DMN-Example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878491,"owners_count":20362433,"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":[],"created_at":"2025-01-23T01:33:47.449Z","updated_at":"2026-01-02T19:33:33.590Z","avatar_url":"https://github.com/NPDeehan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamically Call a DMN table from a BPMN Process\nThis is a Camunda example which shows how a BPMN model can dynamically call a different DMN table depending on runtime data.\n\n## What does this do?\nThere is a BPMN process in which a user can give some data about themselves and the kind of movie they're interested in watching and using DMN a suggestion is made to them.\n![bpmn](./images/NetflixMoviePicker.png)\n\nThere are 2 DMN tables with the keys `netflixPickGermany`and `netflixPickAmerica`. The DMN table that is called Depends on if a user has selected `America` or `Germany`as their location.\nThis is done by creating a variable `country`from a use form and then using an expression when calling the DMN table. `netflixPick#{country}`. This will generate the correct name of the table in runtime. \n\n## How to Run this?\n1. Install [Java JDK 11](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) (if you don't already have it)\n1. Download and run [Camunda Platform](https://camunda.com/download/)\n1. Download and run the [Camunda Modeler](https://camunda.com/download/modeler/)  \n1. Open the model in the BPMN folder in the Modeler\n1. Deploy the BPMN making sure to include all DMN and forum files. \n![deploy](./images/Deploy.png)\n1. Go to `http://localhost:8080` and login using demo/demo\n1. Start the `Netflix Movie Picker` process. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpdeehan%2Fdynamic-dmn-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpdeehan%2Fdynamic-dmn-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpdeehan%2Fdynamic-dmn-example/lists"}