You need to sign in to do that
Don't have an account?
arniep
Process flow for account object to update custom field with old value for a trigger alert
We want to use an account object custom field for an email trigger alert based on the old value of the field. We ran a report and see the old and new value using the account history report but we are unable to produce the old value for our custom field named 'lifecycle prior value.' SF support directed us to the forum for help from SF developers. We appreciate any help!
Go to Setup > Account > Fields > Set History Tracking > Here check the field which you want to see in the history report.
That should work !
Kindly mark it as an answer if that works !
If you want to use the old value in a workflow why not simply use the PRIORVALUE() like this ?
PRIORVALUE(lifecycle__c)
Hi Akhil Anil, Thanks! I tried that but I received this error:
Error: Function PRIORVALUE may not be used in this type of formula
Steps:
1) created a custom field named Lifecycle Prior Value, formula, text
2) inserted PRIORVALUE(lifecycle_status_c) in formula field
3) checked syntax
4) result: Error: Function PRIORVALUE may not be used in this type of formula
This is why I was trying to use a flow instead of a formula field. SF support says old and new values are accessible via a flow but since I'm using a picklist I'm not sure if this is the problem?
-A
https://newstechnologystuff.com/2020/12/20/get-old-values-in-record-triggered-flow/