# DMN deployment thru JSON and Java, not getting displayed as Decision Table

**URL:** <https://forum.flowable.org/t/dmn-deployment-thru-json-and-java-not-getting-displayed-as-decision-table/8272>\
**Category:** Uncategorized\
**Created:** [August 20, 2021, 4:27am UTC](https://forum.flowable.org/t/dmn-deployment-thru-json-and-java-not-getting-displayed-as-decision-table/8272 "2021-08-20T04:27:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkata.rajamanickam](https://avatars.discourse-cdn.com/v4/letter/v/7ab992/32.png) [@venkata.rajamanickam](https://forum.flowable.org/u/venkata.rajamanickam)\
**Post date:** [August 20, 2021, 4:27am UTC](https://forum.flowable.org/t/dmn-deployment-thru-json-and-java-not-getting-displayed-as-decision-table/8272/1 "2021-08-20T04:27:24Z")

</div>

I have created Java code to read the JSON and deploy the DMN in flowable 6.6.0. I am able to see the DMN got deployed and execute the rule also. Also I am able to see the deployment in “Admin App” at the same time i don’t know how to view the decision table of the deployed DMN from “Admin App”.  
Please let me know, is there any way to see the decision table and export as DMN?  
String dmnName = “demo”;  
DmnRepositoryService dmnRepositoryService =  
new StandaloneDmnEngineConfiguration()  
.setDataSource(flowableDataSource) .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB\_SCHEMA\_UPDATE\_TRUE)  
.setHistoryEnabled(true)  
.buildDmnEngine()  
.getDmnRepositoryService();

ObjectMapper objectMapper = new ObjectMapper();  
JsonNode decisionTableNode = null;

```
		decisionTableNode = objectMapper.readTree(dmnJson);

		DmnDefinition dmnDefinition = new DmnJsonConverter().convertToDmn(decisionTableNode,"abcd", 1, new Date());
		dmnRepositoryService
		.createDeployment()
		.name(dmnName)
		.category(dmnName+"_category")
		.addDmnModel(dmnName+".dmn", dmnDefinition)
		.deploy();
```

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [August 23, 2021, 3:04pm UTC](https://forum.flowable.org/t/dmn-deployment-thru-json-and-java-not-getting-displayed-as-decision-table/8272/2 "2021-08-23T15:04:01Z")

</div>

Hey @venkata.rajamanickam,

The JSON representation of the DMN is meant for the Flowable Modeler and it is not considered as public API.

If you want to create DMNs programatically, I would advise you to do that using the `DmnDefinition` models.

For converting a `DmnDefinition` into an XML you can use the `DmnXMLConverter`.

Cheers,  
Filip

---

<div class="post-metadata">

**Author:** ![zaixing1](https://avatars.discourse-cdn.com/v4/letter/z/8c91f0/32.png) [@zaixing1](https://forum.flowable.org/u/zaixing1)\
**Post date:** [May 11, 2023, 12:26pm UTC](https://forum.flowable.org/t/dmn-deployment-thru-json-and-java-not-getting-displayed-as-decision-table/8272/3 "2023-05-11T12:26:28Z")

</div>

String deploy no work
