Get Prior Value of Formula Field in Salesforce


In this blog you will learn to get Prior Value of a formula field in Salesforce. So in today's example we will be getting prior value of a formula field on Account.

Please follow below steps : 

1. Create a custom field to store the prior value 



2. Create a New Workflow with criteria of Created and every time it's edited. Run the rule if formula evaluates to true.

Add the formula ISCHANGED(Your Formula Field)



3. Select the field update action and update the custom field value using the priorvalue(Your Formula Field) as shown below -



4. Activate the workflow.

That is the trick and you are good to go :)

Output


 If you have any question please leave a comment below.
If you would like to add something to this post please leave a comment below.
Share this blog with your friends if you find it helpful somehow !

Thanks
Keep Coding 

Post a Comment

0 Comments