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
Max WellMax Well 

Lead assignment rule.

 I have lead assignment rule where the leads are assigned to the buckets depending upon the region.
So when Sales rep select the leads and put the lead under their name, due to assignment rule it gets changed to the bucket again. Not sure why this is happening. 
buggs sfdcbuggs sfdc
can you post that assignment rule here?
Max WellMax Well
User-added image
Sachin P Sam 1Sachin P Sam 1
It can be avoided by using some tricks.
  1. Add a checkbox field in the lead Object,its default value must be unchecked( false,also make field hidden). (field name here used Owner Changed)
  2. Create a work flow rule with evalution criteria  'created, and every time it's edited ' and criteria ISCHANGED( OwnerId ).User-added image
  3. Add field update in workflow to update the intially created checkbox ( Owner Changed) to true.
  4. Then finally add this condition to the assignment rule.User-added image
I hope this solution works for you.Please share your doubts if any.

Please  mark as best answer ,if this really helped you.

Sachin P Sam 1Sachin P Sam 1
@Max Well,
Is your issue solved? Please update it here.