We have a plugin that runs on the Create message. However, we don't want it to run if the records are being created via an import. Is there any way to tell this without creating a special field to flag imports? (I worry about that in terms of future maintenance, since things break if that field is removed, accidentally not used on future imports, etc...)
I've seen references to using the context.depth property, but unfortunately the non-import record creations are often called from workflows, and so that depth is not a definitive indicator.
*This post is locked for comments