OBLYTECH Logo
OBLYTECH Logo

Integration Decommission Steps for Salesforce Interfaces

To decommission a Salesforce integration interface, move its consumers first, revoke the credentials it used, archive its logs and configuration, and then remove it. Each stage gives you a record to check before the next one begins, so a retired interface does not break a process that still relies on it.

Confirm what the interface still carries before retiring it

Begin by writing down what the interface does today. Record the direction of each data flow, the objects or records it reads and writes, the event or schedule that triggers it, and the system on each side. Many retirements stall because nobody can name the last consumer, and that gap is the first thing to close.

Ask the owner of each connected system to confirm in writing whether it still sends or receives data through this interface. A remark such as “I think we stopped using it” does not count as a confirmation. Check the logs across a full business cycle, such as a month-end close or a payroll run, and keep the result on the decommission ticket with a date.

If several integrations draw on the same API traffic, the API call budget checklist for integration architects sets out the questions to answer before you change shared capacity.

Move each consumer to a replacement path before anything else changes

Retirement starts with consumers, not with the interface. A consumer is any system, report, flow, or scheduled job that reads from or writes to it. Each one needs a replacement path, or a documented decision that its function is no longer needed, before the interface is switched off.

When a consumer sits on the ServiceNow side, check the boundary between the two platforms before you move it. The Salesforce and ServiceNow integration boundaries page is the reference to check when a flow crosses between the two platforms.

Work through the switch in this order:

  1. Map each consumer to its replacement, which might be a new interface, a direct connection, or a manual process with a named owner.
  2. Run the replacement alongside the old interface for one full cycle, and compare outputs for the same set of records.
  3. Switch consumers one at a time, and keep the old path available so you can roll back a single consumer without restoring everything.
  4. Obtain written confirmation from each consumer owner that the switch is complete and the results match.

Parallel running is where mismatches tend to appear. Differences in field mapping, rounding, time zone handling, and record ordering are easy to miss in a single test, but they tend to surface over a full cycle.

Keep a short log of each mismatch you find during parallel running, with the record it affected and the fix applied. That log becomes the evidence that the replacement matches the old behavior, and it is the list a consumer owner will ask for when they sign off the switch.

Revoke access and rotate the credentials the interface used

When no consumer depends on the interface, close the access it held. The goal is that the interface cannot authenticate again, even if someone restores its configuration. Record the date each item below was done, and assign the change to the team that owns the integration user.

  • Inventory each credential the interface used, including the integration user, client secrets, certificates, access tokens, and any stored passwords.
  • Remove the permissions the integration user received for this interface, after checking whether any of them are shared with other integrations.
  • Revoke tokens and certificates tied to this interface.
  • Rotate shared secrets that other integrations also use, after those integrations have moved to new secrets. Rotating a shared secret early breaks live traffic.
  • Deactivate the integration user when no other process uses it, and note which team approved the change.

Shared accounts cause trouble here. An integration user that serves two interfaces can lose access for the wrong reason if you remove permissions for one of them. Check the account’s full use across all interfaces before changing it, and have a second person confirm the list.

Record the result of this check on the ticket, including the other interfaces the account was found to serve. If the account serves an interface that is still live, leave the account in place, remove just the permissions that belonged to the retired interface, and review the account again at the next scheduled access review.

Archive configuration, logs and sample records before removal

Removal erases the working copy of the interface, so take a record of it first. A good archive lets someone answer three questions later: what the interface did, which systems it served, and when it stopped.

  • Export the configuration, including field mappings, transformation rules, schedules, and endpoint definitions.
  • Save the logs for the full period the interface was live, or for the retention period your audit requirements set.
  • Keep representative sample payloads for each message type, along with a short note on how errors were handled.
  • Write a closing note that names the replacement path for each former consumer and the date each switch happened.

Store the archive somewhere the team can still reach after the live environment changes. Give it an owner and an expiry date. Open one file from each category before you move on, because an archive nobody can read does not help during an audit.

Decide before you start how long the archive must stay readable. If the retention period runs longer than any copy of the logs you can still reach in the live environment, the archive becomes the sole record, so it needs the same care as the production data it came from.

Remove the interface after an inactive period with no reported failures

Removal comes last, and it works best as a two-step change. Deactivate the interface first and leave it inactive through the longest business process it touched. The inactive period is when a forgotten consumer shows itself, usually as a failed job, a support ticket, or an error alert.

  1. Deactivate the interface and any scheduled jobs that call it.
  2. Watch the error channels, the support queue, and the job logs for calls that fail.
  3. If a consumer fails, return to the replacement step for that consumer before anything else. Do not reactivate the interface for the whole group.
  4. Delete the interface definition, its mappings, and its scheduled jobs once the inactive period closes without a reported failure.
  5. Update the integration inventory and the architecture diagram so the retired interface no longer appears as active.

A retired interface still listed as active can get picked up by the next audit or architecture review, and someone then spends time chasing it. Updating the inventory is part of the change, not a follow-up task.

Assign one owner and one reviewer for each stage

A decommission tends to stall when nobody owns the decision. Name one owner for each stage on the ticket. The interface owner usually runs the work, each consumer owner confirms the switch, and a reviewer outside the delivery team checks the access changes and the archive. Keep the reviewer separate from the person who made the change.

If no internal team can hold these roles, the dedicated Salesforce delivery teams page is the next place to look. For help planning this work, see Salesforce implementation.

Questions about retiring a Salesforce interface with live consumers

What should happen when a consumer cannot move before the retirement date?

Hold the interface in place with a named owner and a review date, or agree a temporary manual process with the consumer owner and write down that it replaces the interface. Either way, the retirement date moves with the consumer, not the other way round.

How long should the interface stay inactive before deletion?

Tie the window to the longest business process the interface supported, such as a month-end close, a quarterly report, or an annual filing, rather than to a fixed number of days. A short window that misses the one process that runs once a year gives false comfort.

Do logs need to be kept after the interface is deleted?

Keep them for as long as your audit and retention rules require for the data the interface handled. Logs that contain personal data usually fall under the same retention rules as the records they describe, so confirm the period with the owner of that data before you schedule any deletion.

Can the revocation stage run during a release freeze?

Treat the revocation as a change to access, and schedule it through your normal change process. Some freeze policies treat removing access as a change, so check the policy text before assuming it is exempt. If a freeze applies, do the consumer switch-over inside an ordinary change window and move the revocation and deletion stages past the freeze.

What if a consumer reports an error after the interface is removed?

Rebuild the interface from the archived configuration if the replacement path cannot cover the need in the meantime. Then record which consumer was missed, why the earlier checks did not show it, and what the team will check next time. Rebuilding is a new change, so it goes through the same approvals as the original retirement.