I am new to webmethods. I am Using WMDB package with IS 4.6 to insert data. If the insert fails the error message is stored in $errors document list output variable for insert service. I Could not extract the error from this list to send a mail, If I map the document as attachment, the mail comes with null value. Any Easy way to convert the list to an string?.
One of the ways is to Loop over the $errors and build the body of the mail and later send the mail.
Else, you can convert the $errors into a string directly by using the converttostring. For this you need to define a XML template of the record.