function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
watrowatro 

Web To Case bypass assignment rules

I have a trigger on cases that executes on case insert and update.  The trigger works in a round robin fashion assigning cases, but on Cases that come from the Web to Case feature my trigger gets overriden by the Web To Case assignment rules.  Is there any way that I can make my trigger prevail over them?

 

I know that in the execution order the assignment rules get executed after the before and after triggers.  Is there any way to override them?

carlocarlo

Modify your assignment rules to check first if Case Origin = 'Web'.  If true then do nothing.

watrowatro

Hi Carlo, thanks for the response, but it's not my assignment rule, it's the one that automatically adds the user on web to case.

carlocarlo

Ok well I dont use assignment rules for Cases so I'd be guessing.

 

Cant you just turn them off and do something else?