Need to update a Field with the previous value it had, what is the best way to do this? | Community
Skip to main content
Danielle_Wong
Community Manager
Apr 19, 2019 2:19 PM UTC
Solved

Need to update a Field with the previous value it had, what is the best way to do this?

So we had a system accidentally update a bunch of first name and last name records to NULL even though we had actual First and Last Names. I want to basically undo the update for both fields so that the NULLs are replaced with the previous value.

Anyone have examples/steps of how to do this?

Thanks!!

Danielle

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 19, 2019 2:25 PM UTC

The only way is via API.

Use the getLeadChanges endpoint to get the old values.

Then reimport using your choice of method (standard UI CSV import, API-based CSV import, or one of the paginated lead update API endpoints like Update or Push).

2 replies

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 19, 2019 2:25 PM UTC

The only way is via API.

Use the getLeadChanges endpoint to get the old values.

Then reimport using your choice of method (standard UI CSV import, API-based CSV import, or one of the paginated lead update API endpoints like Update or Push).

Translate
Danielle_Wong
Community Manager
Apr 19, 2019 2:50 PM UTC

Thanks for the quick help, Sanford!

Translate