For a node reboot alert, I'm trying to add the field "WhyReload" from the NCM.CiscoChassis table. Below is what I've tried but unsuccessfully.
WhyReload: ${N=SWQL;M=SELECT n.NodeProperties.CiscoChassis.WhyReload FROM Orion.Nodes AS n WHERE n.Caption = '${NodeName}'}
In the message, it simply displays the SWQL command instead of the result. I can successfully query this using SWQL Studio, but not as a SWQL variable inside an action message. The following actually does display a result, but it's just the first row and doesn't align with the actual Node which is why I added the WHERE logic to match the node.
WhyReload: ${N=SWQL;M=SELECT n.NodeProperties.CiscoChassis.WhyReload FROM Orion.Nodes AS n}
Thanks... Jim