<@UD525HEUD> not sure if there's an option for tha...
# suitescript
n
@pnetsuite not sure if there's an option for that but I believe you can exclude the script from running in the script itself
Copy code
runtime.executionContext === runtime.ContextType.CUSTOM_MASSUPDATE {return}
👍 1
m
Also as of 2019.2 you can choose execution contexts on the script deployment record itself
@pnetsuite
p
thanks
do you know if its possible to get the records being updated through a csv import or mass update with an after update script
m
Do you mean an after submit user event script?
With CSV import you would need to tick the option to run scripts (slows the import down considerably). With Mass Update AFAIK it should trigger user event scripts
p
yes its an after submit user event script. when I run a mass update it is unable to find the current record after it is updated
m
I'm not sure what you mean by "unable to find the current record"?