Accessing alarm pipeline properties from within a script block?

I’m attempting to read/write to a property that I’ve declared in a “Set Property” block within an alarm pipeline, and I can’t seem to figure out how to access it from within a script block… Ultimately what I’m hoping to do is read a value from a database that will be used as a dynamic delay later on in the pipeline. I’ve reviewed the alarm pipeline documentation and I must be overlooking how the script blocks interact with properties… Could anyone point me in the right direction?


It’s subtly mentioned in the script block’s documentation comment at the beginning. Say you have a Set Property block setting delay as a local property - you can then retrieve that value with event["delay"] in the script:

I was getting ready to reply with how I tried that already, and decided to do a quick sanity check and found that I actually like a dumb typo in my Set Property block…

I blame Friday…


1 Like