To review ServiceNow incidents beside Salesforce renewals, map incidents to commercial accounts through an approved relationship, then summarize each system separately to one row per account before joining. Joining incidents directly to renewals repeats the renewal amount once per incident and inflates exposure. Present the output as a review queue with the rule shown. Incident volume beside a renewal date is an association to discuss, and without validation against past outcomes it is not a churn prediction.
The mistake that makes the first version look alarming
The first draft of this report usually joins incidents to open renewal opportunities on account and sums the amount. Synthetic example: an account has a 100,000 renewal and three qualifying incidents. The join yields three rows, the sum says 300,000, and across a portfolio the at-risk figure comes out several times larger than total renewals due. Somebody notices, or worse, nobody does.
Summarize first. One query produces one row per account for renewals. Another produces one row per account for incidents. Join those two, so the renewal amount appears once and the incident count sits beside it. Accounts with several renewals force a choice between reviewing the account and reviewing each opportunity, and that choice changes how you rank.
-- Salesforce: renewal exposure per account
SELECT AccountId, SUM(Amount) renewal_amount, MIN(CloseDate) next_renewal
FROM Opportunity
WHERE IsClosed = false
AND Is_Renewal__c = true
AND CloseDate >= 2026-11-01 AND CloseDate <= 2027-01-31
GROUP BY AccountId
# ServiceNow Table API: open high-priority incidents with a company
GET /api/now/table/incident
?sysparm_query=active=true^priority<=2^companyISNOTEMPTY^ORDERBYDESCopened_at
&sysparm_fields=number,company,priority,opened_at,resolved_at
-- Your layer: map company to account, count per account, then join
-- to the renewal rows. Never sum the amount after the join.Who was affected is harder than it looks
The company field on an incident is the easy route, and it answers only part of the question. The record shows who reported the issue or which company was entered, and that may be neither the party that felt the impact nor the party that holds the contract. A reseller may raise a ticket on behalf of an end customer. An internal platform incident may affect dozens of customers while carrying no company at all, and it won’t appear in this report even if it was the worst week of the year.
Decide what qualifies an account, and write it down with an owner on each side: customer success owns which renewals count, service operations owns which incidents count, and someone owns the mapping between ServiceNow companies and Salesforce accounts. Agree on the level as well, since a child account on the renewal and a parent company on the incident will fail to match unless your mapping handles hierarchy deliberately.
Report the unmapped share as a number. Synthetic example: with 14 percent of qualifying incidents unmapped, a clean-looking queue is missing roughly one incident in seven. Readers should know that before concluding an account is quiet.
Choosing the incident signal
Count alone is weak. Ten low-priority questions and one outage aren’t comparable, and a customer who raises many tickets is sometimes your most engaged one. A workable rule combines priority, a time window that ends at a stated date, and a duration or SLA condition. Write it so a person can apply it by hand to a single incident and reach the same result.
Adding SLA performance means being careful with the clock. ServiceNow task SLA records carry both actual and business elapsed time. Its documentation gives the case of an incident opened Friday at 9 pm and checked Monday at 9:30 am: on an 8 to 5 weekday schedule it shows 1 hour 30 minutes of business time, against 60 hours 30 minutes of actual time. A customer doesn’t experience a business schedule. Your SLA report may use one anyway, and that’s fine, provided nobody reads business elapsed hours as how long the customer waited.
Reporting on SLAs also adds a second fan-out, since an incident can carry several task SLA records. Counting joined rows can turn one incident into several apparent failures. And community-reported behavior worth testing in your instance: the has_breached flag and the stage field on task SLA records may not change at the same moment, and ServiceNow’s knowledge base describes grouping by has_breached in a database view producing incorrect results with an extra group for empty SLA references.
I’d ship a queue and no score
The temptation is to weigh these signals into a health score and show it on the account page. I would not ship that. A score implies you know how the inputs relate to the outcome, and nothing in this report tested that. Accounts renew through painful quarters, and accounts leave for reasons found in neither system, such as a budget cut or a new executive. Calling a sorted list a risk score borrows authority it hasn’t earned.
A real predictive signal can be tested later. Take renewals from past periods, reconstruct the incident signal as it stood before each renewal date, and compare outcomes between flagged and unflagged accounts. Do this with enough accounts to tell a difference from noise, and watch for the confound that larger accounts both raise more tickets and renew differently. Until that work is done, describe the output as accounts worth a conversation.
The queue also needs a feedback path. Ask the account owner to mark each row as already known, new and useful, or irrelevant. After two cycles, you have evidence on whether the rule earns its place. Mostly already known means the report is confirming what account owners knew, and you can tighten it or retire it.
Access and sensitive text
A person allowed to see a renewal amount is not automatically allowed to read an incident’s work notes, and those fields can contain personal or operationally sensitive details. Decide up front what crosses over. Often the customer success view needs the incident number, priority, dates and service, and links back to ServiceNow for anything further, where ServiceNow’s own access rules apply.
ServiceNow’s Table API returns database values by default, and display values only when sysparm_display_value is set. Reference fields and choice lists such as company and priority are affected, so check what comes back in your instance before mapping it. Its documentation warns that display values can hurt performance, so fetch what you need. Use sysparm_query only on the multiple-record GET, the one endpoint that accepts it.
Cases built to fail
Evaluating an analytics product on this question, include cases designed to fail: an account with one renewal and five incidents, a parent company whose subsidiary raised the incident while the parent holds the renewal, an incident with no company, and an unaffected account sharing a parent with an affected one. Check that the renewal amount stays single-counted, the affected scope doesn’t expand without notice, and the output labels the result as a review signal. Ask the tool why each account was included. A confident cause for churn counts as a failure.
Hold us to the same cases. Our supported sources are listed in our catalog at https://nexatron.io/connectors.
Bring three business questions
Explore your sources, definitions, and review criteria with our team. Please keep credentials and sensitive records out of the inquiry.