• swapna ka 1
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi 
can you please help me on below wf rule condition
req: oppty is created with stage closed won/lost , user want to update that oppty ,change date(closed date) <= initial closed date +7 we need to keep same initial closed date after saving the record
for that i have created wf rule like below 

AND( 
OR( ISPICKVAL( StageName, "closed won"),ISPICKVAL(stagename, "closed Lost")),CloseDate <= 7-PRIORVALUE(CloseDate))

Error: Function PRIORVALUE may not be used in this type of formula

Thanks,
Swap.
Hi 
can you please help me on below wf rule condition
req: oppty is created with stage closed won/lost , user want to update that oppty ,change date(closed date) <= initial closed date +7 we need to keep same initial closed date after saving the record
for that i have created wf rule like below 

AND( 
OR( ISPICKVAL( StageName, "closed won"),ISPICKVAL(stagename, "closed Lost")),CloseDate <= 7-PRIORVALUE(CloseDate))

Error: Function PRIORVALUE may not be used in this type of formula

Thanks,
Swap.