My requirement is to update a field for emails read every time the Pardot Score increases by one. I have a flow that does this but I would like to get into a more bulletproof workflow rule.
My the field to hold the value is a number field. If the Pardot Score is changed by one I want the Pardot Emails open field to increase by 1. I can't see why I am getting an error here. The field Pardot_Emails_Opened__c is a number field. The field pi_score__c is part of a managed package from Pardot.
PRIORVALUE(pi__score__c) - pi__score__c= 1
Pardot_Emails_Opened__c = PRIORVALUE(Pardot_Emails_Opened__c) + 1