Skip to main content
KCS_Integration
Level 2
Mar 23, 2018 8:03 AM UTC

How to revert Data Value Changes

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
Feb 15, 2019 9:52 PM UTC

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

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Feb 15, 2019 10:25 PM UTC
Jo_Pitts1
Community Advisor
Community Advisor
Nov 20, 2019 12:12 AM UTC

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

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Nov 20, 2019 1:30 AM UTC

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.

Translate
Jo_Pitts1
Community Advisor
Community Advisor
Nov 20, 2019 1:32 AM UTC

@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!!!

Translate