Mohith Devatte
Tera Sage

Hello @tanz ,

if your JSON is not stored in an array no need to access it like [0] for accessing first element 

replace like below

 

Just make sure before send the JSON as a event parm1 use JSON.stringify(your_json) 

And then access it like below

var parsedData =event.parm1;
var txId =MessageBody.u_tx_id;
var state = parsedData.MessageBody.state;
 

 

Hope this helps 

Mark the answer correct if this helps you 

Thanks