feel-scala icon indicating copy to clipboard operation
feel-scala copied to clipboard

duplicate values() doesn't work for context items

Open saig0 opened this issue 1 year ago • 0 comments

Describe the bug The built-in function duplicate values() doesn't filter duplicates for a list of context items.

duplicate values([{x:1},{x:2},{x:1}])

To Reproduce Steps to reproduce the behavior:

  1. Evaluate the expression
duplicate values([{x:1},{x:2},{x:1}])
  1. Verify that the result is an empty list

Expected behavior The function duplicate values() should find duplicates for a list of context items.

duplicate values([{x:1},{x:2},{x:1}])
// [{"x":1}]

Environment

  • FEEL engine version: 1.17.3
  • Affects:
    • Camunda Automation Platform 7: [7.x]
    • Zeebe broker: 8.3.3

saig0 avatar Dec 08 '23 05:12 saig0