I have a validation rule on oppty stage, that prevents our partners from setting it over 0.70.
AND( Probability > 0.70, $Profile.Id = "00e2000000xxxxt" )
There is another WFR that is based on the stage, that once an oppty reached 0.80, it fires our post sales process.
If my partners want to move forward with an oppty, they are required to use the "Approval Process", which, the second step in the approval process is a field update, of the oppty stage to 0.80.
This off course causes the error, as it seems that the one that is actually running the approval process is the partner user (and according to the validation rule - he can't set that stage).
FAILED --- ERRORS : (FIELD_CUSTOM_VALIDATION_EXCEPTION) Can not set Opportunity stage: Please use 'Submit For Approval' --- for SFDC record with ID : null
10:59:11.650 (2650800152)|VALIDATION_RULE|03dD000000xxxxM|Y2014_Dealer_CANT_select_Closed_Won 10:59:11.650 (2650929849)|VALIDATION_FORMULA|AND( Probability > 0.70, $Profile.Id = "00e2000000115ft" )|Probability=75 , $Profile.Id=00e2000000xxxxt 10:59:11.650 (2650939760)|VALIDATION_FAIL
How can I overcome this condition?
As the requirements are:
- Partners can not set stage @ 0.80
- An oppty enters sales process @ 0.80 only
- Partners must use "Approval Process"