• yatsevsky_dev
  • NEWBIE
  • 0 Points
  • Member since 2009

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

Hello -

 

I'm trying to expire Opportunities (by updating the Stage value) 30 days after the creation of said Opportunity.  I can do so with a Workflow Rule, but this will only fire the Field Update when the Opportunity record is edited.  As a result, if the Opportunity record isn't accessed during the timeframe when the 30 day window passes, the expiration will not occur.  The obvious way to handle this is a trigger, but I'm not sure if this is correct; I also could use some assistance with the syntax of the trigger (I have very limited experience with Apex coding).

 

I think this is a very simple procedure and could use some assistance/recommendations.

 

Thanks.

 

Tim J.