I’m creating a deployment with a DMN table via REST API.
It works. I’m providing the “deployment-name” as “contact” as described in the documentation (Camunda Platform REST API)
Now the problem:
I cannot find a parameter in the documentation to define the Definition Key for my deployment. It ends up being set to “decision”, as you can see from the screenshot. This sounds like a generic default value to me. I want to set it to “contact”. Is there a way to achieve this?
PS: I don’t want to wrap the DMN table in a process application.
Some background: The highlighted field in the modeler is used to edit the ID of the decision table. The engine maps the ID in XML to the key of the deployed decision. Similarly, the engine interprets a BPMN process ID or CMMN case ID as defined in XML to the key attribute of the resulting process or case definition.
@thorben@Niall This is very helpful, however the current UI (year 2021) does not have this advanced feature. There is a DRD properties dialog for editing, but it does not seem to function in similar fashion. The xml capability is there as a tab on bottom left, but there are a lot of tags.
I just want to clearly set the ‘key’ in the Postman header: localhost:8080/engine-rest/decision-definition/key/Decision_1ayz1yn/evaluate
There appears to be no way i can find after much trying to change Decision_1ayz1yn to something more english-like (e.g.: ProvideBeverageRequest) … can you point me to a place in current manual that explains this please - we are very close to a demonstrating our telemetry MVP, and this is tripping me up ;-8
I think this was answered recently in another thread.
From your DMN table, go to “Edit DRD”
Then open the properties tab.
You can change the DRD ID from there, or by selecting the individual decision, you can change the Decision ID.