• Karen Roscoe - Administrator SFDC
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello dev community,

On Leads, I would like to make "Assign using active assignment rule" checked by default upon Create, but unchecked by default upon Edit. I was told that I need an Apex Trigger to do this. Can you provide an example of this callout and information on how to implement it? Alternatively, is there a third-party app available that would provide this capability? Thanks in advance for any recommendations.
Hello dev community,

On Leads, I would like to make "Assign using active assignment rule" checked by default upon Create, but unchecked by default upon Edit. I was told that I need an Apex Trigger to do this. Can you provide an example of this callout and information on how to implement it? Alternatively, is there a third-party app available that would provide this capability? Thanks in advance for any recommendations.

For some reason I keep getting the error "Unexpected Token Else" and I can't figure out why.

If(
{!Model_Promo_Request__c.Model_Promo_Criteria_Validation__c} == TRUE)
{
window.open('{!URLFOR($Action.Model_Promo_Request__c.Submit,Model_Promo_Request__c.Id)}');
}
else{ 
alert('Your request is missing information required for approval.');
}
  • April 13, 2018
  • Like
  • 0