• ultratech
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
If my scheduled Batch APEX Jobs say "First error: Too many query rows: 50001" and it says there are 24 Batches Processed and 6 Failures. Will the next scheduled run update those 6 failures first so it doesn't keep skipping them?

I haven't done much with custom S-Controls, so if someone is willing to provide some example code for how to do this, I'd really appreciate it.

 

Basically, I'm running into the issue outlined in the thread Time-Based Workflow Rules on Leads Preventing Lead Conversion --  so I want to create a button override that sets a variable (ConvertMe = true), then converts the lead as usual.

 

How would I do this?

 

I can get a custom button to convert a lead when I use this simple HTML code:

 

/lead/leadconvert.jsp?retURL=/{!Lead.Id}&id={!Lead.Id}

 

But how do I first set the variable? I've tried a number of different functions and OnClick JavaScripts I've found in these discussion boards, but haven't had any luck yet.

 

Any suggestions? It doesn't seem like this should be that complicated, but I'm obviously missing something. :)

 

Thanks!

  • January 28, 2009
  • Like
  • 0