Has something changed with Map/Reduce no longer tr...
# suitescript
n
Has something changed with Map/Reduce no longer triggering UE scripts if you update a record that has a UE on it? I have a UE on a customer record. A map reduce updates a checkbox on the customer record. The UE does not fire. The UE runs as admin, is released/deployed and set to be available to all roles / contexts. OR did I imagine a M/R is able to trigger a UE... The UE is triggering if I manually (through the UI) edit the customer record and I can also see the M/R is updating the customer record and that is reflected in the system notes. Off for lunch so not ignoring you if anyone replies just afk a while 🙂
s
I haven't noticed any changes, you did not imagine this behavior, MR definitely should be firing UE.
I'll test one in a sec, are you using 2.0 or 2.1 just for consistency?
n
I've just checked and it is 2.x, updating and retrying with 2.0 specified 😉
well, what do you know, setting it to specifically 2.0 seems to have resolved that!Thanks for asking that @Sandii
Now I need to figure out why the system notes show the checkbox set to true by my M/R but the beforeSubmit sees it as false? 2 steps forward, one back as usual...
Ah spoke too soon, it executed the first time but now fails to trigger 😞