Tag change oldvalue

Yes i already used that

[color=#008000]nuevo=newValue.value
viejo=int(system.db.runScalarQuery(“SELECT ACTION_VALUE FROM audit_events WHERE ACTION_TARGET =‘Inverter 9 - LOCAL MVL9’ ORDER BY EVENT_TIMESTAMP DESC LIMIT 1”))[/color]

But i think its nicer with one property oldValue. Anyway I would like to propose that for next generation of ignition your team programmer add one option to the tags for auto-create a event, not only Auditing.

Like when you configure the alarm to one tag but for auto made one event.
Its a very powerfull tool for check the states of the systems, and right now i have to use every time the tag change event script that takes a lot of time.

Thanks a lot!