Scripting - TAG EVENT

I’m on 8.1.1

I have un bunch of specific tags that I want to list path in a memory StringArray.

I use a system.util.getGlobals() variable to store path then wrote the system.util.getGlobals() into a memory tag.

My problem is that each tag event (i’m on valueChange and quality change) is fired before the previous tags finish is procedure.

Is there a way to be sure that each tag event is comleted is procedure before lauching an other ?

Not for tag events, no. I believe gateway tag change events (project scope) may behave the way you want.