]
Matteo Mortari updated DROOLS-2411:
-----------------------------------
Sprint: 2018 Week 11-12
For loop using filter in iteration context
------------------------------------------
Key: DROOLS-2411
URL:
https://issues.jboss.org/browse/DROOLS-2411
Project: Drools
Issue Type: Bug
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Attachments: image-2018-03-21-16-48-52-704.png,
image-2018-03-21-16-49-14-236.png, image-2018-03-21-16-49-30-158.png,
image-2018-03-21-16-50-08-712.png
In the following model:
!image-2018-03-21-16-48-52-704.png!
for the following input:
!image-2018-03-21-16-49-14-236.png!
with number being:
!image-2018-03-21-16-49-30-158.png!
The following expression works:
{code:java}
for m in my input.numbers return ceiling(m)
{code}
returning:
!image-2018-03-21-16-50-08-712.png!
But these other expressions fail:
{code:java}
for m in my input[name="asd"].numbers return ceiling(m)
for m in my input[item.name="asd"].numbers return ceiling(m)
{code}