IsStationIDSuffix
Tests the current station ID by checking that the specified parameter matches the rightmost portion of the station ID.
Syntax
bool IsStationIDSuffix (StrParam)
Parameters
The expected Station ID suffix.Returns
False if the suffix is longer than the current Station ID or if the specified suffix does not match the Station ID. Otherwise, True.Level
Any level.Details
This action checks that the specified parameter matches the right most portion of the station ID. This action is useful if you have stations with different suffixes and you want to control actions based on the station name.- Example
IsStationIDSuffix("-Test") CloseConnection() OpenConnection("@APPVAR(*/lookupdb:cs)")In this example, If the station name is Validate-Test, the action returns True and continues executing the following actions.