• Lalit Gupta 39
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi Folks,

It's my first question in this community, hoping to get some answers on my first question. I was looking into lead assignment rules configuration but I can't figure out a way to validate user's eligibility before lead can be assigned to user agent. It seems like I have to use after trigger on  lead object to assign the leads to eligible agent based on some other criteria. Here is  my scenario. Lead needs to be assigned based on lead and agent territory and this part is easy. But agent should receive the lead only if agent meets some eligibility criteria like agent is licensed and appointed and agent is not OOO etc.

So is it possible to achieve it using lead assignment rules or do I have to write custom code using after trigger on lead object?