[SalesForce] Proccess Builder not Evaluating Percentage Field

I am using process builder flow on Opportunity Product. My requirement is if discount is > 30% then do update a status field on Opportunity Object. I used the below evaluation criteria in decision box.
[OpportunityLineItem].Discount > 30
(and also tried [OpportunityLineItem].Discount > 0.3 )
And if the condition is passed, then i am doing an immediate action to update parent Opportunity record.i.e. Opportunity Status Field values to 'Approval Required'. In the debug logs i see flow is not passing the criteria to do an update. User updates the percentage value from VFP.

I see Discount is being updated on Opportunity Product from VFP as expected. If i change the criteria to [OpportunityLineItem].Discount > 0, then flow is working fine. Any guess why process builder flow is not working when discount is either >30 or 0.3?

Best Answer

This has happened in the past as well. For percentages I usually have to create a formula field and multiply it by 10,000 (100 X 100).

Related Topic