To simplify this repeating procedure, you can use a helper method like this one:
protected <T extends DmnModelElementInstance> T createElement(DmnModelElementInstance parentElement, String id, Class<T> elementClass) { T element = modelInstance.newInstance(elementClass); element.setAttributeValue("id", id, true); parentElement.addChildElement(element); return element;}
Validate the model against the DMN 1.3 specification and convert it to
an XML string or save it to a file or stream.
DMN 1.3 diagramThe resulting XML string will reference the DMN 1.3 specification.
// validate the modelDmn.validateModel(modelInstance);// convert to stringString xmlString = Dmn.convertToString(modelInstance);// write to output streamOutputStream outputStream = new OutputStream(...);Dmn.writeModelToStream(outputStream, modelInstance);// write to fileFile file = new File(...);Dmn.writeModelToFile(file, modelInstance);
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ASEE Flow","colors":{"primary":"#1d1d1b","light":"#e8e8e6","dark":"#1d1d1b"},"logo":{"light":"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/ASEEFlowAsset%202logo.svg?fit=max\u0026auto=format\u0026n=ZCa-DtOfmgFUtZwy\u0026q=85\u0026s=4f27f54801dcb0858ec1ef607934b046","dark":"https://mintcdn.com/aseeflow/OpLRJy6TPnBLn55c/logo/aseeflow-logo-dark.svg?fit=max\u0026auto=format\u0026n=OpLRJy6TPnBLn55c\u0026q=85\u0026s=532de8ebeab30eed0009cd0a581d4ac2","href":"/"},"favicon":"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026auto=format\u0026n=ZCa-DtOfmgFUtZwy\u0026q=85\u0026s=f9caefb68514e68e8312efc299b039fa","appearance":{"default":"light"},"navbar":{"primary":{"type":"button","label":"Get Started","href":"/get-started"}},"footer":{"socials":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aseeflow","hasAudioNarration":false,"actualSubdomain":"aseeflow","customDomains":["docs.aseeflow.org"],"gitSource":{"type":"github","owner":"aseeflow","repo":"aseeflow-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10ee949ffae5051c416b08"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b053270310cc7c2ea501bfb","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Reference","count":2156},{"language":"default","tag":"REST API","count":818},{"language":"default","tag":"OpenAPI","count":800},{"language":"default","tag":"User Guide","count":552},{"language":"default","tag":"Web Applications","count":184},{"language":"default","tag":"Process Engine","count":108},{"language":"default","tag":"Process Definition","count":92},{"language":"default","tag":"Get Started","count":76},{"language":"default","tag":"BPMN 2.0","count":72},{"language":"default","tag":"Installation","count":64}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".bpmn-symbol-container.implemented svg [stroke=\"#333333\"],.bpmn-events .implemented svg [stroke=\"#333333\"]{stroke:#f47b20}.bpmn-symbol-container.implemented svg [fill=\"#333333\"],.bpmn-events .implemented svg [fill=\"#333333\"]{fill:#f47b20}.bpmn-symbols div:not([class]){display:contents}.bpmn-symbol-container{display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;vertical-align:top;text-align:center;width:8.5rem;margin:0.75rem 0.5rem}.bpmn-symbol-container a{font-size:0.85rem}.bpmn-pool-lane{position:relative;display:inline-flex;vertical-align:top;margin:0.75rem 0.5rem}.bpmn-pool-lane>.bpmn-symbol-container{width:auto;margin:0}.bpmn-pool-lane>.bpmn-lane-overlay{position:absolute;top:0;left:24px;z-index:2}.bpmn-events td{text-align:center;vertical-align:middle}.bpmn-events td:first-child{text-align:left;white-space:nowrap}.label-warning,.label-implemented{display:inline;padding:0.2em 0.6em 0.3em;font-size:0.85em;font-weight:700;line-height:1;color:#fff;background-color:#f47b20;border-radius:0.25em;white-space:nowrap}"}]}
{"page":{"pagePath":"1.x/user-guide/model-api/dmn-model-api/create-a-model","slug":"/1.x/user-guide/model-api/dmn-model-api/create-a-model","pageMetadata":{"title":"Create a Model","description":null,"href":"/1.x/user-guide/model-api/dmn-model-api/create-a-model"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Info}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`To create a new DMN model from scratch, you have to create an empty DMN model instance with the following method:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`DmnModelInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modelInstance`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Dmn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createEmptyModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The next step is to create a DMN definitions element. Set the target namespace on it and add it\nto the newly created empty model instance.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` Definitions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` definitions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modelInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`newInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Definitions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` definitions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setNamespace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://camunda.org/schema/1.0/dmn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` definitions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"definitions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` definitions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"definitions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modelInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setDefinitions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(definitions);`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Usually you want to add a decision to your model. This follows\nthe same 3 steps as the creation of the DMN definitions element:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Create a new instance of the DMN element`}),`\n`,_jsx(_components.li,{children:`Set attributes and child elements of the element instance`}),`\n`,_jsx(_components.li,{children:`Add the newly created element instance to the corresponding parent element`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`Decision`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` decision`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modelInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`newInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Decision`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`decision`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testGenerated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`decision`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"generationtest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`definitions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addChildElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(decision);`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`To simplify this repeating procedure, you can use a helper method like this one:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`protected`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`T`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` extends DmnModelElementInstance`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` T`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`DmnModelElementInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` parentElement, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` id, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`Class`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`T`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` elementClass) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` T`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` element`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modelInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`newInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(elementClass);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` element`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setAttributeValue`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, id, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` parentElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addChildElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(element);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` element;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Validate the model against the DMN 1.3 specification and convert it to\nan XML string or save it to a file or stream.`}),`\n`,_jsxs(Info,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`DMN 1.3 diagram`})}),_jsx(_components.p,{children:`The resulting XML string will reference the DMN 1.3 specification.`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// validate the model`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Dmn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`validateModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(modelInstance);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// convert to string`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` xmlString`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Dmn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`convertToString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(modelInstance);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// write to output stream`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`OutputStream`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` outputStream`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OutputStream`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(...);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Dmn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`writeModelToStream`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(outputStream, modelInstance);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// write to file`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`File`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` file`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` File`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(...);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Dmn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`writeModelToFile`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(file, modelInstance);`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a Model","description":null,"href":"/1.x/user-guide/model-api/dmn-model-api/create-a-model"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/aseeflow/adc7e16456bb6574/reference/dmn/decision-table/img/map.js"],"subdomain":"aseeflow","siteName":"ASEE Flow","title":"Create a Model - ASEE Flow","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2.x":{"href":"/user-guide/model-api/dmn-model-api/create-a-model","matchLevel":1},"1.x":{"href":"/1.x/user-guide/model-api/dmn-model-api/create-a-model","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T17:36:10.793Z","originalFileLocation":"1.x/user-guide/model-api/dmn-model-api/create-a-model.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"ASEE Flow\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/x-icon\" sizes=\"180x180\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"32x32\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Model - ASEE Flow\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ASEE Flow\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aseeflow.mintlify.site/_mintlify/api/og/v2?division=DMN+Model+API\u0026amp;title=Create+a+Model\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=a18ca6692828a142f80cf4a03848224af4d6d411db4529dcdbb5b6e9cc9f0e41\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a Model - ASEE Flow\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aseeflow.mintlify.site/_mintlify/api/og/v2?division=DMN+Model+API\u0026amp;title=Create+a+Model\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=a18ca6692828a142f80cf4a03848224af4d6d411db4529dcdbb5b6e9cc9f0e41\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/aseeflow/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ASEE Flow\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1d1d1b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/1.x/user-guide/model-api/dmn-model-api/create-a-model.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aseeflow.org/#organization\",\"name\":\"ASEE Flow\",\"url\":\"https://docs.aseeflow.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/ASEEFlowAsset%202logo.svg?fit=max\u0026auto=format\u0026n=ZCa-DtOfmgFUtZwy\u0026q=85\u0026s=4f27f54801dcb0858ec1ef607934b046\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aseeflow.org#website\",\"name\":\"ASEE Flow\",\"url\":\"https://docs.aseeflow.org\",\"publisher\":{\"@id\":\"https://docs.aseeflow.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model#webpage\",\"url\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model\",\"name\":\"Create a Model\",\"dateModified\":\"2026-11-04T17:36:10.793Z\",\"isPartOf\":{\"@id\":\"https://docs.aseeflow.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User Guide\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Model API\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/model-api\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DMN Model API\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Create a Model\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model#article\",\"headline\":\"Create a Model\",\"name\":\"Create a Model\",\"url\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/model-api/dmn-model-api/create-a-model#webpage\"},\"dateModified\":\"2026-11-04T17:36:10.793Z\",\"publisher\":{\"@id\":\"https://docs.aseeflow.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aseeflow.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ASEE Flow\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ASEE Flow\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/1.x/user-guide/model-api/dmn-model-api/create-a-model.md","siteName":"ASEE Flow","nav":{"global":null,"versions":[{"version":"2.x","default":true,"tag":"Latest","pages":[{"title":"2.x","href":"/user-guide/model-api/dmn-model-api/create-a-model"}]},{"version":"1.x","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/1.x/get-started"}]},{"tab":"Introduction","pages":[{"title":"Introduction","href":"/1.x/introduction"}]},{"tab":"User Guide","groups":[{"group":"User Guide","root":{"title":"User Guide","href":"/1.x/user-guide"},"pages":[{"group":"Process Engine","root":{"title":"Process Engine","href":"/1.x/user-guide/process-engine"},"pages":[{"title":"Process Engine Bootstrapping","href":"/1.x/user-guide/process-engine/process-engine-bootstrapping"},{"title":"Process Engine API","href":"/1.x/user-guide/process-engine/process-engine-api"},{"title":"Process Engine Concepts","href":"/1.x/user-guide/process-engine/process-engine-concepts"},{"title":"Process Variables","href":"/1.x/user-guide/process-engine/variables"},{"title":"Process Instance Modification","href":"/1.x/user-guide/process-engine/process-instance-modification"},{"title":"Process Instance Restart","href":"/1.x/user-guide/process-engine/process-instance-restart"},{"title":"Delegation Code","href":"/1.x/user-guide/process-engine/delegation-code"},{"group":"Expression Language","root":{"title":"Expression Language","href":"/1.x/user-guide/process-engine/expression-language"},"pages":[{"title":"Friendly Enough Expression Language","href":"/1.x/user-guide/process-engine/expression-language/friendly-enough-expression-language"},{"title":"Unified Expression Language","href":"/1.x/user-guide/process-engine/expression-language/unified-expression-language"}]},{"title":"Scripting","href":"/1.x/user-guide/process-engine/scripting"},{"title":"Templating","href":"/1.x/user-guide/process-engine/templating"},{"title":"Custom Code \u0026 Security","href":"/1.x/user-guide/process-engine/securing-custom-code"},{"title":"External Tasks","href":"/1.x/user-guide/process-engine/external-tasks"},{"title":"Connectors","href":"/1.x/user-guide/process-engine/connectors"},{"title":"Process Versioning","href":"/1.x/user-guide/process-engine/process-versioning"},{"title":"Process Instance Migration","href":"/1.x/user-guide/process-engine/process-instance-migration"},{"group":"Database","root":{"title":"Database","href":"/1.x/user-guide/process-engine/database"},"pages":[{"title":"Database Schema","href":"/1.x/user-guide/process-engine/database/database-schema"},{"title":"Database Configuration","href":"/1.x/user-guide/process-engine/database/database-configuration"},{"title":"Microsoft SQL Server and Azure SQL Database Configuration","href":"/1.x/user-guide/process-engine/database/mssql-configuration"},{"title":"MySQL Database Configuration","href":"/1.x/user-guide/process-engine/database/mysql-configuration"},{"title":"Performance","href":"/1.x/user-guide/process-engine/database/performance"}]},{"group":"History","root":{"title":"History","href":"/1.x/user-guide/process-engine/history"},"pages":[{"title":"History configuration","href":"/1.x/user-guide/process-engine/history/history-configuration"},{"title":"User operation log","href":"/1.x/user-guide/process-engine/history/user-operation-log"},{"title":"History cleanup","href":"/1.x/user-guide/process-engine/history/history-cleanup"},{"title":"Custom implementation","href":"/1.x/user-guide/process-engine/history/custom-implementation"}]},{"title":"Deployment Cache","href":"/1.x/user-guide/process-engine/deployment-cache"},{"title":"Password Hashing","href":"/1.x/user-guide/process-engine/password-hashing"},{"title":"Password Policy","href":"/1.x/user-guide/process-engine/password-policy"},{"title":"Transactions in Processes","href":"/1.x/user-guide/process-engine/transactions-in-processes"},{"title":"The Job Executor","href":"/1.x/user-guide/process-engine/the-job-executor"},{"title":"Multi-Tenancy","href":"/1.x/user-guide/process-engine/multi-tenancy"},{"title":"Id Generators","href":"/1.x/user-guide/process-engine/id-generator"},{"title":"Metrics","href":"/1.x/user-guide/process-engine/metrics"},{"title":"Incidents","href":"/1.x/user-guide/process-engine/incidents"},{"title":"Process Engine Plugins","href":"/1.x/user-guide/process-engine/process-engine-plugins"},{"title":"Identity Service","href":"/1.x/user-guide/process-engine/identity-service"},{"title":"Authorization Service","href":"/1.x/user-guide/process-engine/authorization-service"},{"title":"Deployments","href":"/1.x/user-guide/process-engine/deployments"},{"title":"Process Diagram Visualization","href":"/1.x/user-guide/process-engine/process-diagram-api"},{"title":"Time zones","href":"/1.x/user-guide/process-engine/time-zones"},{"group":"Decisions","root":{"title":"Decisions in the Process Engine","sidebarTitle":"Overview","href":"/1.x/user-guide/process-engine/decisions"},"pages":[{"title":"Configure the DMN engine","sidebarTitle":"Configuration","href":"/1.x/user-guide/process-engine/decisions/configuration"},{"title":"Decisions in the Process Engine Repository","sidebarTitle":"Repository","href":"/1.x/user-guide/process-engine/decisions/repository"},{"title":"Decision Service in the Process Engine","sidebarTitle":"Decision Service","href":"/1.x/user-guide/process-engine/decisions/decision-service"},{"title":"Invoke Decisions from Processes and Cases","sidebarTitle":"Decisions in BPMN \u0026 CMMN","href":"/1.x/user-guide/process-engine/decisions/bpmn-cmmn"},{"title":"History for DMN Decisions","sidebarTitle":"History","href":"/1.x/user-guide/process-engine/decisions/history"}]},{"title":"Batch","href":"/1.x/user-guide/process-engine/batch"},{"title":"Batch operations","href":"/1.x/user-guide/process-engine/batch-operations"},{"title":"Error Handling","href":"/1.x/user-guide/process-engine/error-handling"},{"title":"Diagnostics data","href":"/1.x/user-guide/process-engine/diagnostics-data"}]},{"group":"Process Applications","root":{"title":"Process Applications","sidebarTitle":"Overview","href":"/1.x/user-guide/process-applications"},"pages":[{"title":"The Process Application class","href":"/1.x/user-guide/process-applications/the-process-application-class"},{"title":"The processes.xml Deployment Descriptor","href":"/1.x/user-guide/process-applications/the-processes-xml-deployment-descriptor"},{"title":"Process Application Event Listeners","href":"/1.x/user-guide/process-applications/process-application-event-listeners"},{"title":"Process Application Resource Access","href":"/1.x/user-guide/process-applications/process-application-resources"}]},{"group":"Runtime Container Integration","root":{"title":"Runtime Container Integration","href":"/1.x/user-guide/runtime-container-integration"},"pages":[{"title":"ASEE Flow Services","href":"/1.x/user-guide/runtime-container-integration/bpm-platform-services"},{"title":"JNDI Bindings for ASEE Flow Services","href":"/1.x/user-guide/runtime-container-integration/jndi-bindings-for-bpmn-platform-services"},{"title":"Apache Tomcat Integration","sidebarTitle":"Apache Tomcat","href":"/1.x/user-guide/runtime-container-integration/tomcat"},{"title":"The ASEE Flow WildFly Subsystem","sidebarTitle":"WildFly","href":"/1.x/user-guide/runtime-container-integration/jboss"},{"title":"Job Execution with Managed Resources","href":"/1.x/user-guide/runtime-container-integration/job-execution-with-managed-resources"}]},{"title":"ASEE Flow Run","href":"/1.x/user-guide/aseeflow-bpm-run"},{"group":"Spring Framework Integration","root":{"title":"Spring Framework Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/spring-framework-integration"},"pages":[{"title":"Process Engine Configuration","sidebarTitle":"Bootstrapping","href":"/1.x/user-guide/spring-framework-integration/configuration"},{"title":"Spring Transaction Integration","sidebarTitle":"Transactions","href":"/1.x/user-guide/spring-framework-integration/transactions"},{"title":"Automatic Resource Deployment","sidebarTitle":"Deployment","href":"/1.x/user-guide/spring-framework-integration/deployment"},{"title":"Spring Beans in Processes","sidebarTitle":"Spring Bean Resolving","href":"/1.x/user-guide/spring-framework-integration/expressions"},{"title":"Spring-Based Testing","sidebarTitle":"Testing","href":"/1.x/user-guide/spring-framework-integration/testing"}]},{"group":"Spring Boot Integration","root":{"title":"Spring Boot Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/spring-boot-integration"},"pages":[{"title":"Spring Boot Version Compatibility","sidebarTitle":"Version Compatibility","href":"/1.x/user-guide/spring-boot-integration/version-compatibility"},{"title":"Process Engine Configuration","sidebarTitle":"Configuration","href":"/1.x/user-guide/spring-boot-integration/configuration"},{"title":"REST API","href":"/1.x/user-guide/spring-boot-integration/rest-api"},{"title":"Web applications","sidebarTitle":"Web Applications","href":"/1.x/user-guide/spring-boot-integration/webapps"},{"title":"Process applications","sidebarTitle":"Process Applications","href":"/1.x/user-guide/spring-boot-integration/process-applications"},{"title":"Spring Eventing Bridge","href":"/1.x/user-guide/spring-boot-integration/the-spring-event-bridge"},{"title":"Developing and Testing Spring Boot Applications","sidebarTitle":"Developing and Testing","href":"/1.x/user-guide/spring-boot-integration/develop-and-test"},{"title":"Spring Security OAuth2 Integration","href":"/1.x/user-guide/spring-boot-integration/spring-security"}]},{"group":"Quarkus Integration","root":{"title":"Quarkus Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/quarkus-integration"},"pages":[{"title":"Quarkus Version Compatibility","sidebarTitle":"Version Compatibility","href":"/1.x/user-guide/quarkus-integration/version-compatibility"},{"title":"Engine CDI Integration","href":"/1.x/user-guide/quarkus-integration/cdi-integration"},{"title":"Quarkus Extension Configuration","sidebarTitle":"Configuration","href":"/1.x/user-guide/quarkus-integration/configuration"},{"title":"Resource Deployments","href":"/1.x/user-guide/quarkus-integration/deployments"}]},{"group":"CDI and Java EE Integration","root":{"title":"CDI and Java EE Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/cdi-java-ee-integration"},"pages":[{"title":"JTA Transaction Integration","href":"/1.x/user-guide/cdi-java-ee-integration/jta-transaction-integration"},{"title":"Expression Resolving","href":"/1.x/user-guide/cdi-java-ee-integration/expression-resolving"},{"title":"Contextual Programming Model","href":"/1.x/user-guide/cdi-java-ee-integration/contextual-programming-model"},{"title":"Built-In Beans","href":"/1.x/user-guide/cdi-java-ee-integration/built-in-beans"},{"title":"CDI Event Bridge","href":"/1.x/user-guide/cdi-java-ee-integration/the-cdi-event-bridge"}]},{"group":"Testing","root":{"title":"Testing","sidebarTitle":"Overview","href":"/1.x/user-guide/testing"},"pages":[{"title":"Assert Examples","href":"/1.x/user-guide/testing/assert-examples"}]},{"group":"Model API","root":{"title":"Model API","href":"/1.x/user-guide/model-api"},"pages":[{"group":"BPMN Model API","root":{"title":"BPMN Model API","href":"/1.x/user-guide/model-api/bpmn-model-api"},"pages":[{"title":"Read a Model","href":"/1.x/user-guide/model-api/bpmn-model-api/read-a-model"},{"title":"Create a Model","href":"/1.x/user-guide/model-api/bpmn-model-api/create-a-model"},{"title":"Delegation Code","href":"/1.x/user-guide/model-api/bpmn-model-api/delegation-code"},{"title":"Fluent Builder API","href":"/1.x/user-guide/model-api/bpmn-model-api/fluent-builder-api"},{"title":"Repository Service","href":"/1.x/user-guide/model-api/bpmn-model-api/respository-service"},{"title":"Extension Elements","href":"/1.x/user-guide/model-api/bpmn-model-api/extension-elements"}]},{"group":"CMMN Model API","root":{"title":"CMMN Model API","href":"/1.x/user-guide/model-api/cmmn-model-api"},"pages":[{"title":"Read a Model","href":"/1.x/user-guide/model-api/cmmn-model-api/read-a-model"},{"title":"Create a Model","href":"/1.x/user-guide/model-api/cmmn-model-api/create-a-model"},{"title":"Delegation Code","href":"/1.x/user-guide/model-api/cmmn-model-api/delegation-code"},{"title":"Repository Service","href":"/1.x/user-guide/model-api/cmmn-model-api/repository-service"},{"title":"Extension Elements","href":"/1.x/user-guide/model-api/cmmn-model-api/extension-elements"},{"title":"Limitations","href":"/1.x/user-guide/model-api/cmmn-model-api/limitations"}]},{"group":"DMN Model API","root":{"title":"DMN Model API","href":"/1.x/user-guide/model-api/dmn-model-api"},"pages":[{"title":"Read a Model","description":null,"href":"/1.x/user-guide/model-api/dmn-model-api/read-a-model"},{"title":"Create a Model","href":"/1.x/user-guide/model-api/dmn-model-api/create-a-model"},{"title":"Repository Service","description":null,"href":"/1.x/user-guide/model-api/dmn-model-api/repository-service"},{"title":"Extension Attributes","href":"/1.x/user-guide/model-api/dmn-model-api/extension-attributes"}]}]},{"group":"Data Formats (XML, JSON, Other)","root":{"title":"Data Formats (XML, JSON, Other)","sidebarTitle":"Overview","href":"/1.x/user-guide/data-formats"},"pages":[{"title":"Configuring Spin Integration","href":"/1.x/user-guide/data-formats/configuring-spin-integration"},{"title":"Data Formats in Processes","href":"/1.x/user-guide/data-formats/data-formats-in-processes"},{"title":"XML","href":"/1.x/user-guide/data-formats/xml"},{"title":"JSON","href":"/1.x/user-guide/data-formats/json"}]},{"group":"User Task Forms","root":{"title":"User Task Forms","sidebarTitle":"Overview","href":"/1.x/user-guide/task-forms"},"pages":[{"title":"JSF Task Forms","href":"/1.x/user-guide/task-forms/jsf-task-forms"}]},{"title":"Logging","href":"/1.x/user-guide/logging"},{"group":"DMN Engine","root":{"title":"DMN Engine","sidebarTitle":"Overview","href":"/1.x/user-guide/dmn-engine"},"pages":[{"title":"Embedding the DMN Engine","sidebarTitle":"Embed","href":"/1.x/user-guide/dmn-engine/embed"},{"title":"Evaluating Decisions using the DMN Engine API","sidebarTitle":"Evaluate Decisions","href":"/1.x/user-guide/dmn-engine/evaluate-decisions"},{"title":"Expressions in the DMN Engine","sidebarTitle":"Expressions","href":"/1.x/user-guide/dmn-engine/expressions-and-scripts"},{"group":"FEEL Engine","root":{"title":"FEEL Engine","sidebarTitle":"Overview","href":"/1.x/user-guide/dmn-engine/feel"},"pages":[{"title":"FEEL Engine Type Handling","sidebarTitle":"Type Handling","href":"/1.x/user-guide/dmn-engine/feel/type-handling"},{"title":"FEEL Engine Custom Functions","sidebarTitle":"Custom Functions","href":"/1.x/user-guide/dmn-engine/feel/custom-functions"},{"title":"FEEL Engine Spin Integration","sidebarTitle":"Spin Integration","href":"/1.x/user-guide/dmn-engine/feel/spin-integration"},{"title":"FEEL Engine Legacy Behavior","sidebarTitle":"Legacy Behavior","href":"/1.x/user-guide/dmn-engine/feel/legacy-behavior"}]},{"title":"Data Types in the DMN Engine","sidebarTitle":"Data Types","href":"/1.x/user-guide/dmn-engine/data-types"},{"title":"Testing Decisions with the DMN Engine","sidebarTitle":"Testing","href":"/1.x/user-guide/dmn-engine/testing"}]},{"title":"Security Instructions","href":"/1.x/user-guide/security"},{"group":"External Task Client","root":{"title":"External Task Client","sidebarTitle":"Overview","href":"/1.x/user-guide/ext-client"},"pages":[{"title":"External Task Client Spring Boot Starter","sidebarTitle":"Spring Boot Starter","href":"/1.x/user-guide/ext-client/spring-boot-starter"},{"title":"Version Compatibility","href":"/1.x/user-guide/ext-client/compatibility-matrix"}]}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/1.x/reference"}]},{"tab":"Installation","pages":[{"title":"Installation","href":"/1.x/installation"}]},{"tab":"Modeler","pages":[{"title":"Modeler","href":"/1.x/modeler"}]},{"tab":"WebAdmin","pages":[{"title":"WebAdmin","href":"/1.x/webadmin"}]},{"tab":"Web Applications","pages":[{"title":"Web Applications","href":"/1.x/webapps"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/1.x/examples"}]},{"tab":"Update \u0026 Migration","pages":[{"title":"Update \u0026 Migration","href":"/1.x/update"}]},{"tab":"Security","pages":[{"title":"Security","href":"/1.x/security"}]}]}]},"basePath":"","title":"Create a Model - ASEE Flow","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}