How to revert Data Value Changes | Community
Skip to main content
KCS_Integration
Level 2
March 23, 2018

How to revert Data Value Changes

  • March 23, 2018
  • 5 replies
  • 5252 views

Issue Description
You need to revert a data value change for a field on multiple leads.

Issue Resolution
There is no way through the UI to "undo" a data value change (unless it was a boolean field, in which case there are only two possible values.) You can certainly use a Smart List to identify whose values have changed, but there no way to go back to the old value (unless it's stored elsewhere in another field or through another data store, along with the API).

However, you can use the API to extract the data value change activity from the activity log, which would include the old and new values, extract the original values, then use the API to rewrite the old values back to the lead record. http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Activities/getLeadChangesU…

Is this article helpful ?

YesNo

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Lucho_Soto
Level 5
February 15, 2019

The link in the post doesn't seem to be working anymore. Does this method still work and do you have a new link?

SanfordWhiteman
Level 10
February 15, 2019
Jo_Pitts1
Community Advisor
Community Advisor
November 20, 2019

Is there a non code solution?  {{lead.my_field.previous}}  would be awesome, or for that matter, a pre-built coded solution that someone has out there?

Cheers

Jo

SanfordWhiteman
Level 10
November 20, 2019

There's nothing pre-baked, it always takes some code.

Storing the last value... that would mean every field has an online mirror field, a massive change to database structure.

Jo_Pitts1
Community Advisor
Community Advisor
November 20, 2019

@Sanford Whiteman‌, I was always expecting to write some code, I was just trying to minimise the amount

And yes, a miror field value would be a massive change, but way can but hope!!!