• whatAmIdoing
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

If I comment out "return casePage;" then my debugging messages appear in my System Log, but if uncommented the page redirects and no messages appear.  Why would this be?

Thanks.

 

           if(myModelID != NULL && parentcase != NULL) {
                System.debug('if all is well');
                for (String i : myModelID) {
             
                        System.debug(i);
                        System.debug(parentcase);
                       
                }

 

                PageReference casePage = new PageReference('/' + parentcase);
                casePage.setRedirect(true);

                return casePage;

           }

Message Edited by whatAmIdoing on 11-24-2009 12:31 PM
Could somebody show me how I could create a trigger that will make a task based on case status?
  • March 22, 2009
  • Like
  • 0
Has anyone come up with code to override the Convert Lead button so that it can only execute when certain fields within the Lead record have been completed?