+ Start a Discussion

Forbid Workflow Rules Execution from Apex

Hi all,


SF import wizard allows users not to trigger wf rules. Is it possible to mimic the same functionality in custom VF page/ Apex class?





I've written a blog post that presents one way to achieve this:




Thanks for your reply. This is an elegant solution and I was glad to read your post. However, we are not the ones who create the rules and we won't be able to edit them. (We are developing a managed package for several different clients and each of them have their own rules.) 


I was hoping that there are some properties like DMLoptions (e.g. THIS one), but for workflow rules.