To implement a Custom Function, create a sub-class of FeelCustomFunctionProvider.The following code example shows how to implement a Custom Function:
import org.camunda.bpm.dmn.feel.impl.scala.function.CustomFunction;import org.camunda.bpm.dmn.feel.impl.scala.function.FeelCustomFunctionProvider;import java.util.Collection;import java.util.HashMap;import java.util.Map;import java.util.Optional;public class CustomFunctionProvider implements FeelCustomFunctionProvider { protected Map<String, CustomFunction> functions = new HashMap<>(); public CustomFunctionProvider() { CustomFunction function = CustomFunction.create() .setParams("x", "y") .setFunction(args -> { long argX = (long) args.get(0); long argY = (long) args.get(1); return argX + argY; }) .build(); functions.put("myFunction", function); } @Override public Optional<CustomFunction> resolveFunction(String functionName) { return Optional.ofNullable(functions.get(functionName)); } @Override public Collection<String> getFunctionNames() { return functions.keySet(); }}
When calling CustomFunction.create(), a builder is returned that you can use to configure the Custom Function.The builder has the following configuration options:
#setParams(String... params)
Defines the parameter names of the Custom Function
Passed arguments in FEEL must not follow a strict order when calling the parameter name explicitly: myFunction(y: 5, x: 3)
#enableVarargs()
Enables variable arguments
When enabled, the function can have variable arguments for the last parameter
The DMN Engine has a property feelCustomFunctionProviders of type List in the
DefaultDmnEngineConfiguration to register Custom Function Providers.
Type Handling
This section describes which argument types are passed into a Custom Function and which types
you can return.
Argument Types
All Java types listed in the “Return Types” section of the FEEL Type Handling documentation can be
passed into a Custom Function.
Return Types
All Java types listed in the “Return Types” section of the FEEL Type Handling documentation plus
the types listed in the FEEL Data Types documentation can be returned by a Custom Function.
{"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/dmn-engine/feel/custom-functions","slug":"/1.x/user-guide/dmn-engine/feel/custom-functions","pageMetadata":{"title":"FEEL Engine Custom Functions","sidebarTitle":"Custom Functions","description":null,"href":"/1.x/user-guide/dmn-engine/feel/custom-functions"},"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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._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:`ASEE Flow provides a wrapper for the FEEL Scala Engine to implement Custom Functions, which can be\ncalled in expressions and unary tests.`}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Custom Function Behavior`})}),_jsx(_components.p,{children:`Please note that the Custom Function Mechanism of the Standalone FEEL Scala Engine might behave differently.`})]}),`\n`,_jsxs(_components.p,{children:[`You can add Custom Functions to the Process Engine (or the Standalone DMN Engine) only programmatically\nthrough a `,_jsx(_components.a,{href:`/user-guide/process-engine/process-engine-plugins`,children:`Process Engine Plugin`}),`. Read more about it in the section about how to\n`,_jsx(_components.a,{href:`#register-custom-function-providers`,children:`Register Custom Function Providers`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`implement-a-custom-function`,children:`Implement a Custom Function`}),`\n`,_jsxs(_components.p,{children:[`To implement a Custom Function, create a sub-class of `,_jsx(_components.code,{children:`FeelCustomFunctionProvider`}),`.`]}),`\n`,_jsx(_components.p,{children:`The following code example shows how to implement a Custom Function:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`37`,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:`37`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` org.camunda.bpm.dmn.feel.impl.scala.function.CustomFunction;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` org.camunda.bpm.dmn.feel.impl.scala.function.FeelCustomFunctionProvider;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.util.Collection;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.util.HashMap;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.util.Map;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.util.Optional;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CustomFunctionProvider`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` implements`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` FeelCustomFunctionProvider`}),_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:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` protected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` Map`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`CustomFunction`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`functions`}),_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:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` HashMap`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c>();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` CustomFunctionProvider`}),_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\":`#4EC9B0`},children:` CustomFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` function`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CustomFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_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\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"y\"`}),_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\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(args `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:` long`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` argX`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`long`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`args`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:` long`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` argY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`long`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`args`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\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:` argX `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`+`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` argY; `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_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\":`#9CDCFE`},children:` functions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`put`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"myFunction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, function);`})]}),`\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\":`#D4D4D4`},children:` @`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`Override`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` Optional`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`CustomFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`resolveFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` functionName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\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\":`#9CDCFE`},children:` Optional`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`ofNullable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`functions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(functionName));`})]}),`\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\":`#D4D4D4`},children:` @`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`Override`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` Collection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getFunctionNames`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\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\":`#9CDCFE`},children:` functions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`keySet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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`]})})}),`\n`,_jsxs(_components.p,{children:[`When calling `,_jsx(_components.code,{children:`CustomFunction.create()`}),`, a builder is returned that you can use to configure the Custom Function.`]}),`\n`,_jsx(_components.p,{children:`The builder has the following configuration options:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`#setParams(String... params)`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Defines the parameter names of the Custom Function`}),`\n`,_jsxs(_components.li,{children:[`Passed arguments in FEEL must not follow a strict order when calling the parameter name explicitly: `,_jsx(_components.code,{children:`myFunction(y: 5, x: 3)`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`#enableVarargs()`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Enables variable arguments`}),`\n`,_jsx(_components.li,{children:`When enabled, the function can have variable arguments for the last parameter`}),`\n`,_jsx(_components.li,{children:`The last argument is of type list`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`#setFunction(Function\u003cList\u003cObject>, Object> function)`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Passes an object of type `,_jsx(`code`,{children:`java.util.function.Function`}),` with a list of objects as\narguments and an object as the return value`]}),`\n`,_jsxs(_components.li,{children:[`Cannot be used together with `,_jsx(_components.code,{children:`#setReturnValue`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`#setReturnValue(Object result)`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Sets the return value`}),`\n`,_jsx(_components.li,{children:`The return value is defined on the registration of the function and cannot be changed later on`}),`\n`,_jsxs(_components.li,{children:[`Cannot be used together with `,_jsx(_components.code,{children:`#setFunction`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`register-custom-function-providers`,children:`Register Custom Function Providers`}),`\n`,_jsx(_components.p,{children:`You can register the Custom Function Providers using a configuration property.`}),`\n`,_jsx(Heading,{level:`4`,id:`process-engine`,children:`Process Engine`}),`\n`,_jsxs(_components.p,{children:[`You can register Custom Function Providers in the Process Engine Configuration with the help of\nthe property `,_jsx(_components.a,{href:`/reference/deployment-descriptors/tags/process-engine#dmnFeelCustomFunctionProviders`,children:`dmnFeelCustomFunctionProviders`}),` using a `,_jsx(_components.a,{href:`/user-guide/process-engine/process-engine-plugins`,children:`Process Engine Plugin`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`standalone-dmn-engine`,children:`Standalone DMN Engine`}),`\n`,_jsxs(_components.p,{children:[`The DMN Engine has a property `,_jsx(_components.code,{children:`feelCustomFunctionProviders`}),` of type `,_jsx(_components.code,{children:`List`}),` in the\n`,_jsx(_components.code,{children:`DefaultDmnEngineConfiguration`}),` to register Custom Function Providers.`]}),`\n`,_jsx(Heading,{level:`3`,id:`type-handling`,children:`Type Handling`}),`\n`,_jsx(_components.p,{children:`This section describes which argument types are passed into a Custom Function and which types\nyou can return.`}),`\n`,_jsx(Heading,{level:`4`,id:`argument-types`,children:`Argument Types`}),`\n`,_jsxs(_components.p,{children:[`All Java types listed in the “Return Types” section of the `,_jsx(_components.a,{href:`/user-guide/dmn-engine/feel/type-handling#return-types`,children:`FEEL Type Handling`}),` documentation can be\npassed into a Custom Function.`]}),`\n`,_jsx(Heading,{level:`4`,id:`return-types`,children:`Return Types`}),`\n`,_jsxs(_components.p,{children:[`All Java types listed in the “Return Types” section of the `,_jsx(_components.a,{href:`/user-guide/dmn-engine/feel/type-handling#return-types`,children:`FEEL Type Handling`}),` documentation plus\nthe types listed in the `,_jsx(_components.a,{href:`https://docs.camunda.io/docs/components/modeler/feel/language-guide/feel-data-types/`,children:`FEEL Data Types`}),` documentation can be returned by a Custom Function.`]})]})}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":"FEEL Engine Custom Functions","sidebarTitle":"Custom Functions","description":null,"href":"/1.x/user-guide/dmn-engine/feel/custom-functions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Implement a Custom Function","slug":"implement-a-custom-function","depth":3,"children":[]},{"title":"Register Custom Function Providers","slug":"register-custom-function-providers","depth":3,"children":[]},{"title":"Process Engine","slug":"process-engine","depth":4,"children":[]},{"title":"Standalone DMN Engine","slug":"standalone-dmn-engine","depth":4,"children":[]},{"title":"Type Handling","slug":"type-handling","depth":3,"children":[]},{"title":"Argument Types","slug":"argument-types","depth":4,"children":[]},{"title":"Return Types","slug":"return-types","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/aseeflow/adc7e16456bb6574/reference/dmn/decision-table/img/map.js"],"subdomain":"aseeflow","siteName":"ASEE Flow","title":"FEEL Engine Custom Functions - ASEE Flow","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2.x":{"href":"/user-guide/dmn-engine/feel/custom-functions","matchLevel":1},"1.x":{"href":"/1.x/user-guide/dmn-engine/feel/custom-functions","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T17:36:10.917Z","originalFileLocation":"1.x/user-guide/dmn-engine/feel/custom-functions.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=\"FEEL Engine Custom Functions - 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/dmn-engine/feel/custom-functions\">\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=FEEL+Engine\u0026amp;title=FEEL+Engine+Custom+Functions\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=954d2a38dbf6f8a9b1f5d42f38f2fa63312187118ebdcbae3a92cda67ef23494\">\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=\"FEEL Engine Custom Functions - ASEE Flow\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aseeflow.mintlify.site/_mintlify/api/og/v2?division=FEEL+Engine\u0026amp;title=FEEL+Engine+Custom+Functions\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=954d2a38dbf6f8a9b1f5d42f38f2fa63312187118ebdcbae3a92cda67ef23494\">\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/dmn-engine/feel/custom-functions\">\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/dmn-engine/feel/custom-functions.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/dmn-engine/feel/custom-functions#webpage\",\"url\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel/custom-functions\",\"name\":\"FEEL Engine Custom Functions\",\"dateModified\":\"2026-11-04T17:36:10.917Z\",\"isPartOf\":{\"@id\":\"https://docs.aseeflow.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel/custom-functions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel/custom-functions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User Guide\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DMN Engine\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"FEEL Engine\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"FEEL Engine Custom Functions\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel/custom-functions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel/custom-functions#article\",\"headline\":\"FEEL Engine Custom Functions\",\"name\":\"FEEL Engine Custom Functions\",\"url\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel/custom-functions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/dmn-engine/feel/custom-functions#webpage\"},\"dateModified\":\"2026-11-04T17:36:10.917Z\",\"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/dmn-engine/feel/custom-functions.md","siteName":"ASEE Flow","nav":{"global":null,"versions":[{"version":"2.x","default":true,"tag":"Latest","pages":[{"title":"2.x","href":"/user-guide/dmn-engine/feel/custom-functions"}]},{"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","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","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","description":null,"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","description":null,"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":"FEEL Engine Custom Functions - ASEE Flow","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}