Help with Exporting Alarm Status Table

Had a conversation with Paul Scott from Inductive Automation, he provided me with a script that completed the function that i required, it queries the journal system for clear and active tags, then loops through collecting the information and pushing it into the table, i will attach the code given to me by Paul o help anyone else who might be having this problem.
AlarmStartAndEnd.txt (1.75 KB)