Not sure if this helps. The example below checks return codes values, and and depending on what the value is, sends messages to the appropriate people.
*--Check to see if directories and log file exist and return appropriate;
return code.
DO CASE
CASE THISFORM.ErrorCode = "1"
RUN send "Error Message" John Jim Sarah
CASE THISFORM.ErrorCode = "2"
RUN send "some other error message." Jack Mary Tom
CASE THISFORM.ErrorCode = "3"
RUN send "another error message" Tom Joe Bill
ENDCASE
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only