• Informarfan
  • NEWBIE
  • 0 Points
  • Member since 2009

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

I am trying to create a Trigger that runs when an object is updated, and then updates another record of the same object type. This leads to an infinite recursive loop, as the Trigger then runs on that update, and so on....

I've tried changing the trigger so when it first updates, it changes a criteria field, so second time round it should not execute the update line, but this doesn't appear to work.

I think there might be a way around it using classes, but don't have enough Apex knowledge to even take a stab at what that might be.

Any help much appreciated.

Thanks