Hello, we run a script listener which sets the value of a specific field "Result" based on the values of a cascading field "Input".
Our problem now is, that this script runs every time and in some minimal cases the routing is wrong so an agent needs to set the value in "Result" manually to another value. But when he applies his choice the script listener changes his edit back to what the usual value "should" be.
Is it possible to run the listener only when values in specific field "Input" changed? So u can edit all other fields including "Result" manually and the listener doesn't run?
In event.getChangeLog() you find all the info about what field(s) changed, what was/where old value(s) and what is/are new value(s)...
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.