I’m trying to use the method system.alarm.queryJournal() in the Script Console in order to get a feel for the data that is returned. The reason is to understand this data so I can modify some scripts in a project that were developed by others.
Unfortunately I get an “AttributeError: ‘com.inductiveautomation.ignition.designer.gui.tool’ object has no attribute ‘queryJournal’” error message in the Console. When I type “system.alarm.” and press Ctrl+Space on a new line this method does not show up in the list. Actually only three of the Alarm methods show up in that list (createRoster, getRoster, and listPipelines).
Why does this method not work in the Console? Is it a scope thing? Something else?