Activate a tag for a while


I wanted to activate a boolean tag for a specific time, and automatically deactivate it when that time passes. any ideas to do it?
thank you

Use an expression tag to setup your timing, then on a tag change event run a script to configure the tag’s enabled attribute of the tag you want to control for v8, for v7.9 you will edit tag

EDIT Not sure if I miss read your post, but the above is to enable and disable the tag, if you want a flasher type function on a Boolean try this in an expression.

toMillis(now(5000)) % 10000 < 5000

This will flash on and off for 5 sec intervals

thanks for your reply.
I will test with your solution.