Adds triggerState to notification msgs.