All terms are analyzed $terms==[] SequenceFlow_0tu3w40 SequenceFlow_0jebdb9 SequenceFlow_0tu3w40 PT1M SequenceFlow_0ez6lnk SequenceFlow_0jebdb9 SequenceFlow_03ohp0o SequenceFlow_12s5p9s PT1M SequenceFlow_10v2c9r SequenceFlow_0e9hshn PT1M SequenceFlow_1gbx7mw SequenceFlow_0970mq7 PT1M SequenceFlow_0ra8hjs SequenceFlow_03ohp0o SequenceFlow_0ez6lnk SequenceFlow_1gdqfur SequenceFlow_1inwzje PT1M SequenceFlow_11xavl5 SequenceFlow_0e9hshn SequenceFlow_0f33zny SequenceFlow_1gbx7mw SequenceFlow_1gdqfur SequenceFlow_11xavl5 SequenceFlow_0f33zny for ( i in terms) { println "line found: " + i } nt = {} nt["term"] = "newterm" terms += nt SequenceFlow_12s5p9s SequenceFlow_1inwzje SequenceFlow_0yqo6md SequenceFlow_0okj60f SequenceFlow_10v2c9r SequenceFlow_032ipyi SequenceFlow_0yqo6md PT1M SequenceFlow_0970mq7 SequenceFlow_0azv06r SequenceFlow_032ipyi SequenceFlow_0azv06r SequenceFlow_0fct5f2 PT1M SequenceFlow_0fct5f2 SequenceFlow_0okj60f SequenceFlow_0ra8hjs PT1M