cancel
Showing results for 
Search instead for 
Did you mean: 

BLS error message

Former Member
0 Kudos

What syntax do I need to get the error message from an action block.

I would like to generate an email to myself with the error message from a web service when it fails. The error message is availalbe in the tracer and error log, so there must be a way to access it like other block properties.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Sue,

you may also have a look at the following thread:

[;

I have inserted an example of how you may check if an error has occurred during the HTTP Post call.

Michael

Former Member
0 Kudos

Believe it or not, I don't think you can! I don't know if it was added in 12.0 (it certainly should be), but in 11.5, it only went to the log.

While not a particularly elegant workaround, you could use the HTTP post action and the appropriately formatted XML message for you web service, and then look for the error message and/or message in the XML response as needed.