how can i create map variable in dataweave from 2 lists where the first element in first list should be the key in the map and first element from second list should be the value in the map and so on...
Below script is throwing error.
%dw 1.0 %output application/json %var accountIdMap = { (payload.*accountIdList): payload.*accountNameList }