Okay, thanks for that info. I can see from https://wiki.netxms.org/wiki/NXSL:Node that isRouter is a node attribute, but isSTP is not... I put that in based on what I saw in the below image. I see most of those things are available attributes, but not isSTP. I'll have to try another approach.
I can probably accomplish what I need to do for the moment based on the driver or sysDescription attributes, but for future reference, can I pull SNMP values from the newly discovered node like this and use it to filter them? https://wiki.netxms.org/wiki/Script_Example:_Read_SNMP_Value_From_Node
I can probably accomplish what I need to do for the moment based on the driver or sysDescription attributes, but for future reference, can I pull SNMP values from the newly discovered node like this and use it to filter them? https://wiki.netxms.org/wiki/Script_Example:_Read_SNMP_Value_From_Node