Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements.
I replaced a working code with wrong one in thingworx services. Is it possible to retrieve the old one back?
Here is the article - "Best Practices for ThingWorx Backup, Replication, and Migration":
If the entities were not backed up before making the changes then I don't thing the old service code can be retrieved.