问题 How can i increment variable value inside mapobject(I do not want to use index) in mule4 datawave2.0? My Code: "Employees":{(inputData.*Employees.*Employee map{ "Employee": ($) mapObject(v,k) -> { ---Increment variable value here (k):updateReferenceId(v,($$)+1,v) } })} 回答1: You can increment values in the accumulator of a reduce operation, and you can then add these to the structured data plan f the output. There are some examples in the MuleSoft DataWeave training course flightsInput reduce