All persistent entities managed by the process engine (Process Instances, Tasks, …) have unique
Ids. These Ids uniquely identify an individual task, process instance, etc. When these entities are
persisted to the database, the ids are used as primary keys in the corresponding database tables.Out of the box, the process engine provides two Id generator implementations.
The Database Id Generator
The Database Id Generator is implemented using a sequence Generator on top of the ACT_GE_PROPERTY
table.This id generator is good for debugging and testing since it generates human readable ids.
The Database Id Generator should never be used in production since it cannot handle high levels of concurrency.
The UUID Generator
The StrongUuidGenerator uses a UUID generator which uses the Java UUID Generator (JUG) library
internally.
Always use the StrongUuidGenerator for production setups.
In the ASEE Flow Full Distributions, the
StrongUuidGenerator is preconfigured and the default Id Generator used by the process engine.If you use an embedded process engine configuration and configure the process engine using Spring,
you need to add the following lines to the Spring configuration to enable the
StrongUuidGenerator:
{"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":"user-guide/process-engine/id-generator","slug":"/user-guide/process-engine/id-generator","pageMetadata":{"title":"Id Generators","description":null,"href":"/user-guide/process-engine/id-generator"},"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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`All persistent entities managed by the process engine (Process Instances, Tasks, …) have unique\nIds. These Ids uniquely identify an individual task, process instance, etc. When these entities are\npersisted to the database, the ids are used as primary keys in the corresponding database tables.`}),`\n`,_jsx(_components.p,{children:`Out of the box, the process engine provides two Id generator implementations.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-database-id-generator`,children:`The Database Id Generator`}),`\n`,_jsxs(_components.p,{children:[`The Database Id Generator is implemented using a sequence Generator on top of the `,_jsx(_components.code,{children:`ACT_GE_PROPERTY`}),`\ntable.`]}),`\n`,_jsx(_components.p,{children:`This id generator is good for debugging and testing since it generates human readable ids.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The Database Id Generator should `,_jsx(_components.strong,{children:`never`}),` be used in production since it cannot handle high levels of concurrency.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`the-uuid-generator`,children:`The UUID Generator`}),`\n`,_jsxs(_components.p,{children:[`The StrongUuidGenerator uses a UUID generator which uses the `,_jsx(_components.a,{href:`https://mvnrepository.com/artifact/com.fasterxml.uuid/java-uuid-generator`,children:`Java UUID Generator (JUG)`}),` library\ninternally.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Always use the StrongUuidGenerator for production setups.`})}),`\n`,_jsxs(_components.p,{children:[`In the `,_jsx(_components.a,{href:`/introduction/downloading-aseeflow#full-distribution`,children:`ASEE Flow Full Distributions`}),`, the\nStrongUuidGenerator is preconfigured and the default Id Generator used by the process engine.`]}),`\n`,_jsxs(_components.p,{children:[`If you use an embedded process engine configuration and configure the process engine using Spring,\nyou need to add the following lines to the Spring configuration to enable the\n`,_jsx(_components.code,{children:`StrongUuidGenerator`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`bean`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processEngineConfiguration\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [...]`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`property`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"idGenerator\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`bean`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"org.camunda.bpm.engine.impl.persistence.StrongUuidGenerator\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`property`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`bean`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Additionally, you need the following maven dependency:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`dependency`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`groupId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`com.fasterxml.uuid`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`groupId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`artifactId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`java-uuid-generator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`artifactId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`scope`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`provided`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`scope`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`3.1.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`dependency`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\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":"Id Generators","description":null,"href":"/user-guide/process-engine/id-generator"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The Database Id Generator","slug":"the-database-id-generator","depth":2,"children":[]},{"title":"The UUID Generator","slug":"the-uuid-generator","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/aseeflow/adc7e16456bb6574/reference/dmn/decision-table/img/map.js"],"subdomain":"aseeflow","siteName":"ASEE Flow","title":"Id Generators - ASEE Flow","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2.x":{"href":"/user-guide/process-engine/id-generator","matchLevel":0},"1.x":{"href":"/1.x/user-guide/process-engine/id-generator","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T17:36:09.794Z","originalFileLocation":"user-guide/process-engine/id-generator.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=\"Id Generators - 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/user-guide/process-engine/id-generator\">\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=Process+Engine\u0026amp;title=Id+Generators\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=f9ec41444b6e3a3f5a6ce84172eb102af49fbc1d869f05d9950aed19ddf25fe0\">\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=\"Id Generators - ASEE Flow\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aseeflow.mintlify.site/_mintlify/api/og/v2?division=Process+Engine\u0026amp;title=Id+Generators\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=f9ec41444b6e3a3f5a6ce84172eb102af49fbc1d869f05d9950aed19ddf25fe0\">\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/user-guide/process-engine/id-generator\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/user-guide/process-engine/id-generator.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/user-guide/process-engine/id-generator#webpage\",\"url\":\"https://docs.aseeflow.org/user-guide/process-engine/id-generator\",\"name\":\"Id Generators\",\"dateModified\":\"2026-11-04T17:36:09.794Z\",\"isPartOf\":{\"@id\":\"https://docs.aseeflow.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aseeflow.org/user-guide/process-engine/id-generator#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aseeflow.org/user-guide/process-engine/id-generator#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User Guide\",\"item\":\"https://docs.aseeflow.org/user-guide\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Process Engine\",\"item\":\"https://docs.aseeflow.org/user-guide/process-engine\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Id Generators\",\"item\":\"https://docs.aseeflow.org/user-guide/process-engine/id-generator\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.aseeflow.org/user-guide/process-engine/id-generator#article\",\"headline\":\"Id Generators\",\"name\":\"Id Generators\",\"url\":\"https://docs.aseeflow.org/user-guide/process-engine/id-generator\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aseeflow.org/user-guide/process-engine/id-generator#webpage\"},\"dateModified\":\"2026-11-04T17:36:09.794Z\",\"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":"/user-guide/process-engine/id-generator.md","siteName":"ASEE Flow","nav":{"global":null,"versions":[{"version":"2.x","default":true,"tag":"Latest","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started"}]},{"tab":"Introduction","pages":[{"title":"Introduction","href":"/introduction"}]},{"tab":"User Guide","groups":[{"group":"User Guide","root":{"title":"User Guide","href":"/user-guide"},"pages":[{"group":"Process Engine","root":{"title":"Process Engine","href":"/user-guide/process-engine"},"pages":[{"title":"Process Engine Bootstrapping","href":"/user-guide/process-engine/process-engine-bootstrapping"},{"title":"Process Engine API","href":"/user-guide/process-engine/process-engine-api"},{"title":"Process Engine Concepts","href":"/user-guide/process-engine/process-engine-concepts"},{"title":"Process Variables","href":"/user-guide/process-engine/variables"},{"title":"Process Instance Modification","href":"/user-guide/process-engine/process-instance-modification"},{"title":"Process Instance Restart","href":"/user-guide/process-engine/process-instance-restart"},{"title":"Delegation Code","href":"/user-guide/process-engine/delegation-code"},{"group":"Expression Language","root":{"title":"Expression Language","href":"/user-guide/process-engine/expression-language"},"pages":[{"title":"Friendly Enough Expression Language","href":"/user-guide/process-engine/expression-language/friendly-enough-expression-language"},{"title":"Unified Expression Language","href":"/user-guide/process-engine/expression-language/unified-expression-language"}]},{"title":"Scripting","href":"/user-guide/process-engine/scripting"},{"title":"Templating","href":"/user-guide/process-engine/templating"},{"title":"Custom Code \u0026 Security","href":"/user-guide/process-engine/securing-custom-code"},{"title":"External Tasks","href":"/user-guide/process-engine/external-tasks"},{"title":"Connectors","href":"/user-guide/process-engine/connectors"},{"title":"Process Versioning","href":"/user-guide/process-engine/process-versioning"},{"title":"Process Instance Migration","href":"/user-guide/process-engine/process-instance-migration"},{"group":"Database","root":{"title":"Database","href":"/user-guide/process-engine/database"},"pages":[{"title":"Database Schema","href":"/user-guide/process-engine/database/database-schema"},{"title":"Database Configuration","href":"/user-guide/process-engine/database/database-configuration"},{"title":"Microsoft SQL Server and Azure SQL Database Configuration","href":"/user-guide/process-engine/database/mssql-configuration"},{"title":"MySQL Database Configuration","href":"/user-guide/process-engine/database/mysql-configuration"},{"title":"Performance","href":"/user-guide/process-engine/database/performance"}]},{"group":"History","root":{"title":"History","href":"/user-guide/process-engine/history"},"pages":[{"title":"History configuration","href":"/user-guide/process-engine/history/history-configuration"},{"title":"User operation log","href":"/user-guide/process-engine/history/user-operation-log"},{"title":"History cleanup","href":"/user-guide/process-engine/history/history-cleanup"},{"title":"Custom implementation","href":"/user-guide/process-engine/history/custom-implementation"}]},{"title":"Deployment Cache","href":"/user-guide/process-engine/deployment-cache"},{"title":"Password Hashing","href":"/user-guide/process-engine/password-hashing"},{"title":"Password Policy","href":"/user-guide/process-engine/password-policy"},{"title":"Transactions in Processes","href":"/user-guide/process-engine/transactions-in-processes"},{"title":"The Job Executor","href":"/user-guide/process-engine/the-job-executor"},{"title":"Multi-Tenancy","description":null,"href":"/user-guide/process-engine/multi-tenancy"},{"title":"Id Generators","href":"/user-guide/process-engine/id-generator"},{"title":"Metrics","description":null,"href":"/user-guide/process-engine/metrics"},{"title":"Incidents","href":"/user-guide/process-engine/incidents"},{"title":"Process Engine Plugins","href":"/user-guide/process-engine/process-engine-plugins"},{"title":"Identity Service","href":"/user-guide/process-engine/identity-service"},{"title":"Authorization Service","href":"/user-guide/process-engine/authorization-service"},{"title":"Deployments","href":"/user-guide/process-engine/deployments"},{"title":"Process Diagram Visualization","href":"/user-guide/process-engine/process-diagram-api"},{"title":"Time zones","href":"/user-guide/process-engine/time-zones"},{"group":"Decisions","root":{"title":"Decisions in the Process Engine","sidebarTitle":"Overview","href":"/user-guide/process-engine/decisions"},"pages":[{"title":"Configure the DMN engine","sidebarTitle":"Configuration","href":"/user-guide/process-engine/decisions/configuration"},{"title":"Decisions in the Process Engine Repository","sidebarTitle":"Repository","href":"/user-guide/process-engine/decisions/repository"},{"title":"Decision Service in the Process Engine","sidebarTitle":"Decision Service","href":"/user-guide/process-engine/decisions/decision-service"},{"title":"Invoke Decisions from Processes and Cases","sidebarTitle":"Decisions in BPMN \u0026 CMMN","href":"/user-guide/process-engine/decisions/bpmn-cmmn"},{"title":"History for DMN Decisions","sidebarTitle":"History","href":"/user-guide/process-engine/decisions/history"}]},{"title":"Batch","href":"/user-guide/process-engine/batch"},{"title":"Batch operations","href":"/user-guide/process-engine/batch-operations"},{"title":"Error Handling","href":"/user-guide/process-engine/error-handling"},{"title":"Diagnostics data","href":"/user-guide/process-engine/diagnostics-data"}]},{"group":"Process Applications","root":{"title":"Process Applications","sidebarTitle":"Overview","href":"/user-guide/process-applications"},"pages":[{"title":"The Process Application class","href":"/user-guide/process-applications/the-process-application-class"},{"title":"The processes.xml Deployment Descriptor","href":"/user-guide/process-applications/the-processes-xml-deployment-descriptor"},{"title":"Process Application Event Listeners","href":"/user-guide/process-applications/process-application-event-listeners"},{"title":"Process Application Resource Access","href":"/user-guide/process-applications/process-application-resources"}]},{"group":"Runtime Container Integration","root":{"title":"Runtime Container Integration","href":"/user-guide/runtime-container-integration"},"pages":[{"title":"ASEE Flow Services","href":"/user-guide/runtime-container-integration/bpm-platform-services"},{"title":"JNDI Bindings for ASEE Flow Services","href":"/user-guide/runtime-container-integration/jndi-bindings-for-bpmn-platform-services"},{"title":"Apache Tomcat Integration","sidebarTitle":"Apache Tomcat","href":"/user-guide/runtime-container-integration/tomcat"},{"title":"The ASEE Flow WildFly Subsystem","sidebarTitle":"WildFly","href":"/user-guide/runtime-container-integration/jboss"},{"title":"Job Execution with Managed Resources","href":"/user-guide/runtime-container-integration/job-execution-with-managed-resources"}]},{"title":"ASEE Flow Run","href":"/user-guide/aseeflow-bpm-run"},{"group":"Spring Framework Integration","root":{"title":"Spring Framework Integration","sidebarTitle":"Overview","href":"/user-guide/spring-framework-integration"},"pages":[{"title":"Process Engine Configuration","sidebarTitle":"Bootstrapping","href":"/user-guide/spring-framework-integration/configuration"},{"title":"Spring Transaction Integration","sidebarTitle":"Transactions","href":"/user-guide/spring-framework-integration/transactions"},{"title":"Automatic Resource Deployment","sidebarTitle":"Deployment","href":"/user-guide/spring-framework-integration/deployment"},{"title":"Spring Beans in Processes","sidebarTitle":"Spring Bean Resolving","href":"/user-guide/spring-framework-integration/expressions"},{"title":"Spring-Based Testing","sidebarTitle":"Testing","href":"/user-guide/spring-framework-integration/testing"}]},{"group":"Spring Boot Integration","root":{"title":"Spring Boot Integration","sidebarTitle":"Overview","href":"/user-guide/spring-boot-integration"},"pages":[{"title":"Spring Boot Version Compatibility","sidebarTitle":"Version Compatibility","href":"/user-guide/spring-boot-integration/version-compatibility"},{"title":"Process Engine Configuration","sidebarTitle":"Configuration","href":"/user-guide/spring-boot-integration/configuration"},{"title":"REST API","href":"/user-guide/spring-boot-integration/rest-api"},{"title":"Web applications","sidebarTitle":"Web Applications","href":"/user-guide/spring-boot-integration/webapps"},{"title":"Process applications","sidebarTitle":"Process Applications","href":"/user-guide/spring-boot-integration/process-applications"},{"title":"Spring Eventing Bridge","href":"/user-guide/spring-boot-integration/the-spring-event-bridge"},{"title":"Developing and Testing Spring Boot Applications","sidebarTitle":"Developing and Testing","href":"/user-guide/spring-boot-integration/develop-and-test"},{"title":"Spring Security OAuth2 Integration","href":"/user-guide/spring-boot-integration/spring-security"}]},{"group":"Quarkus Integration","root":{"title":"Quarkus Integration","sidebarTitle":"Overview","href":"/user-guide/quarkus-integration"},"pages":[{"title":"Quarkus Version Compatibility","sidebarTitle":"Version Compatibility","href":"/user-guide/quarkus-integration/version-compatibility"},{"title":"Engine CDI Integration","href":"/user-guide/quarkus-integration/cdi-integration"},{"title":"Quarkus Extension Configuration","sidebarTitle":"Configuration","href":"/user-guide/quarkus-integration/configuration"},{"title":"Resource Deployments","href":"/user-guide/quarkus-integration/deployments"}]},{"group":"CDI and Java EE Integration","root":{"title":"CDI and Java EE Integration","sidebarTitle":"Overview","href":"/user-guide/cdi-java-ee-integration"},"pages":[{"title":"JTA Transaction Integration","href":"/user-guide/cdi-java-ee-integration/jta-transaction-integration"},{"title":"Expression Resolving","href":"/user-guide/cdi-java-ee-integration/expression-resolving"},{"title":"Contextual Programming Model","href":"/user-guide/cdi-java-ee-integration/contextual-programming-model"},{"title":"Built-In Beans","href":"/user-guide/cdi-java-ee-integration/built-in-beans"},{"title":"CDI Event Bridge","href":"/user-guide/cdi-java-ee-integration/the-cdi-event-bridge"}]},{"group":"Testing","root":{"title":"Testing","sidebarTitle":"Overview","href":"/user-guide/testing"},"pages":[{"title":"Assert Examples","href":"/user-guide/testing/assert-examples"}]},{"group":"Model API","root":{"title":"Model API","href":"/user-guide/model-api"},"pages":[{"group":"BPMN Model API","root":{"title":"BPMN Model API","href":"/user-guide/model-api/bpmn-model-api"},"pages":[{"title":"Read a Model","href":"/user-guide/model-api/bpmn-model-api/read-a-model"},{"title":"Create a Model","href":"/user-guide/model-api/bpmn-model-api/create-a-model"},{"title":"Delegation Code","href":"/user-guide/model-api/bpmn-model-api/delegation-code"},{"title":"Fluent Builder API","href":"/user-guide/model-api/bpmn-model-api/fluent-builder-api"},{"title":"Repository Service","href":"/user-guide/model-api/bpmn-model-api/respository-service"},{"title":"Extension Elements","href":"/user-guide/model-api/bpmn-model-api/extension-elements"}]},{"group":"CMMN Model API","root":{"title":"CMMN Model API","href":"/user-guide/model-api/cmmn-model-api"},"pages":[{"title":"Read a Model","href":"/user-guide/model-api/cmmn-model-api/read-a-model"},{"title":"Create a Model","href":"/user-guide/model-api/cmmn-model-api/create-a-model"},{"title":"Delegation Code","href":"/user-guide/model-api/cmmn-model-api/delegation-code"},{"title":"Repository Service","href":"/user-guide/model-api/cmmn-model-api/repository-service"},{"title":"Extension Elements","href":"/user-guide/model-api/cmmn-model-api/extension-elements"},{"title":"Limitations","href":"/user-guide/model-api/cmmn-model-api/limitations"}]},{"group":"DMN Model API","root":{"title":"DMN Model API","href":"/user-guide/model-api/dmn-model-api"},"pages":[{"title":"Read a Model","href":"/user-guide/model-api/dmn-model-api/read-a-model"},{"title":"Create a Model","href":"/user-guide/model-api/dmn-model-api/create-a-model"},{"title":"Repository Service","href":"/user-guide/model-api/dmn-model-api/repository-service"},{"title":"Extension Attributes","href":"/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":"/user-guide/data-formats"},"pages":[{"title":"Configuring Spin Integration","href":"/user-guide/data-formats/configuring-spin-integration"},{"title":"Data Formats in Processes","href":"/user-guide/data-formats/data-formats-in-processes"},{"title":"XML","href":"/user-guide/data-formats/xml"},{"title":"JSON","href":"/user-guide/data-formats/json"}]},{"group":"User Task Forms","root":{"title":"User Task Forms","sidebarTitle":"Overview","href":"/user-guide/task-forms"},"pages":[{"title":"JSF Task Forms","href":"/user-guide/task-forms/jsf-task-forms"}]},{"title":"Logging","href":"/user-guide/logging"},{"group":"DMN Engine","root":{"title":"DMN Engine","sidebarTitle":"Overview","href":"/user-guide/dmn-engine"},"pages":[{"title":"Embedding the DMN Engine","sidebarTitle":"Embed","href":"/user-guide/dmn-engine/embed"},{"title":"Evaluating Decisions using the DMN Engine API","sidebarTitle":"Evaluate Decisions","href":"/user-guide/dmn-engine/evaluate-decisions"},{"title":"Expressions in the DMN Engine","sidebarTitle":"Expressions","href":"/user-guide/dmn-engine/expressions-and-scripts"},{"group":"FEEL Engine","root":{"title":"FEEL Engine","sidebarTitle":"Overview","href":"/user-guide/dmn-engine/feel"},"pages":[{"title":"FEEL Engine Type Handling","sidebarTitle":"Type Handling","href":"/user-guide/dmn-engine/feel/type-handling"},{"title":"FEEL Engine Custom Functions","sidebarTitle":"Custom Functions","href":"/user-guide/dmn-engine/feel/custom-functions"},{"title":"FEEL Engine Spin Integration","sidebarTitle":"Spin Integration","href":"/user-guide/dmn-engine/feel/spin-integration"},{"title":"FEEL Engine Legacy Behavior","sidebarTitle":"Legacy Behavior","href":"/user-guide/dmn-engine/feel/legacy-behavior"}]},{"title":"Data Types in the DMN Engine","sidebarTitle":"Data Types","href":"/user-guide/dmn-engine/data-types"},{"title":"Testing Decisions with the DMN Engine","sidebarTitle":"Testing","href":"/user-guide/dmn-engine/testing"}]},{"title":"Security Instructions","href":"/user-guide/security"},{"group":"External Task Client","root":{"title":"External Task Client","sidebarTitle":"Overview","href":"/user-guide/ext-client"},"pages":[{"title":"External Task Client Spring Boot Starter","sidebarTitle":"Spring Boot Starter","href":"/user-guide/ext-client/spring-boot-starter"},{"title":"Version Compatibility","href":"/user-guide/ext-client/compatibility-matrix"}]}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference"}]},{"tab":"Installation","pages":[{"title":"Installation","href":"/installation"}]},{"tab":"Modeler","pages":[{"title":"Modeler","href":"/modeler"}]},{"tab":"WebAdmin","pages":[{"title":"WebAdmin","href":"/webadmin"}]},{"tab":"Web Applications","pages":[{"title":"Web Applications","href":"/webapps"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples"}]},{"tab":"Update \u0026 Migration","pages":[{"title":"Update \u0026 Migration","href":"/update"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security"}]}]},{"version":"1.x","pages":[{"title":"1.x","href":"/1.x/user-guide/process-engine/id-generator"}]}]},"basePath":"","title":"Id Generators - ASEE Flow","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}