Can I change the Sys ID of a record with another one?

Peter B
Giga Expert

Hello,

I noticed that a record that was associated to a workflow was deleted some time ago. I can easily create the record again but it generates a new Sys iD. This record is tied to a catalog item workflow to process that used the records previous Sys ID. Instead of replacing the sys ID with the new one in the workflow's script, can I just simply use the previous Sys ID I get from my Dev instance and replace it with the new one in Prod? If so, how do I go about it or if this is something I cannot do or is suggested, whats the best course of action to update the Sys ID with a new one in a workflow's script? Just replace it with the new one?

Thank you!

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

@Peter B 

 

Did you get a chance to review my response. 

If my answer helped you, kindly mark it as correct and close this thread. 

View solution in original post

14 REPLIES 14

Harsh Vardhan
Giga Patron

Quick demo. 

 

find_real_file.png

 

 

Community Alums
Not applicable

how do you update the existing record with a new sys id?

Did you get the solution for this?

Harsh Vardhan
Giga Patron

@Peter B 

 

Did you get a chance to review my response. 

If my answer helped you, kindly mark it as correct and close this thread. 

Hi Harshvardhan,

Thank you for the reply and the great video showing me the steps you took. After doing more digging around, I decided to go a different route which I should of thought of in the first place. I am just going to copy that missing record from our sub-prod instance and import it back to prod which should solve the issue. Thank you for all your help and the follow up!