Alarm Pipeline Associated Data in Script Block

Here is an example from my script block.

deviceID = ?????
Param={“SensorNo”:deviceID}"Maintenance/Vibration", project="MMLuvata2", parameters=Param,
	 action= "email", actionSettings = {"to":[""], "smtpServerName":"SMTP", 
	 "from":"", "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

deviceID = event.DeviceID works, LOL.