i had created very simple flow i had attached the picture below.
flow description :
User sends the expense report and finally it gets reviewed and should be approved while i am clicking the approved button. but i was getting error as below :
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'onAccept1': was expecting ('true', 'false' or 'null').
current json that i have on variable
onAccept1 : return {"comments1" : $data.comments1, "isApproved1":false};
can any body please what was the mistake in the json , that i have on the variable called "onAccept1".
i got this error while submitting thtask , below was my contract def: