I need to mock the salesforce endpoint. So I need to have a payload returned from the mock processor that's mocking the salesforce.
Currently I have written the MEL as follows :
[Arrays.asList((({AccountId='0012',FirstName=Martin},{AccountId='0014',FirstName=Dmitri}).asString().split(',')))]
This doesn't seem to work properly. I need to use a MEL to convert the payload to a Array list of hash maps. I also tried separating the string by some other character like '|' instead of ',', but it didn't work.
Please let me know if there's any change required in the MEL.
Thank you.