I have an object added pointing to script in the collection. On script, it set to Object on DataChange. So an changes on Object the script execute.
It works with TeslaSCADA2 IDE Simulation however does not work in TeslaSCADA2 runtime.
FYI - my version TeslaSCADA version is 2.42