on 02-12-2009 6:03 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.