General InformationThe table below provides information about the definition of the opening ID.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleIn this sample, only the system with description as 'STATION' is considered as station.
Let Status (Boolean) Let SystemDescription (String) if (ThisObject->HasAttribute("V_description") == true) { SystemDescription = ThisObject->GetAttributeString("V_description") Trace (1, "Description=", SystemDecription) if (0 <= SystemDescription.Search("STATION", 0, true)) { set Status = true } else { set Status = false } } else { set Status = false } if (true == Status) { Validation = true Parameters.Severity = 0 Parameters.Message = "System is a Station" Trace (1, "System is a Station") } else { Validation = false Parameters.Severity = 0 Parameters.Message = "System is not a Station" } |