How to work with Undefined value from Correlated XML Message
Hi:
Sorry I can't find the correct documentation for this. It's very simple I think.
I open up an XML reader class and correlate the XML to a message type.
My XML will read something like
This gets correlated into a message with the following property
I can use the following to get the other properties out
i.e.
When i try for the one with the blank value for the blank entry with a trace I get undefined traced out
I just want a line to basically try say if it has no value then do something. I tried the following but couldn't do anything based on if it was blank
set LastChecked= docs.RelayedDocuments.GetAt(i).StatusLastChecked
if LastChecked="undefined" {$$$TRACE("Gotcha")}
if LastChecked="" {$$$TRACE("Gotcha")}
Thanks