OBLYTECH Logo
OBLYTECH Logo

Duplicate Workflow Detection Across Salesforce and ServiceNow

When Salesforce and ServiceNow both run an automation that opens the same work item, staff end up with two tickets for one problem. A duplicate workflow review inventories both sides, matches the overlapping triggers, keeps one automation and retires the other. The steps below cover each stage.

Inventory every automation that creates work on each side

Start with a list rather than a diagnosis. Write down each automation on each platform that creates, updates or closes a work item. Include scheduled jobs and inbound integrations, because they often produce the second copy without anyone noticing. Leave out automations that send notifications without writing to a work item.

Each inventory row should carry the following details:

  • The platform and the automation name as its owner knows it
  • The trigger, such as a record change, a schedule or an inbound message
  • The business object it reads and the work item type it creates
  • The team or person who maintains its logic
  • The date someone last changed its logic

Sales-side automations are easier to list when the sales process has already been mapped. If that mapping does not exist yet, sales workflow design is a sensible reference for the stages each automation should sit in. Service-side automations follow the same pattern, so check the service workflow design for the handoff points before you add those rows.

Assigning an owner on each side before the review starts

Each platform needs one named person who can answer questions about its automations, decide what changes on that side and approve a retirement. Without that person, the review stalls at the first disagreement about which automation is the real one. Ask each side to name an owner in writing, along with a backup for absences.

The owner does not need to read each automation’s logic in full. They need to know which team relies on each work item, which automations feed it and what that team does when an item arrives twice. That last point often reveals the duplicate before matching begins, because the receiving team may already have built a workaround, such as closing one of the two items by hand.

Matching the same work item across both platforms

Two automations are duplicates when they respond to the same business event and open a work item that stands for the same piece of work. Matching by name is weak. Two automations named “Escalate priority 1” can do different things, and two differently named automations can collide on the same event. Compare the trigger condition, the fields that identify the customer or asset, and the outcome. A match on trigger and outcome is a duplicate candidate. A match on one of them alone is a dependency to note.

Consider a simple case. A Salesforce automation opens a follow-up task when an account renewal date passes without a signed order. A ServiceNow automation opens a task for the same renewal when the finance side flags the order as late. The triggers differ, but both produce a follow-up for the same customer and the same renewal. That pair is a duplicate candidate, and a shared renewal identifier stored on both records would confirm it.

The cross-platform part needs a shared key. Many teams carry a reference from one system into the other, such as a case number stored on the ServiceNow ticket or a ServiceNow reference stored on the Salesforce record. If no reference exists, matching falls back to customer, asset and timestamp, which produces false positives. Treat a match without a shared key as a candidate for review rather than as proof of a duplicate.

Settle the ownership question before comparing triggers. A duplicate often traces back to two teams drawing the boundary between platforms in different places, so check the ServiceNow and Salesforce workflow boundaries guidance first. Once each event has a single intended owner, the trigger comparison becomes a straightforward check.

Deciding which automation to keep

Score each candidate pair against the same questions before anyone argues for their own platform. Write the criteria down before opening the pairs, because teams that score after seeing them tend to favor the automation they built. Work through these criteria in order:

  1. Keep the automation on the platform that owns the work item’s lifecycle after it opens.
  2. Keep the automation that validates required fields and approvals more completely.
  3. Keep the automation the receiving team can monitor without a second tool.
  4. When the first three criteria tie, keep the automation with the shorter path from trigger to outcome.

Record the reason for each decision beside the inventory row. A retirement that nobody can explain months later tends to be reversed the next time someone trips over the old behavior. If a recurring duplicate-record review already exists, add automation overlap to its agenda. A data steward duplicate review routine is one way to schedule that check.

Retiring the duplicate without losing open work

Retiring an automation changes live work, so sequence the steps. Work items the retiring automation already opened still need an owner, and the switch should not leave them stranded.

  1. Freeze changes to both candidate automations for the length of the review.
  2. List the open work items created by the automation to be retired. Decide for each one whether it closes where it is or transfers to the kept automation.
  3. Run the kept automation in a test scope, or with its output flagged, so the parallel run does not add live duplicates. Compare the work items each automation produces for the same triggers.
  4. Deactivate the retiring automation rather than deleting it, so its logic can be restored if a gap appears.
  5. Update the inventory and tell the owning teams which work item types now come from a single source.

Keep a short cutover log while the switch happens. Record the time the retiring automation was deactivated, the open items that were transferred and the person who approved each step. If a team reports a missing item later, the log shows which side handled that work at that moment. Without it, the team reconstructs the timeline from memory, which is slow and often wrong.

For help planning this work, see Salesforce implementation.

Checks to run after the change

Confirm that the retirement worked on both sides. A quiet queue does not prove the overlap is gone, so check the output rather than the absence of complaints.

  • Pick a sample of recent triggers that previously produced both work items and confirm that a single item now appears.
  • Check that open items from the retired automation have an owner and a closing path.
  • Confirm that the kept automation writes the shared reference, so later matching still works.
  • Set a date for the next overlap review, tied to the next change to either platform’s automations.

Give the check a fixed window. A first pass often runs over two weeks of normal volume, but the right length depends on how often the triggers fire. Automations with low volume may need a longer window before a gap shows up, and a monthly job needs at least one full cycle before anyone can call it tested.

Keep the inventory in one place that both platform teams can read. A duplicate that returns usually came back through an automation that nobody added to that list.

Questions about running a duplicate workflow review

How often should the review run?

Run a review when either platform adds an automation that writes to a work item type the other platform already handles. A quarterly pass is a reasonable starting point, adjusted to how often automations change on each side.

Who signs off before an automation is retired?

The owner of the automation being retired and the owner of the work item on the receiving side both need to agree. If one team owns both sides, one sign-off can cover the change, but the decision still needs a dated record.

What if the overlap is intentional?

Some overlap is by design, for example when one automation handles an internal escalation and the other informs an outside party. Document the purpose, mark the pair as a deliberate split in the inventory and set a date to recheck it. Removing a deliberate overlap breaks a process someone depends on.

What should a review cover if only one platform is in scope?

A one-sided review still has value. Inventory the automations on the platform you own, then list the external automations that write into it. Treat those external automations as the other side of each match and record them in the same inventory, even if another team maintains them.

Does the review need a separate tool?

Not necessarily. A spreadsheet with the inventory columns, a shared reference field and a dated decision log covers a modest number of automations. A dedicated tool becomes worth considering when manual comparison takes longer than the changes it is meant to prevent.