How to get last modified field value or previous field value without using Trigger

H

Today in this post i will explain you how you can get last modified value or previous value without using trigger

  1. Creating aText Field: Create aTEXT (255) field on the Object and name it say: Old Value

    2. Setting up the Workflow Rule + Field Update

 

  1. Go toSetup | Create | Workflows & Approvals | Workflow Rules
  2. New Rule
  3. Select theObject
  4. ClickNext
  5. Evaluation Criteria:created and every time it’s edited
  6. Rule Criteria:formula evaluates tor true
  7. Fomula:

AND(ISCHANGED(Picklist_Field_c),NOT(ISBLANK(TEXT(Picklist_Field_c))))

 OR

 IF(ISCHANGED(Picklist_Field_c),True,False)

Snap1

8. Click Save & Next

9. From underImmediate Workflow Actions, click Add Workflow Action to select Field Update

10. Select the Field to Update: Old Value

snap2

11. Select Use a Formula to Set the New Value

12. Formula:

TEXT(PRIORVALUE(Picklist_Field_C))

snap3

  1. Click Save
  2. Click Done
  3. Click Activate

custom writing

About the author

Nawal Bedmutha

Salesforce Developer

By Nawal Bedmutha

Category