SOLVED

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

Go to solution
Danielle_Wong
Level 8 - Community Advisor

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

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

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

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).

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

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

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).

Danielle_Wong
Level 8 - Community Advisor

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

Thanks for the quick help, Sanford!