Use this tag for asking questions on "Friendly Enough Expression Language" (FEEL)
Questions tagged [feel-language]
16 questions
2
votes
2 answers
list contains for structure data type in DMN decision table
I am planning to use Drools for executing the DMN models. However I am having trouble to write a condition in DMN Decision table where the input is an array of objects with structure data type and condition is to check if the array contains an…

Naman Parakh
- 21
- 3
1
vote
1 answer
Unable to find a DMN FEEL function in maven testing
I have a simple DMN decision that counts an age from the date of birth:
years and months duration(date(DOB), today()).years
It's working fine in the KIE Sandbox but I'm not able to get it running from a .scesim file executed from maven (using mvn…

maresmar
- 1,449
- 14
- 21
1
vote
1 answer
Does the Feel language builtin string function 'replace' affect the first match or all occurrances of the search pattern?
The Decision Model and Notation Feel Language has many builtin functions.
For strings, one function is replace. It accepts a search string, a regex pattern, a replacement string, and optional flags.
Does replace act only on the first regex match or…

Paul Chernoch
- 5,275
- 3
- 52
- 73
0
votes
0 answers
Test a list type data as an input in a Decision Table
I want to test a list type of data that is come from other webpage and get a result data by using decision table.
I don't know how to write a correct FEEL code to test a list type data in a decision table.
DRD
Decision Table
I gave an input data,…

Donnie Y
- 1
- 1
0
votes
1 answer
Local Variables in DMN?
Can we initialize local variables inside a dmn using FEEL/Literal expression
if (somecondition) then {
newVar=newVal
}else { }
if(newVar==someVal) then {..}
else {}
Can we initialize local variables and use them the way it is done in OOP? I need…
0
votes
1 answer
Can conditionals be used inside the then block of a FEEL/Literal expression in dmn
We are using Literal Expressions for one of our decisions.
Would like to see if coinditionals is supported inside the then ?
Returns with an invalid dmn
if(somecondition) then {
if(newcondition) then {....} else {}
}else if (another condition) then…
0
votes
1 answer
How do I use round down function in Camunda literal expression?
I wish to round the result (type long) of literal expression of DMN. I tried using rounddown(exp, -6), but it did not work. Function ceiling and floor also not working. I'm using Camunda 7.17. Please suggest if I'm missing something or any other way…

Rahul Nehete
- 23
- 4
0
votes
0 answers
Dmn with multi nested input with looping
I am a newbie in dmn and i have a requirement as below
Sample input:
Input:{
Person: P1
Transaction:{
Transaction Id: 1
Event:{
Event name: "gate opened",
Event value: "yes"
},
Event:{
Event name: "atm operative",
Event value: "yes"
},
Event:{
Event…

Harikrishnamv
- 23
- 4
0
votes
2 answers
DMN Feel multiple Not Equals (!=)
I am reaching out to inquire about a challenge with DMN FEEL Logical Operator not equals.
Basically we are not getting a correct result when placing multiple Not Equals (!=) in a single field. From the attached example, we basically placed a…

nadz
- 37
- 1
- 2
- 7
0
votes
1 answer
DMN - matching a Java enum by a FEEL expression
I have a Java enum as an input in a DMN decision table. The DMN call is embedded directly in the Java app. So take some enum:
public enum Foo {
ONE, TWO
}
I pass an instance of this enum as an input - dmnContext.set("Foo", foo);
I hoped to be…
0
votes
1 answer
Handling null when returning through Business Knowledge model in DMN
I am trying to make some Business rules using DMN on kie Server.
There I have structure data object and its list which is my input. I am using rule to validate my structure list and get only those who passes my condition.
I am using…

Allen Harris
- 53
- 5
0
votes
1 answer
Concerning the "in" operator, what does Table 55, Grammar Rule 49.c mean in the DMN 1.3 Spec?
Page 124, Table 55, Grammar Rule 49.c in the Decision Model and Notation, v1.3 spec has a description that is cut off. What are the semantics of this use of the "in" operator?
Grammar Rule: 49.c
Feel Syntax: e1 in e2
…

Paul Chernoch
- 5,275
- 3
- 52
- 73
0
votes
2 answers
DMN model rule that can loop custom data type list
I have a data structure similar to below json example and I would like to loop through nested list to get "DetailType" , check if a single "DetailType" is "ABC" then don't check rest of the Accounts and return true. How can this be modeled in DMN.…

stackflowUser1134
- 19
- 2
0
votes
1 answer
How to access list element in FEEL list literal expression in DMN?
I have the following list of the object:
"animals":[
{
"family":"cat",
"color":"grey"
},
{
"family":"dog",
"color":"white"
}
]
I want to access first animal object that is in dog family and white color. I am trying to achieve it by doing…

Karan Desai
- 3,012
- 5
- 32
- 66
-1
votes
2 answers
Is there already a Java library open-source and available via Maven that implements FEEL-language?
Is there already a Java library open-source and available via Maven that implements FEEL other than Drools?

user1800752
- 29
- 1
- 6