• Bhagat
  • 0 Points
  • Member since 2013

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 1
Is it possible to open a vf page ouside of salesforce and how?
  • November 06, 2013
  • Like
  • 0

I wrote a trigger that figures out who the Lead owner should be based on some rules that we have.


When I execute this via web-to-lead, my trigger assigns the appropriate person but in the order of operations after that, Salesforce runs the Lead 'Assignment Rules.'


Since I have no formal 'assignment rules' set up, the system assigns every lead to the default lead owner. This only happens in the web to lead scenario - when I manually create a lead or bulk load them with the dataloader, they get assigned properly.


Is there a way in Apex to tell the system not to run the assignment rules or is there a way around this situation?