Workflow Manager supports getting the value of a field prior to record save and reference it on a Workflow Condition.
This feature is useful for requirements having to compare the previous value of a field to the current value of the same field, or to previous value of another field, or to current value of another field, or to a constant value.
Using Visual Builder, select Old Record in the Record column to specify that the previous value of the field is to be referenced. Using Custom Formula, follow syntax {old.fieldID} to do the same.
See screenshots below for examples of each application.
Condition settings that compare the Location field's Previous and Current Values:
Condition settings that compare the Previous Value of the Location field to the Previous Value of another field called Business Location:
Condition settings that compare the Previous Value of the Location field to the Current Value of another field called Business Location:
Condition settings that compare the Previous Value of the Location field to a Constant Value:
Additional Guidelines for this feature:
Referencing pre-edit values may slow workflow performance because the workflow loads the old record from the database.
- Use a Before Record Submit or After Record Submit trigger when referencing pre-edit values.
For more details about the feature discussed herein, refer to the following SuiteAnswers Article:
40548: Referencing Old (Pre-edit) Values in a Workflow
Tell us what you think about this feature!
-Jack