You need to sign in to do that
Don't have an account?
swapna ka 1
workflow rule on closed date change
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.
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.
Got your issue.This formula works only if you select Evaluation Criteria as 'created, and every time it’s edited'. Other two options are not available.Please try to change this criteria and paste the formula that I provided (feel free to modify it).
Please let me know if it is helpful.
Regards,
Shashi
All Answers
Can you please use this way -
AND(
OR( ISPICKVAL( StageName, "closed won"),ISPICKVAL(stagename, "closed Lost")),CloseDate <= PRIORVALUE(CloseDate)+7)
Please let me know if this is helpful.
Regards,
Shashi
thanks for your replay
getting the below error
Error: Function PRIORVALUE may not be used in this type of formula
Got your issue.This formula works only if you select Evaluation Criteria as 'created, and every time it’s edited'. Other two options are not available.Please try to change this criteria and paste the formula that I provided (feel free to modify it).
Please let me know if it is helpful.
Regards,
Shashi