• MiroMiro
  • NEWBIE
  • 0 Points
  • Member since 2014
  • Salesforce Administrator/Consultant
  • Creative Entity

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
WHEN i RUN THIS PART OF THE CODE IT GIVES ME THE BELOW ERROR ALTHOUGH IT USED TO WORK BEFORE

 if(a[0].Product_Family__c == '360 Suite'){
            a[0].Status = 'Canceled';
        }
        




error:

System.ListException: List index out of bounds: 0