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)...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.