Getting Messages

LANSA WAM

Getting Messages

// Webroutine messages

var msgs = wr.messages();

var msgsCount = msgs.count();

 

// Process each message

msgs.each(function(m) {

alert("Message: " + m);

});