Skip to main content

Advanced approval note - Why the assigned approval is disappeared and the quote get approved automatically?

Use case: 
There are 3 approval levels that the quote has to go through for discount:
Step 1: Direct managers (discount =< 3% and margin >=50%)
Step 2: VP (discount > 3% and margin >=50%)
Step 3: SVP (discount >0 and margin <50%)

In quote 02613, the discount is 5% but margin is above 50%, the quote needs approval from Direct Manager (step 1) and VP (step 2). After the direct manager approves the request, the quote get approved automatically and the VP approval request is deleted.




Solution: Check the Excluded Statuses field in the Approval Rule and make sure the Pending status is removed. 
Based on salesforce documentation, Salesforce CPQ does not apply this rule to approvals with any of the chosen statuses, which was not quite clear to me. After testing and fail several times, searching on the internet, I even tumble across the same question on CPQ community without no answer. Finally I got on the call with a CPQ support and they recommended me to check the excluded statuses field. Remove the Pending out of the chosen and voila, problem solved.



Comments

Popular posts from this blog

The flow failed to access the value because it hasn't been set or assigned error

I'm sure that many Salesforce admin already encountered the this Process builder error when building automation referencing a field on a related record (aka lookup field): ' The flow failed to access the value because it hasn't been set or assigned ' and came across this Salesforce document . However, it does not help in case of referencing a User lookup field. ------------------------------- Use case: when a lead's ownership is transferred to another user, respective fields are updated based on their profile.  Error element myDecision (FlowDecision). The flow failed to access the value for myVariable_current.Owner:User.ProfileId because it hasn't been set or assigned. --------------------------- Workaround:  Have a condition to check if the record is assigned to a user or a queue before checking their profile id for respective actions. Records owned by user: BEGINS([Lead].OwnerId, "005") Records owned by queue: BEGINS([Lead].Owne...

Salesforce campaign model and tracking

  Salesforce campaign tracking   Check out the great article on Campaign tracking use case: https://www.salesforce.com/blog/track-salesforce-campaign-shadow-wolf-blog/   There are 2 ways to track Campaign ROI .    Campaign Influence ( custom model )   Associate multiple Campaigns to multiple Opportunities (and multiple Opportunities to a Campaign) using the Contact Role . To get a broader view of opportunity pipeline, generate the standard report called Campaigns with Influenced Opportunities (Customizable Campaign Influence). This report provides opportunity data, such as amount, stage, and revenue share alongside helpful campaign details.      For more control, build custom reports that show relationships such as these examples.   • Campaigns with Influenced Opportunities   • Contacts with Campaign Influence   • Accounts with Campaign Influence     If there is only one campaign associated with each opportunity ...

Renewable vs Evergreen Subscription type

Renewal: Renewable products transfer to renewal quotes.  Standard renewable contracts have end dates, terms, and an option to renew. Evergreen: don't have any end dates and, therefore, don't need to be renewed. This supports an open-ended term of service that allows for customers or providers to cancel or terminate the subscription at any point.  Evergreen and Renewable products can’t coexist in a bundle. Guidelines for Evergreen Subscriptions:   https://help.salesforce.com/s/articleView?id=sf.cpq_evergreen_limitations.htm&type=5 Quote and Manage Evergreen Subscriptions:  https://help.salesforce.com/s/articleView?id=sf.cpq_evergreen_use.htm&type=5