You need to sign in to do that
Don't have an account?
anchezka
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?
Thanks
I've written a blog post that presents one way to achieve this:
http://bobbuzzard.blogspot.co.uk/2011/11/bypass-validation-rules-from-apex.html
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.