AnsweredAssumed Answered

Prevent before_save and after_save logic hooks from running on Import

Question asked by Phil Zaengle on Oct 24, 2016
Latest reply on Oct 24, 2016 by sidhdharth gajjar

I've got some rather expensive process that I don't want to run when importing lots of records. I've considered adding a field 'disable_hooks_c' or something similar to manually disable or ignore events that are triggered due to an import. However, it seems like there should be a way to detect when an entry is being created via the Imports module. 

 

Is there a native (non-hack) way of accomplishing this?

 

This is on a Sugar 7.7.1 instance

Outcomes