You need to sign in to do that
Don't have an account?

Help with Workflow rule - OPPTY PRIORVALUE & STAGE
HELP!
I need a workfloew rule that will Not send an alert to Sales Management when a deal is Closed Lost, and the prior stage value was either Identified or Dialog Initiated
Currently Sales Mgt gets email alerts everytime a deal is closed lost(that one was easy). I was told by some I have to do a custom rule by using Priorvalue but I can not get it right...
Can someone help!
SO far I have:
PRIORVALUE(Stage=Identified,Dialog Initiated)= TRUE
I need a workfloew rule that will Not send an alert to Sales Management when a deal is Closed Lost, and the prior stage value was either Identified or Dialog Initiated
Currently Sales Mgt gets email alerts everytime a deal is closed lost(that one was easy). I was told by some I have to do a custom rule by using Priorvalue but I can not get it right...
Can someone help!
SO far I have:
PRIORVALUE(Stage=Identified,Dialog Initiated)= TRUE
I think this is what you're looking for.
OR(PRIORVALUE(Stage) = 'Identified',PRIORVALUE(Stage) = 'Dialog Initiated')
Still can't get it- Please help. It says Extra (
or missing ) - nomatter which i put it
OR
(PRIORVALUE(Stage) = 'Identified')
(PRIORVALUE(Stage) = 'Dialog Initiated')
AND
(Opportunity: StageequalsClosed Lost)
AND
(Current User: RolecontainsVR)
Identified',PRIORVALUE(Stage) = 'Dialog Initiated')
As I wrote I have this so far
OR
(PRIORVALUE(Stage) = 'Identified')
(PRIORVALUE(Stage) = 'Dialog Initiated')
AND
(Opportunity: StageequalsClosed Lost)
AND
(Current User: RolecontainsVR)
- The field is actually called StageName, not Stage
- It's a picklist field
Try this instead:After all that the syntax is fine but now it says:
Error: Function PRIORVALUE may not be used in this type of formula
Geeeeeezzzzzzzzz Why is that?
AND (
OR (
PRIORVALUE( StageName ) = 'Identified', PRIORVALUE(StageName ) = 'Dialog Initiated'
)
,ISPICKVAL(StageName,'Closed Lost')
,CONTAINS($UserRole.Name, 'VR')
)
Maybe this will work for you?
Error: Function PRIORVALUE may not be used in this type of formula
Weird.
ASIDE: Also the key for me is that an alert NOT get sent when PriorValue is
Identified'or 'Dialog Initiated'
How does this block those two stages?
AND (
OR (
PRIORVALUE( StageName ) = 'Identified', PRIORVALUE(StageName ) = 'Dialog Initiated'
)
,ISPICKVAL(StageName,'Closed Lost')
,CONTAINS($UserRole.Name, 'VR')
)
So is this formula in the workflow criteria, or in the workflow field update? It should be in the criteria...
As for the filtering out those stages, just put a NOT() around the OR().
Thanks for the tips...even though it is not together yet.
The workflow is for Evaluation Criteria
Currently it is a simple rule: (Opportunity: StageequalsClosed Lost) and (Current User: RolecontainsBH Eastern)
But now they (Management) do not want to be notified) if the rep has only initaited Diaolog or Identified. But all other Stages for Opps they want to know if it went to Closed lost if at any other stage.
Thanks again!
Kym
(OR)
(
ISPICKVAL(PRIORVALUE( StageName ) , 'Identified'), ISPICKVAL(PRIORVALUE(StageName ), 'Dialog Initiated')
)
,ISPICKVAL(StageName,'Closed Lost')
,CONTAINS($UserRole.Name, 'VR')
)
You're misunderstanding how these operators work. You can't put OR in parens by itself, that's not going to work. Remember that these are all prefix operators, like Excel has. I know you're thinking like "1 OR 2 OR 3." The way all these operators work are prefix like OR(1, 2, 3). The same is true of NOT, except that it only takes one argument like NOT(x). So: