Skip to main content
Question

Merge two records in Jython evaluator based on particular field

  • June 28, 2023
  • 0 replies
  • 13 views

upasana
Fan

Suppose, I am getting 4 records in jython evaluator stage. I want to combine them and make them 2 records based on particular field. 

 

{

name: “Henry”,

age: 12

}

{

name : ”Henry”,

emai: “Henry@gmail.com

}

 

The record should become like

 

{

name: “Henry”,

age: 12,

emai: “Henry@gmail.com

}

 

similarly if there 2 more records like that should combine separately.