Here is an example from my script block.
deviceID = ?????
Param={“SensorNo”:deviceID}
system.report.executeAndDistribute(path="Maintenance/Vibration", project="MMLuvata2", parameters=Param,
action= "email", actionSettings = {"to":["aj.berera@luvata.com"], "smtpServerName":"SMTP",
"from":"aj.berera@luvata.com", "subject":"Vibration Alarm Report"})
How can I make the deviceId equal to the value in my associated data of the alarm calling this notification pipeline?
Is there something like event.DeviceID