From b4737044dd6f39246cbc273972b2298aadc9b3f4 Mon Sep 17 00:00:00 2001 From: ProcessGit Templates Date: Thu, 5 Feb 2026 21:19:36 +0000 Subject: [PATCH] Initial template import --- .gitea/template | 3 ++ README.md | 5 +++ dmn/decision.dmn.xml | 77 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 .gitea/template create mode 100644 README.md create mode 100644 dmn/decision.dmn.xml diff --git a/.gitea/template b/.gitea/template new file mode 100644 index 0000000..c0686b0 --- /dev/null +++ b/.gitea/template @@ -0,0 +1,3 @@ +# Expand placeholders in README and DMN assets +README.md +dmn/** diff --git a/README.md b/README.md new file mode 100644 index 0000000..a7114b2 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# {{.RepoName}} + +Single **DMN** decision scratchpad repository. + +Purpose: model a DMN decision (Camunda-style), then copy `dmn/decision.dmn` into a larger UAPF package repository. diff --git a/dmn/decision.dmn.xml b/dmn/decision.dmn.xml new file mode 100644 index 0000000..b1b76ff --- /dev/null +++ b/dmn/decision.dmn.xml @@ -0,0 +1,77 @@ + + + + + + + + customerType + + + "Premium","Standard","New" + + + + + orderAmount + + + + + + + + "Premium" + - + 20 + "Premium loyalty discount" + + + + + "Standard" + >= 500 + 15 + "Volume discount" + + + + + "Standard" + [100..500) + 10 + "Standard discount" + + + + + "New" + - + 5 + "Welcome discount" + + + + + - + - + 0 + "No discount applicable" + + + + + + + + + + + +