[progress Communities] [progress Openedge Abl] Getmessages Shouldn't Always Get All The...

Status
Not open for further replies.
T

tbarring

Guest
If I generate a bunch of Info-level messages in my ruleflow, I may want to see those messages when I run a test but not for normal production operations. However, in production I do need to see warning- or error-level messages, so I have to run GetMessages. I can set a certain level of message to be returned on a server, but if I am trying to track down a production issue I may need to test on the production server and see all the messages, which means the server setting is not an option, and I end up with a huge amount of unwanted data on my network. Overload the GetMessages method by adding a new parameter which specifies the minimum level of message to be returned: for example, GetMessages(output tablename, "Warning") will only return warning or error messages, even if the server is configured to normally return all messages.

Continue reading...
 
Status
Not open for further replies.
Top