I have made a data function(triggerOnFilter) which gets triggered when a filter(City) is changed. The Data function changes the value of document property(stores the count of the selected cities) but the script associated with it(Script) is not getting executed whenever the document property value is changing. The script is working fine with no errors when I run it manually. The script sets the zoom slider range for all graphs to its maximum size.
I have checked the box "Execute in Transaction" also in the script. For verification, I am displaying document property value for City Filter and toggle value for verification of execution of the script.
Does anybody faced a similar problem and have any idea what could be the reason for this discrepancy?
Thanks in advance.