Can the SQL variables used in alerts be used to run an UPDATE query? I've been attempting to set up an alert that posts a message to the NPM Event Log and runs an UPDATE query to change the value of a custom property and it's not working. The query seems correct, as I can run it in Enterprise Manager. I have a custom property called "DepLevel" which I would like to update upon the status of 'Down' for any node:
${SQL:UPDATE Nodes SET DepLevel = '100' WHERE NodeID = ${NodeID} AND Status = '2'}