I am trying to run a script from the project library. I have done this before on another project where I called the function by setting an event script (ValueChanged) on a tag. If the tag value (boolean) goes high I want to execute the function. For some reason I was able to do that on another project no problem. First project where it worked was version 8.0.14. This time I am using 8.1.1.
Due to not getting the script to work I simplified it to simply write something into the logs using system.util.getLogger command and I never get the message to appear on the logs. I know the script and the call to the script works because I put the same exact call to the function on the actual view regarding this tag, added a change script to the object bound to this tag, and put the same exact function call. I was going to leave it that way but now if you close the popup and then reopen it the script executes again if the value of the tag is still set to true so this will not work for my project.