AnsweredAssumed Answered

How to get nimid with Luascript?

Question asked by LWIE on Jan 18, 2018
Latest reply on Feb 9, 2018 by MelissaPotvin


We would like to get the nimid of a new alarm which we generat with another script. So we can check if the new alarm is creating a ticket in the SDM which it will write in the UIM database and if the ticket was created then the alarm should be acknowledged if not it should send an SMS or an email and to acknowldge the alarm we need the nimid otherwise we can not close the alarm with the function action.close(nimid)


We already fail to get the nimid because we're not familiar with the lua scripting language. We already managed to connect to our MSSQL database and do the SQL SELECT statment.